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