|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.upenn.gloDB.io.FASTAParserFly
public class FASTAParserFly
Parses the header line at the beginning of each sequence. The header line is chopped into substrings at each space (" "). If a substring contains a ":" then it is assumed to be a key:value pair and is added to the attributes field as such. Otherwise, it is added as a value to the 'descriptors' key. An example of a parseable header is:
Constructor Summary | |
---|---|
FASTAParserFly()
|
Method Summary | |
---|---|
java.util.HashMap |
parseHeader(java.lang.String header)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FASTAParserFly()
Method Detail |
---|
public java.util.HashMap parseHeader(java.lang.String header)
parseHeader
in interface FASTAParser
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |