public class DBSingleSpeciesCoreDatabase extends DBSingleSpeciesDatabase implements SingleSpeciesCoreDatabase
Modifier and Type | Field and Description |
---|---|
protected String |
assemblyAccession |
protected String |
assemblyName |
protected String |
comparaName |
dbSpeciesName, originalDBName, originalDBSpeciesName, species
Constructor and Description |
---|
DBSingleSpeciesCoreDatabase(String db_name,
EnsemblDBType type,
Registry registry) |
getdBName, getDbSpeciesName, getOriginalDBName, getOriginalDBSpeciesName, getRenamedDBName, getSpecies, isDBRenamed, setDbSpeciesName, setSpecies
compareTo, getBuild, getdBClassifier, 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
getDbSpeciesName, getSpecies, setDbSpeciesName, setSpecies
getBuild, getdBClassifier, getdBName, getDBVersion, getIntDBVersion, getIntSchemaVersion, getNewSqlSession, getRegistry, getSchemaVersion, getType
compareTo
protected String assemblyName
protected String assemblyAccession
protected String comparaName
public DBSingleSpeciesCoreDatabase(String db_name, EnsemblDBType type, Registry registry) throws ConfigurationException
ConfigurationException
public DBDAOSingleSpeciesCoreFactory getCoreFactory()
getCoreFactory
in interface SingleSpeciesCoreDatabase
public DACoordinateSystem getCSByID(Integer id) throws DAOException
getCSByID
in interface SingleSpeciesCoreDatabase
DAOException
public List<DACoordinateSystem> getCoordinateSystems() throws DAOException
DAOException
public DACoordinateSystem getTopLevelCoordSystem() throws DAOException
getTopLevelCoordSystem
in interface SingleSpeciesCoreDatabase
DAOException
public DACoordinateSystem getChromosomeLevelCoordSystem() throws DAOException
getChromosomeLevelCoordSystem
in interface SingleSpeciesCoreDatabase
DAOException
public DACoordinateSystem getSequenceLevelCoordSystem() throws DAOException
getSequenceLevelCoordSystem
in interface SingleSpeciesCoreDatabase
DAOException
public DAChromosome getChromosomeByName(String name) throws DAOException
getChromosomeByName
in interface SingleSpeciesCoreDatabase
DAOException
public DAAssembledDNASequence getFragmentByName(String name) throws DAOException
getFragmentByName
in interface SingleSpeciesCoreDatabase
name
- DAOException
public List<DAChromosome> getChromosomes() throws DAOException
getChromosomes
in interface SingleSpeciesCoreDatabase
DAOException
public List<DAAssembledDNASequence> getFragments() throws DAOException
getFragments
in interface SingleSpeciesCoreDatabase
DAOException
public Set<DACoordinateSystem> getCSForFeature(ObjectType featureType) throws DAOException
getCSForFeature
in interface SingleSpeciesCoreDatabase
DAOException
public List<FeatureType> getFeaturesForCS(CoordinateSystem coordSys) throws DAOException
getFeaturesForCS
in interface SingleSpeciesCoreDatabase
DAOException
public Integer getMaxLengthForFeature(ObjectType featureType, CoordinateSystem cs) throws DAOException
getMaxLengthForFeature
in interface SingleSpeciesCoreDatabase
DAOException
public void addFeatureCS(String featureType, Integer csID, Integer maxLength)
addFeatureCS
in interface SingleSpeciesCoreDatabase
public void setBuildLevel(String featureKey, String level)
setBuildLevel
in interface SingleSpeciesCoreDatabase
public String getBuildLevel(String featureType) throws DAOException
getBuildLevel
in interface SingleSpeciesCoreDatabase
DAOException
public DACoordinateSystem getBuildCoordSystem(String featureType) throws DAOException
getBuildCoordSystem
in interface SingleSpeciesCoreDatabase
DAOException
public HashMap<FeatureType,String> getBuildLevels()
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 getAssemblyName()
getAssemblyName
in interface SingleSpeciesCoreDatabase
public String getComparaName()
getComparaName
in interface SingleSpeciesCoreDatabase
public String getAssemblyAccession()
getAssemblyAccession
in interface SingleSpeciesCoreDatabase
public void lazyLoadMetadata() throws DAOException
DAOException
public void setAssemblyName(String value)
setAssemblyName
in interface SingleSpeciesCoreDatabase
public void setAssemblyAccession(String value)
setAssemblyAccession
in interface SingleSpeciesCoreDatabase
public void setComparaName(String value)
setComparaName
in interface SingleSpeciesCoreDatabase
JEnsembl: A Java API for Ensembl Data Access v1.78
© Roslin Institute 2010-14. GNU General Public License, version3