Class ProbeSequenceParser
java.lang.Object
ubic.gemma.core.loader.util.parser.BasicLineMapParser<String, BioSequence>
ubic.gemma.core.loader.genome.ProbeSequenceParser
- All Implemented Interfaces:
- LineParser<BioSequence>, Parser<BioSequence>
Parse probes from a tabular file. First columnn = probe id; Second column = sequence name; Third column = sequence.
This is designed primarily to deal with oligonucleotide arrays that have sequence names different from the probe
names.
- Author:
- paul
- 
Field SummaryFields inherited from class BasicLineMapParserCOMMENT_MARK, logFields inherited from interface LineParserMIN_PARSED_LINES_FOR_UPDATE, PARSE_ALERT_TIME_FREQUENCY_MSFields inherited from interface ParserPARSE_ALERT_FREQUENCY
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleancontainsKey(String key) protected StringgetKey(BioSequence newItem) voidparse(InputStream is) Parse aInputStream.parseOneLine(String line) Handle the parsing of a single line from the input.protected voidput(String key, BioSequence value) Methods inherited from class BasicLineMapParserparse, parseMethods inherited from class Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ParsergetUniqueResult
- 
Constructor Details- 
ProbeSequenceParserpublic ProbeSequenceParser()
 
- 
- 
Method Details- 
containsKey- Specified by:
- containsKeyin class- BasicLineMapParser<String, BioSequence>
 
- 
get- Specified by:
- getin class- BasicLineMapParser<String, BioSequence>
 
- 
getKeySet- Specified by:
- getKeySetin class- BasicLineMapParser<String, BioSequence>
 
- 
getResults- Specified by:
- getResultsin interface- Parser<BioSequence>
- Specified by:
- getResultsin class- BasicLineMapParser<String, BioSequence>
- Returns:
- the results of the parse.
 
- 
parseDescription copied from interface:ParserParse aInputStream.- Specified by:
- parsein interface- Parser<BioSequence>
- Overrides:
- parsein class- BasicLineMapParser<String, BioSequence>
- Parameters:
- is- input stream
- Throws:
- IOException- if there is a problem while manipulating the file
 
- 
parseOneLineDescription copied from interface:LineParserHandle the parsing of a single line from the input.- Specified by:
- parseOneLinein interface- LineParser<BioSequence>
- Specified by:
- parseOneLinein class- BasicLineMapParser<String, BioSequence>
- Parameters:
- line- line to parse
- Returns:
- parsed object
 
- 
getKey- Specified by:
- getKeyin class- BasicLineMapParser<String, BioSequence>
 
- 
put- Specified by:
- putin class- BasicLineMapParser<String, BioSequence>
 
 
-