Class NCBIGeneInfo
java.lang.Object
ubic.gemma.core.loader.genome.gene.ncbi.model.NCBIGeneInfo
See ftp://ftp.ncbi.nlm.nih.gov/gene/DATA/README
=========================================================================== gene_info --------------------------------------------------------------------------- This file can be considered as the logical equivalent of ftp://ftp.ncbi.nih.gov/refseq/LocusLink/LL.out tab-delimited one line per GeneID --------------------------------------------------------------------------- tax_id: the unique identifier provided by NCBI Taxonomy for the species or strain/isolate GeneID: the unique identifier for a gene ASN1: geneid --note: for genomes previously available from LocusLink, the identifiers are equivalent Symbol: the default symbol for the gene ASN1: gene->locus LocusTag: the LocusTag value ASN1: gene->locus-tag Synonyms: bar-delimited set of unoffical symbols for the gene dbXrefs: bar-delimited set of identifiers in other databases for this gene. The unit of the set is database:value. chromosome: the chromosome on which this gene is placed map location: the map location for this gene description a descriptive name for this gene type of gene: the type assigned to the gene according to the list of options provided in http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/lxr/source/src/objects/entrezgene/entrezgene.asn Symbol from nomenclature authority: when not '-', indicates that this symbol is from a a nomenclature authority Full name from nomenclature authority: when not '-', indicates that this full name is from a a nomenclature authority Nomenclature status when not '-', indicates the status of the name from the nomenclature authority (O for official, I for interim)
- Author:
- pavlidis
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
See http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/lxr/source/src/objects/entrezgene/entrezgene.asn unknown (0) , 36static enum
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addToDbXRefs
(String dbName, String identifier) void
addToSynonyms
(String synonym) int
getTaxId()
boolean
boolean
void
setChromosome
(String chromosome) void
setDefaultSymbol
(String defaultSymbol) void
setDescription
(String description) void
setDiscontinuedId
(String discontinuedIdForGene) void
setEnsemblId
(String ensemblId) void
void
setGeneType
(NCBIGeneInfo.GeneType geneType) void
setHistory
(NcbiGeneHistory history) void
setLocusTag
(String locusTag) void
setMapLocation
(String mapLocation) void
setNameIsFromAuthority
(boolean nameIsFromAuthority) void
setNomenclatureStatus
(NCBIGeneInfo.NomenclatureStatus nomenclatureStatus) void
setSymbolIsFromAuthority
(boolean symbolIsFromAuthority) void
setTaxId
(int taxId) static NCBIGeneInfo.GeneType
typeStringToGeneType
(String typeString) Convert string to GeneType.
-
Constructor Details
-
NCBIGeneInfo
public NCBIGeneInfo()
-
-
Method Details
-
typeStringToGeneType
Convert string to GeneType. See http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/lxr/source/src/objects/entrezgene/entrezgene.asn- Parameters:
typeString
- type string- Returns:
- gene type
-
addToDbXRefs
-
addToSynonyms
-
getChromosome
- Returns:
- Returns the chromosome.
-
setChromosome
- Parameters:
chromosome
- The chromosome to set.
-
getDbXrefs
- Returns:
- Returns the dbXrefs.
-
getDefaultSymbol
- Returns:
- Returns the defaultSymbol.
-
setDefaultSymbol
- Parameters:
defaultSymbol
- The defaultSymbol to set.
-
getDescription
- Returns:
- Returns the description.
-
setDescription
- Parameters:
description
- The description to set.
-
getDiscontinuedId
- Returns:
- The NCBI gene ID that was 'discontinued' for the gene that match this symbol and taxon. These correspond to the lines in gene_history that have a '-' in the second column. But because we are matching only on the symbol+taxon, we have to be a bit careful using it.
-
setDiscontinuedId
-
getEnsemblId
-
setEnsemblId
-
getGeneId
- Returns:
- Returns the geneId.
-
setGeneId
- Parameters:
geneId
- The geneId to set.
-
getGeneType
- Returns:
- Returns the geneType.
-
setGeneType
- Parameters:
geneType
- The geneType to set.
-
getHistory
- Returns:
- the history
-
setHistory
- Parameters:
history
- the history to set
-
getLocusTag
- Returns:
- Returns the locusTag.
-
setLocusTag
- Parameters:
locusTag
- The locusTag to set.
-
getMapLocation
- Returns:
- Returns the mapLocation.
-
setMapLocation
- Parameters:
mapLocation
- The mapLocation to set.
-
getNomenclatureStatus
- Returns:
- Returns the nomenclatureStatus.
-
setNomenclatureStatus
- Parameters:
nomenclatureStatus
- The nomenclatureStatus to set.
-
getSynonyms
- Returns:
- Returns the synonyms.
-
getTaxId
public int getTaxId()- Returns:
- Returns the taxId.
-
setTaxId
public void setTaxId(int taxId) - Parameters:
taxId
- The taxId to set.
-
isNameIsFromAuthority
public boolean isNameIsFromAuthority()- Returns:
- Returns the nameIsFromAuthority.
-
setNameIsFromAuthority
public void setNameIsFromAuthority(boolean nameIsFromAuthority) - Parameters:
nameIsFromAuthority
- The nameIsFromAuthority to set.
-
isSymbolIsFromAuthority
public boolean isSymbolIsFromAuthority()- Returns:
- Returns the symbolIsFromAuthority.
-
setSymbolIsFromAuthority
public void setSymbolIsFromAuthority(boolean symbolIsFromAuthority) - Parameters:
symbolIsFromAuthority
- The symbolIsFromAuthority to set.
-