|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectutil.bio.parsers.gff.Gff3Parser
For parsing a GFF3 text file into GFF3Feature objects, be sure to set the regExTypes String filter to match which types you want to save!
Constructor Summary | |
Gff3Parser()
|
|
Gff3Parser(java.io.File GFF3File)
|
Method Summary | |
Gff3Feature[][] |
getChromSplitFeatures()
Returns the features split by chromosome. |
Gff3Feature[] |
getFeatures()
|
java.io.File |
getGFFFile()
|
java.lang.String |
getRegExTypes()
|
static void |
main(java.lang.String[] args)
|
boolean |
parseIt(java.io.File GFF3File)
|
boolean |
printNotes()
|
void |
setGFFFile(java.io.File file)
|
void |
setPrintNotes(boolean printNotes)
|
void |
setRegExTypes(java.lang.String regExTypes)
Use something like -> gene|ncRNA|snoRNA|tRNA|rRNA|transposable_element|pseudogene|CDS|mRNA|exon Only those gff lines with a type matching this regular expression will be made into GFF3Feature's. |
void |
setRelax(boolean relax)
|
void |
subtractOneFromFeatures()
Subract one from start and end of each feature. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Gff3Parser(java.io.File GFF3File)
public Gff3Parser()
Method Detail |
public boolean parseIt(java.io.File GFF3File)
public void subtractOneFromFeatures()
public Gff3Feature[][] getChromSplitFeatures()
public static void main(java.lang.String[] args)
public Gff3Feature[] getFeatures()
public java.io.File getGFFFile()
public void setGFFFile(java.io.File file)
public boolean printNotes()
public void setPrintNotes(boolean printNotes)
public java.lang.String getRegExTypes()
public void setRegExTypes(java.lang.String regExTypes)
public void setRelax(boolean relax)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |