Package ubic.gemma.core.loader.genome
Class FastaParser
java.lang.Object
ubic.gemma.core.loader.util.parser.RecordParser<BioSequence>
ubic.gemma.core.loader.genome.FastaParser
- All Implemented Interfaces:
- Parser<BioSequence>
FASTA sequence file parser. Results are in BioSequence objects. Parsing a single record
- Author:
- pavlidis
- 
Field SummaryFields inherited from class ubic.gemma.core.loader.util.parser.RecordParserlogFields inherited from interface ubic.gemma.core.loader.util.parser.ParserPARSE_ALERT_FREQUENCY
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidAdd an object to the results collection.parseOneRecord(String record) Handle the parsing of a single record from the input.Methods inherited from class ubic.gemma.core.loader.util.parser.RecordParserparse, parse, parse, setRecordSeparatorMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ubic.gemma.core.loader.util.parser.ParsergetUniqueResult
- 
Constructor Details- 
FastaParserpublic FastaParser()
 
- 
- 
Method Details- 
getResults- Specified by:
- getResultsin interface- Parser<BioSequence>
- Specified by:
- getResultsin class- RecordParser<BioSequence>
- Returns:
- the results of the parse.
 
- 
parseOneRecordDescription copied from class:RecordParserHandle the parsing of a single record from the input.- Specified by:
- parseOneRecordin class- RecordParser<BioSequence>
- Parameters:
- record- record
- Returns:
- parsed object
 
- 
addResultDescription copied from class:RecordParserAdd an object to the results collection.- Specified by:
- addResultin class- RecordParser<BioSequence>
- Parameters:
- obj- object
 
 
-