Class GeoSourceMetadataBuilder.ExperimentIdentity

java.lang.Object
ubic.gemma.core.loader.expression.geo.GeoSourceMetadataBuilder.ExperimentIdentity
Enclosing class:
GeoSourceMetadataBuilder

public static class GeoSourceMetadataBuilder.ExperimentIdentity extends Object
Identity of the experiment the document is being written for.

These cannot be read from the GeoSeries: experimentId does not exist until the experiment is persisted, and shortName is the only thing distinguishing split sub-series from one another — SplitExperimentServiceImpl puts the .1 in shortName alone and cloneAccession copies the GEO accession verbatim, so siblings share both accession and series text.

Author:
Gemma
  • Constructor Details

    • ExperimentIdentity

      public ExperimentIdentity(String shortName, @Nullable Long experimentId, boolean splitSubseries, @Nullable Set<String> sampleAccessions)
      Parameters:
      sampleAccessions - GSM accessions actually belonging to this experiment, or null for "all of the series". This MUST be supplied for a split sub-series: the parsed GeoSeries holds every sample in the GEO family, and siblings share both accession and series text, so serializing the series wholesale would give each sibling a sample list containing the other's samples.