|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.snver.pileup.meta.SnverMeta
public class SnverMeta
Position based countable object for result Created by IntelliJ IDEA. User: weicheng hu Date: 10/27/11 Time: 4:44 PM
| Constructor Summary | |
|---|---|
SnverMeta()
Null parameter constructor |
|
SnverMeta(java.lang.String name,
int index,
char ref,
int indel,
java.lang.String seq,
java.lang.String score)
Constructor |
|
| Method Summary | |
|---|---|
int |
compareTo(SnverMeta snverMeta)
|
java.lang.String |
getChromosome()
Get chromosome name |
double |
getCorrectedWeitghtedErrorEstimate(int correct)
|
int |
getCount(char base)
Return the count number of base from both sequence |
double |
getErrorEstimate()
Return estimated error |
int |
getForwardBaseNum(char base)
Get the base count from forward sequence |
char |
getGnomeChar(int i)
Return the base character |
int |
getIndel()
Retunr the indel number |
int |
getIndex()
Get the index of chromosome |
char |
getMostAltBase()
Get the mose alt base |
char |
getMostBase()
Get the mose base including ref, if indel is most, return 0 |
double |
getRatio()
Return the alt/ref ratio |
java.lang.String |
getRatioString()
Return the alt/ref type |
char |
getRef()
Get reference |
int |
getReverseBaseNum(char base)
Get the base count from reverse sequence |
int |
getTotal()
Return the total number of base, not including indel |
boolean |
isEmpty()
Check is empty |
boolean |
isNoAlternate()
Deprecated. |
boolean |
isOnlyRef()
Check there is only ref |
boolean |
isReference(char base)
Check the base is a ref |
java.lang.String |
printCount()
Print count information |
java.lang.String |
printVcfObject(java.io.PrintWriter out)
Deprecated. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SnverMeta(java.lang.String name,
int index,
char ref,
int indel,
java.lang.String seq,
java.lang.String score)
name - Stringindex - intref - charindel - intseq - Stringscore - Stringpublic SnverMeta()
| Method Detail |
|---|
public java.lang.String getChromosome()
public int getIndex()
public char getRef()
public double getErrorEstimate()
public double getCorrectedWeitghtedErrorEstimate(int correct)
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String printCount()
@Deprecated
public java.lang.String printVcfObject(java.io.PrintWriter out)
throws org.apache.commons.math.MathException
org.apache.commons.math.MathExceptionpublic char getMostAltBase()
public char getMostBase()
@Deprecated public boolean isNoAlternate()
public boolean isEmpty()
public int getForwardBaseNum(char base)
base - char
public int getReverseBaseNum(char base)
base - char
public boolean isReference(char base)
base - char
public int getCount(char base)
base -
public int getTotal()
public int compareTo(SnverMeta snverMeta)
compareTo in interface java.lang.Comparable<SnverMeta>public java.lang.String getRatioString()
public double getRatio()
public char getGnomeChar(int i)
i - int
public int getIndel()
public boolean isOnlyRef()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||