Class GeoFamilyParser
java.lang.Object
ubic.gemma.core.loader.expression.geo.GeoFamilyParser
- All Implemented Interfaces:
Parser<GeoParseResult>
Class for parsing GSE and GDS files from NCBI GEO. See
ncbi geo for format information.
- Author:
- keshav, pavlidis
-
Field Summary
Fields inherited from interface Parser
PARSE_ALERT_FREQUENCY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic GeoSeriesTypeconvertStringToSeriesType(String string) See also GeoDataset.convertStringToExperimentTypevoidParse aFilevoidparse(InputStream is) Parse aInputStream.voidParse a file identified by its path.voidsampleTypeSet(String accession, String string) voidsetMetadataOnly(boolean b) Parse records that carry no data and no platform, as GEO'sview=briefseries and sample records do.voidsetProcessPlatformsOnly(boolean b) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Parser
getUniqueResult
-
Constructor Details
-
GeoFamilyParser
public GeoFamilyParser()
-
-
Method Details
-
getResults
- Specified by:
getResultsin interfaceParser<GeoParseResult>- Returns:
- the results of the parse.
-
parse
Description copied from interface:ParserParse aFile- Specified by:
parsein interfaceParser<GeoParseResult>- Parameters:
f- file- Throws:
IOException- if there is a problem while manipulating the file
-
parse
Description copied from interface:ParserParse aInputStream.- Specified by:
parsein interfaceParser<GeoParseResult>- Parameters:
is- input stream- Throws:
IOException- if there is a problem while manipulating the file
-
parse
Description copied from interface:ParserParse a file identified by its path.- Specified by:
parsein interfaceParser<GeoParseResult>- Parameters:
fileName- Absolute path to the file- Throws:
IOException- if there is a problem while manipulating the file
-
sampleTypeSet
-
setProcessPlatformsOnly
public void setProcessPlatformsOnly(boolean b) -
setMetadataOnly
public void setMetadataOnly(boolean b) Parse records that carry no data and no platform, as GEO'sview=briefseries and sample records do.Only the data-table bookkeeping is skipped, because there is nothing for it to describe: a sample's quantitation types are keyed by its platform, and a platform is only attached to a sample when a
^PLATFORMrecord was parsed. Without one, initializing them walks off the end of an empty collection. -
convertStringToSeriesType
See also GeoDataset.convertStringToExperimentType- Parameters:
string- series type string- Returns:
- series type object
-