Enum Class GeoLibraryStrategy
- All Implemented Interfaces:
Serializable, Comparable<GeoLibraryStrategy>, Constable
library_strategy controlled vocabulary, as GEO reports it in
!Sample_library_strategy.
🛑 Completeness is the point, not tidiness. GeoFamilyParser THROWS on a value it does not
recognize, and it does so deliberately: the alternative — folding the unknown into OTHER — would
be unsafe, because OTHER is one of the three strategies GeoConverterImpl ALLOWS through as
expression data. An unrecognized chromatin or genomic assay would then be imported as if it were RNA. So a
missing constant costs an import failure, and the fix for that is to list the value, never to widen the
fallback.
The vocabulary below is SRA's, plus the two single-cell spellings GEO adds on its own
(scRNA-Seq, snRNA-Seq).
⚠️ Naming an assay here does not admit it. GeoConverterImpl accepts only RNA_SEQ,
SSRNA_SEQ and OTHER (with libSource == TRANSCRIPTOMIC); everything else is
recognized in order to be REFUSED with a reason rather than to crash.
⚠️ RIBO_SEQ will match fewer samples than its name suggests. Ribosome profiling is usually
submitted as OTHER — GSE288755's samples are titled … Ribo-seq replicate #1 and
… TCP-seq replicate 1 while their library_strategy reads OTHER — so the constant is
here for series that DO declare it, not to reclassify the ones that do not.
- Author:
- gembro
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription🛑 Spelled MDB rather than MBD.GEO's own, not SRA's.GEO's own, not SRA's. -
Method Summary
Modifier and TypeMethodDescriptionstatic GeoLibraryStrategyResolve GEO's spelling, case-insensitively.static GeoLibraryStrategyReturns the enum constant of this class with the specified name.static GeoLibraryStrategy[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
RNA_SEQ
-
SSRNA_SEQ
-
MIRNA_SEQ
-
NCRNA_SEQ
-
RIBO_SEQ
-
FL_CDNA
-
EST
-
RIP_SEQ
-
SCRNA_SEQ
GEO's own, not SRA's. -
SNRNA_SEQ
GEO's own, not SRA's. -
ATAC_SEQ
-
BISULFITE_SEQ
-
CHIA_PET
-
CHIP_SEQ
-
CHM_SEQ
-
DNASE_HYPERSENSITIVITY
-
FAIRE_SEQ
-
HI_C
-
MDB_SEQ
🛑 Spelled MDB rather than MBD. Only the Java constant is misspelled;getGeoString()returns GEO'sMBD-Seq, and that is what reachesBIO_ASSAY.LIBRARY_STRATEGY. -
MEDIP_SEQ
-
MNASE_SEQ
-
MRE_SEQ
-
NOME_SEQ
-
TETHERED_CHROMATIN_CONFORMATION_CAPTURE
-
WGS
-
WGA
-
WXS
-
WCS
-
AMPLICON
-
TARGETED_CAPTURE
-
RAD_SEQ
-
GBS
-
CLONE
-
CLONEEND
-
POOLCLONE
-
FINISHING
-
SYNTHETIC_LONG_READ
-
CTS
-
TN_SEQ
-
SELEX
-
VALIDATION
-
OTHER
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getGeoString
- Returns:
- the spelling GEO uses in
!Sample_library_strategy
-
fromGeoString
Resolve GEO's spelling, case-insensitively.- Returns:
- the matching constant, or
nullwhen the vocabulary does not contain it — the caller decides what an unknown value means, andGeoFamilyParsertreats it as fatal
-