Class SwissProtParser
java.lang.Object
ubic.gemma.core.loader.util.parser.RecordParser<Object>
ubic.gemma.core.loader.genome.gene.SwissProtParser
This does a very minimal parse of Swissprot records, just to get mRNAs associated with a single protein.
- 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
-
SwissProtParser
public SwissProtParser()
-
-
Method Details
-
getResults
- Specified by:
getResultsin interfaceParser<Object>- Specified by:
getResultsin classRecordParser<Object>- 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<Object>- Parameters:
record- record- Returns:
- parsed object
-
addResult
Description copied from class:RecordParserAdd an object to the results collection.- Specified by:
addResultin classRecordParser<Object>- Parameters:
obj- object
-