public class DBCollectionCoreDatabase extends DBCollectionDatabase implements CollectionCoreDatabase
collection, collectionName
Constructor and Description |
---|
DBCollectionCoreDatabase(String db_name,
EnsemblDBType type,
Registry registry) |
getCollection, getCollectionName, setCollection, setCollectionName
compareTo, getBuild, getdBClassifier, getdBName, getDBVersion, getIntDBVersion, getIntSchemaVersion, getNewSqlSession, getRegistry, getSchemaVersion, getSessionFactory, getType, setBuild, setdBName, setDBVersion, setIntDBVersion, setIntSchemaVersion, setRegistry, setSchemaVersion, setType, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getCollection, getCollectionName, setCollection, setCollectionName
getBuild, getdBClassifier, getdBName, getDBVersion, getIntDBVersion, getIntSchemaVersion, getNewSqlSession, getRegistry, getSchemaVersion, getType
compareTo
public DBCollectionCoreDatabase(String db_name, EnsemblDBType type, Registry registry) throws ConfigurationException
ConfigurationException
public DBDAOCollectionCoreFactory getCoreFactory(Species sp)
getCoreFactory
in interface CollectionCoreDatabase
public DACoordinateSystem getChromosomeLevelCS(Species species) throws DAOException
getChromosomeLevelCS
in interface CollectionCoreDatabase
DAOException
public DACoordinateSystem getSequenceLevelCS(Species species) throws DAOException
getSequenceLevelCS
in interface CollectionCoreDatabase
DAOException
public DACoordinateSystem getTopLevelCS(Species species) throws DAOException
getTopLevelCS
in interface CollectionCoreDatabase
DAOException
public void setBuildLevels(Species species, HashMap<String,String> keyedValues)
setBuildLevels
in interface CollectionCoreDatabase
public String getBuildLevel(Species species, String featureKey) throws DAOException
getBuildLevel
in interface CollectionCoreDatabase
DAOException
public HashMap<FeatureType,String> getBuildLevels(CollectionSpecies species)
public void addFeatureCS(String featureType, Integer csID, Integer maxLength, Species sp)
addFeatureCS
in interface CollectionCoreDatabase
public Set<DACoordinateSystem> getCSForFeature(Species sp, ObjectType feature) throws DAOException
getCSForFeature
in interface CollectionCoreDatabase
DAOException
public List<FeatureType> getFeaturesForCS(Species sp, CoordinateSystem coordSys) throws DAOException
getFeaturesForCS
in interface CollectionCoreDatabase
DAOException
public Integer getMaxLengthForFeature(Species sp, ObjectType feature, CoordinateSystem cs) throws DAOException
getMaxLengthForFeature
in interface CollectionCoreDatabase
DAOException
public DACoordinateSystem getBuildCoordSystem(Species species, String featureType) throws DAOException
getBuildCoordSystem
in interface CollectionCoreDatabase
DAOException
public DACoordinateSystem getCSByID(Species species, Integer id) throws DAOException
getCSByID
in interface CollectionCoreDatabase
DAOException
public DAChromosome getChromosomeByName(Species species, String name) throws DAOException
getChromosomeByName
in interface CollectionCoreDatabase
DAOException
public List<DAChromosome> getChromosomes(Species species) throws DAOException
getChromosomes
in interface CollectionCoreDatabase
DAOException
public DAAssembledDNASequence getFragmentByName(Species species, String name) throws DAOException
getFragmentByName
in interface CollectionCoreDatabase
DAOException
public List<DAAssembledDNASequence> getFragments(Species species) throws DAOException
getFragments
in interface CollectionCoreDatabase
DAOException
public HashMap<Integer,DAAnalysis> getAnalyses() throws DAOException
getAnalyses
in interface CoreDatabase
DAOException
public ExternalDB validateExternalDB(ExternalDB db)
validateExternalDB
in interface DatabaseWithExternalDBs
db
- public void initializeExternalDBs()
initializeExternalDBs
in interface DatabaseWithExternalDBs
public ExternalDB getExternalDB(Integer id)
getExternalDB
in interface DatabaseWithExternalDBs
public String getAssemblyAccession(CollectionSpecies species)
getAssemblyAccession
in interface CollectionCoreDatabase
species
- public String getAssemblyName(CollectionSpecies species)
getAssemblyName
in interface CollectionCoreDatabase
species
- JEnsembl: A Java API for Ensembl Data Access v1.78
© Roslin Institute 2010-14. GNU General Public License, version3