Class GeoPlatform
java.lang.Object
ubic.gemma.core.loader.expression.geo.model.GeoData
ubic.gemma.core.loader.expression.geo.model.GeoPlatform
- All Implemented Interfaces:
Serializable
Bean describing a microarray platform in GEO
- Author:
- pavlidis
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddToColumnData(String columnName, String value) Add a value to a column.voidvoidaddToOrganisms(String org) static StringalternativeToProperAffyPlatform(String geoPlatformId) getColumnData(String columnName) getColumnData(Collection<String> columnNames) getId()static booleanisAffymetrixExonArray(String geoPlatformId) static booleanisAffyPlatform(String geoPlatformId) static booleanisGEOAffyDataUsable(String geoPlatformId) Refers to a list of platforms for which the data from GEO is usually not usable and/or which we always reanalyze from CEL files - exon arrays.booleanvoidsetCatalogNumbers(Collection<String> catalogNumbers) voidsetCoating(String coating) voidsetContributer(Collection<String> contributer) voidsetDescription(String description) voidsetDistribution(String distribution) voidvoidsetLastUpdateDate(String lastUpdateDate) voidsetManufactureProtocol(String manufactureProtocol) voidsetManufacturer(String manufacturer) voidsetOrganisms(Collection<String> organism) voidsetPlatformData(List<List<String>> platformData) voidsetPubMedIds(Collection<Integer> pubMedIds) voidvoidvoidsetSubmissionDate(String submissionDate) voidsetSupplementaryFile(String supplementaryFile) voidsetSupport(String support) voidsetTechnology(GeoDataset.PlatformType technology) voidsetUseDataFromGEO(boolean b) Normally only set this if "false".voidsetWebLink(String webLink) voidsetWebLinks(Collection<String> webLinks) booleanMethods inherited from class ubic.gemma.core.loader.expression.geo.model.GeoData
addColumnName, addRelation, equals, getColumnDescriptions, getColumnNames, getContact, getGeoAccession, getRelations, getTitle, hashCode, setContact, setGeoAccession, setRelations, setTitle, toString
-
Constructor Details
-
GeoPlatform
public GeoPlatform()
-
-
Method Details
-
isAffymetrixExonArray
- Parameters:
geoPlatformId- (GPL)- Returns:
- true if we know this to be an exon array - so far as we know.
-
alternativeToProperAffyPlatform
- Parameters:
geoPlatformId- (GPL)- Returns:
- short name (GPLXXXX) of platform we would actually use, or null if not found
-
isAffyPlatform
- Parameters:
geoPlatformId- (GPL)- Returns:
- true if we recognize it as an Affymetrix platform. Depends on our mappings, if an error is spotted let us know.
-
isGEOAffyDataUsable
Refers to a list of platforms for which the data from GEO is usually not usable and/or which we always reanalyze from CEL files - exon arrays.Logic: if this was run on an Affymetrix exon array we won't use the data from GEO, even if it was already using the gene-level version of the platform, because there are several variant versions that just muck up the system with useless probes (we have gone back and forth on this a bit...)
Note that we endeavour to reanalyze all Affy data sets at the CEL file level.
- Parameters:
geoPlatformId- (GPL)- Returns:
- true if the platform is affymetrix exon array.
-
getId
-
setId
-
getStatus
-
setStatus
-
getSubmissionDate
-
setSubmissionDate
-
getWebLink
-
setWebLink
-
getPlatformInformation
-
isUseDataFromGEO
public boolean isUseDataFromGEO() -
addToColumnData
Add a value to a column. A special case is when the column is of the probe ids (design element name).- Parameters:
columnName- column namevalue- value
-
addToDescription
- Parameters:
s- description
-
addToOrganisms
- Parameters:
org- organisation
-
getCatalogNumbers
- Returns:
- Returns the catalogNumbers.
-
getCoating
- Returns:
- Returns the coating.
-
getColumnData
- Parameters:
columnNames- column names- Returns:
- List of Lists of Strings
-
getColumnData
-
getContributer
- Returns:
- Returns the contributer.
-
getDescription
- Returns:
- Returns the description.
-
getDescriptions
- Returns:
- Returns the descriptions.
-
getDesignElements
-
getDistribution
- Returns:
- Returns the distribution.
-
getIdColumnName
- Returns:
- the name of the column that has the 'ids' for the design elements on this platform. Usually this is "ID".
-
getLastUpdateDate
- Returns:
- String
-
getManufactureProtocol
- Returns:
- Returns the manufactureProtocol.
-
getManufacturer
- Returns:
- Returns the manufacturer.
-
getOrganisms
- Returns:
- Returns the organisms.
-
getPlatformData
- Returns:
- Returns the platformData.
-
getProbeNamesInGemma
-
getPubMedIds
- Returns:
- Returns the pubMedIds.
-
getSample
- Returns:
- String
-
getSupplementaryFile
- Returns:
- String
-
getSupport
- Returns:
- Returns the support.
-
getTechnology
- Returns:
- Returns the technology.
-
getWebLinks
- Returns:
- Returns the webLinks.
-
setCatalogNumbers
- Parameters:
catalogNumbers- The catalogNumbers to set.
-
setCoating
- Parameters:
coating- The coating to set.
-
setContributer
- Parameters:
contributer- The contributer to set.
-
setDescription
- Parameters:
description- The description to set.
-
setDistribution
- Parameters:
distribution- The distribution to set.
-
setLastUpdateDate
-
setManufactureProtocol
- Parameters:
manufactureProtocol- The manufactureProtocol to set.
-
setManufacturer
- Parameters:
manufacturer- The manufacturer to set.
-
setOrganisms
-
setPlatformData
- Parameters:
platformData- The platformData to set.
-
setPubMedIds
- Parameters:
pubMedIds- The pubMedIds to set.
-
setSample
-
setSupplementaryFile
-
setSupport
- Parameters:
support- The support to set.
-
setTechnology
- Parameters:
technology- The technology to set.
-
setUseDataFromGEO
public void setUseDataFromGEO(boolean b) Normally only set this if "false". Default is true, but will be overridden for certain typs of platforms such as MPSS (rna-seq), SAGE or Exon arrays.- Parameters:
b- new value
-
setWebLinks
- Parameters:
webLinks- The webLinks to set.
-
useDataFromGeo
public boolean useDataFromGeo()- Returns:
- true if the data uses a platform that, generally, we can use the data from, if available. Will be false for MPSS, SAGE and transcript- or exon- level exon array data. Note that sometimes this will result in us not using data that was sort of okay - for example, an alternative CDF/MPS version of an Affy Exon array at the gene level. But we'd want to reanalyze it from the official CDF/MPS anyway.
-