public class DBSpecies extends Object implements Species
Modifier and Type | Field and Description |
---|---|
protected TreeSet<String> |
aliases |
protected TreeSet<String> |
allChromosomesRetrieved |
protected TreeSet<String> |
allFragmentsRetrieved |
protected HashMap<String,String> |
assemblyAccessionsByVersion |
protected HashMap<String,String> |
assemblyNamesByVersion |
protected TreeMap<String,TreeMap<String,DAChromosome>> |
chromosomes |
protected String |
commonName |
protected HashMap<String,String> |
comparaNameByVersion |
protected String |
databaseStyleSpeciesName |
protected HashMap<Integer,String> |
dbStyleNameByVersion |
protected TreeSet<String> |
dbVersions |
protected String |
ensemblStablePrefix |
protected TreeMap<String,TreeMap<String,DAAssembledDNASequence>> |
fragments |
protected Integer |
highestDBRelease |
protected String |
mostRecentEnsemblSchemaVersion |
protected Registry |
registry |
protected TreeSet<String> |
schemaVersions |
protected String |
shortName |
protected String |
speciesBinomial |
protected String |
taxonomyID |
protected String |
urlName |
Constructor and Description |
---|
DBSpecies() |
DBSpecies(DBSingleSpeciesCoreDatabase database) |
protected String databaseStyleSpeciesName
protected String speciesBinomial
protected String commonName
protected String mostRecentEnsemblSchemaVersion
protected Integer highestDBRelease
protected String taxonomyID
protected String ensemblStablePrefix
protected TreeMap<String,TreeMap<String,DAChromosome>> chromosomes
protected TreeSet<String> allChromosomesRetrieved
protected TreeSet<String> allFragmentsRetrieved
protected TreeSet<String> dbVersions
protected TreeSet<String> schemaVersions
protected HashMap<String,String> assemblyAccessionsByVersion
protected HashMap<String,String> assemblyNamesByVersion
protected HashMap<String,String> comparaNameByVersion
protected HashMap<Integer,String> dbStyleNameByVersion
public DBSpecies()
public DBSpecies(DBSingleSpeciesCoreDatabase database)
public TreeSet<String> getAliases()
getAliases
in interface Species
public void setProperty(HashMap row)
setProperty
in interface Species
public CoreDatabase getMostRecentCoreDatabase()
getMostRecentCoreDatabase
in interface Species
public String getCommonName()
getCommonName
in interface Species
public String getShortName()
getShortName
in interface Species
public String getDisplayName()
getDisplayName
in interface Species
public void setShortName(String name)
public String getDatabaseStyleName()
getDatabaseStyleName
in interface Species
public TreeSet<? extends DBDatabase> getDatabases()
getDatabases
in interface Species
public void addDatabases(TreeSet<? extends Database> databases)
addDatabases
in interface Species
public void addDatabase(Database database)
addDatabase
in interface Species
public String getEnsemblStablePrefix()
getEnsemblStablePrefix
in interface Species
public String getSpeciesBinomial()
getSpeciesBinomial
in interface Species
public String getTaxonomyID()
getTaxonomyID
in interface Species
public TreeSet<? extends DBDatabase> getDatabasesByType(DatabaseType type)
getDatabasesByType
in interface Species
public TreeSet<? extends DBDatabase> getDatabasesByVersion(String version)
getDatabasesByVersion
in interface Species
public DBDatabase getDatabaseByTypeAndVersion(DatabaseType type, String version)
getDatabaseByTypeAndVersion
in interface Species
public void setCommonName(String commonName)
public void setEnsemblStablePrefix(String ensemblStablePrefix)
public void setSpeciesBinomial(String speciesBinomial)
public void setTaxonomyID(String taxonomyID)
public Integer getDBSpeciesID(String version)
getDBSpeciesID
in interface Species
public Integer getDBSpeciesID()
public String getComparaName(String version)
getComparaName
in interface Species
public void setComparaName(String version, String comparaName)
public TreeMap<String,DAChromosome> getChromosomes() throws DAOException
getChromosomes
in interface Species
DAOException
public TreeMap<String,DAChromosome> getChromosomes(String dbVersion) throws DAOException
getChromosomes
in interface Species
DAOException
public TreeMap<String,DAAssembledDNASequence> getFragments() throws DAOException
getFragments
in interface Species
DAOException
public TreeMap<String,DAAssembledDNASequence> getFragments(String dbVersion) throws DAOException
getFragments
in interface Species
DAOException
public DAChromosome getChromosomeByName(String name) throws DAOException
getChromosomeByName
in interface Species
DAOException
public DAAssembledDNASequence getFragmentByName(String name) throws DAOException
getFragmentByName
in interface Species
DAOException
public DAChromosome getChromosomeByName(String name, String dbVersion) throws DAOException
getChromosomeByName
in interface Species
DAOException
public DAAssembledDNASequence getFragmentByName(String name, String dbVersion) throws DAOException
getFragmentByName
in interface Species
DAOException
public List<DATranscript> getTranscriptsForVegaID(String vegaID) throws DAOException
getTranscriptsForVegaID
in interface Species
vegaID
- DAOException
public List<DATranscript> getTranscriptsForVegaID(String vegaID, String dbVersion) throws DAOException
getTranscriptsForVegaID
in interface Species
vegaID
- dbVersion
- DAOException
public List<DATranscript> getTranscriptsForCcdsID(String ccdsID) throws DAOException
getTranscriptsForCcdsID
in interface Species
DAOException
public List<DATranscript> getTranscriptsForCcdsID(String ccdsID, String dbVersion) throws DAOException
getTranscriptsForCcdsID
in interface Species
ccdsID
- dbVersion
- DAOException
public List<DATranslation> getTranslationsForVegaID(String vegaID) throws DAOException
getTranslationsForVegaID
in interface Species
vegaID
- DAOException
public List<DATranslation> getTranslationsForVegaID(String vegaID, String dbVersion) throws DAOException
getTranslationsForVegaID
in interface Species
vegaID
- dbVersion
- DAOException
public List<DAGene> getGenesForVegaID(String vegaID) throws DAOException
getGenesForVegaID
in interface Species
vegaID
- DAOException
public List<DAGene> getGenesForVegaID(String vegaID, String dbVersion) throws DAOException
getGenesForVegaID
in interface Species
vegaID
- dbVersion
- DAOException
public DAGene getGeneByStableID(String stableID) throws DAOException
getGeneByStableID
in interface Species
DAOException
public DAGene getGeneByStableID(String stableID, String dbVersion) throws DAOException
getGeneByStableID
in interface Species
DAOException
public List<DAGene> getGenesForExactName(String name) throws DAOException
getGenesForExactName
in interface Species
DAOException
public List<DAGene> getGenesForExactName(String name, String dbVersion) throws DAOException
getGenesForExactName
in interface Species
DAOException
public List<DAGene> getGenesForNameBeginning(String name) throws DAOException
getGenesForNameBeginning
in interface Species
DAOException
public List<DAGene> getGenesForNameBeginning(String name, String dbVersion) throws DAOException
getGenesForNameBeginning
in interface Species
DAOException
public DATranscript getTranscriptByStableID(String stableID) throws DAOException
getTranscriptByStableID
in interface Species
DAOException
public DATranscript getTranscriptByStableID(String stableID, String dbVersion) throws DAOException
getTranscriptByStableID
in interface Species
DAOException
public DATranslation getTranslationByStableID(String stableID) throws DAOException
getTranslationByStableID
in interface Species
DAOException
public DATranslation getTranslationByStableID(String stableID, String dbVersion) throws DAOException
getTranslationByStableID
in interface Species
DAOException
public TreeSet<String> getSchemaVersions()
getSchemaVersions
in interface Species
public TreeSet<String> getDBVersions()
getDBVersions
in interface Species
public void setDatabaseStyleSpeciesName(String dbSpeciesName)
public void setDatabaseStyleSpeciesName(Integer version, String dbSpeciesName)
public String getDatabaseStyleSpeciesName(Integer version)
public DAChromosome getCachedChromosome(DAChromosome chr_in)
public DAAssembledDNASequence getCachedFragment(DAAssembledDNASequence frag_in)
public EnsemblComparaDivision getComparaDivision()
getComparaDivision
in interface Species
public void setComparaDivision(String speciesDivision)
public void setComparaDivision(EnsemblComparaDivision speciesDivision)
public String getAssemblyName(String dbVersion)
getAssemblyName
in interface Species
public void setAssemblyAccession(String version, String value)
public void setAssemblyName(String version, String value)
public String getAssemblyAccession(String dbVersion)
getAssemblyAccession
in interface Species
public Integer getHighestDBRelease()
getHighestDBRelease
in interface Species
public void setAssemblyExceptions(String version) throws DAOException
setAssemblyExceptions
in interface Species
DAOException
public String getAssemblyAccessionStem()
getAssemblyAccessionStem
in interface Species
public String getAssemblyAccessionStem(String dbVersion)
getAssemblyAccessionStem
in interface Species
public String getUrlName()
public void setUrlName(String urlName)
public boolean isInPanCompara(String dbVersion)
isInPanCompara
in interface Species
JEnsembl: A Java API for Ensembl Data Access v1.78
© Roslin Institute 2010-14. GNU General Public License, version3