Class AgilentScanDateExtractor
java.lang.Object
ubic.gemma.core.analysis.preprocess.batcheffects.BaseScanDateExtractor
ubic.gemma.core.analysis.preprocess.batcheffects.AgilentScanDateExtractor
- All Implemented Interfaces:
ScanDateExtractor
Because agilent makes slides that work with any scanner, the formats are not that predictable. I've seen these so
far:
- GPR format format.
- Agilent scanner files. These start with "TYPE" Example: GSE14466. The second line is "FEPARAMS", the fourth column is "Scan_date". The data are in the third line.
- Author:
- paul
-
Field Summary
FieldsFields inherited from class BaseScanDateExtractor
GENEPIX_DATETIME_HEADER_REGEXP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionextract(InputStream is) static DateFormatEach call returns a freshSimpleDateFormat: SDF is not thread-safe and was previously a shared mutable static field (with per-callsetLenient(true)) — a latent race when multiple platform loads ran concurrently.Methods inherited from class BaseScanDateExtractor
extractGenePix, parseGenePixDateTime, parseISO8601, parseLongFormat, parseStandardFormat
-
Field Details
-
AGILENT_DATE_PATTERN
- See Also:
-
-
Constructor Details
-
AgilentScanDateExtractor
public AgilentScanDateExtractor()
-
-
Method Details
-
newAgilentDateFormat
Each call returns a freshSimpleDateFormat: SDF is not thread-safe and was previously a shared mutable static field (with per-callsetLenient(true)) — a latent race when multiple platform loads ran concurrently. Allocation cost is negligible compared with the surrounding I/O. -
extract
- Throws:
IOExceptionParseException
-