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 Summary
Fields inherited from class ubic.gemma.core.loader.util.parser.RecordParser
logFields inherited from interface ubic.gemma.core.loader.util.parser.Parser
PARSE_ALERT_FREQUENCY -
Constructor Summary
Constructors -
Method Summary
Modifier 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.RecordParser
parse, parse, parse, setRecordSeparatorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ubic.gemma.core.loader.util.parser.Parser
getUniqueResult
-
Constructor Details
-
FastaParser
public FastaParser()
-
-
Method Details
-
getResults
- Specified by:
getResultsin interfaceParser<BioSequence>- Specified by:
getResultsin classRecordParser<BioSequence>- Returns:
- the results of the parse.
-
parseOneRecord
Description copied from class:RecordParserHandle the parsing of a single record from the input.- Specified by:
parseOneRecordin classRecordParser<BioSequence>- Parameters:
record- record- Returns:
- parsed object
-
addResult
Description copied from class:RecordParserAdd an object to the results collection.- Specified by:
addResultin classRecordParser<BioSequence>- Parameters:
obj- object
-