public class DBTranscriptDAO extends DBCoreObjectDAO implements TranscriptDAO
Modifier and Type | Class and Description |
---|---|
class |
DBTranscriptDAO.TranscriptRowHandler |
collFactory, singleSpecies, species, ssFactory
configuration, daoFactory
Constructor and Description |
---|
DBTranscriptDAO() |
DBTranscriptDAO(DAOCollectionCoreFactory factory) |
DBTranscriptDAO(DAOSingleSpeciesCoreFactory factory) |
Modifier and Type | Method and Description |
---|---|
DATranscript |
getTranscriptByID(Integer id) |
DATranscript |
getTranscriptByStableID(String stableID) |
List<DATranscript> |
getTranscriptsForCcdsID(String id)
Returns a list of Ensembl Transcripts matching the query CCDS ID string.
|
List<DATranscript> |
getTranscriptsForGene(Gene gene) |
List<DATranscript> |
getTranscriptsForVegaID(String id)
Returns a list of Ensembl Transcripts matching the query VegaID string.
|
void |
reInitialize(IdentifiableObject object)
Uses the stableid of an object to fill in missing data
|
getDAOFactory, getSpecies, isSingleSpecies, setFactory, setFactory
getFactory, setConfiguration, setFactory
public DBTranscriptDAO()
public DBTranscriptDAO(DAOSingleSpeciesCoreFactory factory) throws DAOException
DAOException
public DBTranscriptDAO(DAOCollectionCoreFactory factory) throws DAOException
DAOException
public void reInitialize(IdentifiableObject object) throws DAOException
reInitialize
in interface ReInitializationDAO
object
- DAOException
public DATranscript getTranscriptByID(Integer id) throws DAOException
getTranscriptByID
in interface TranscriptDAO
id
- DAOException
public DATranscript getTranscriptByStableID(String stableID) throws DAOException
getTranscriptByStableID
in interface TranscriptDAO
stableID
- DAOException
public List<DATranscript> getTranscriptsForGene(Gene gene) throws DAOException
getTranscriptsForGene
in interface TranscriptDAO
DAOException
public List<DATranscript> getTranscriptsForVegaID(String id) throws DAOException
getTranscriptsForVegaID
in interface TranscriptDAO
id
- a valid vega ID (these begin 'OTT...')DAOException
public List<DATranscript> getTranscriptsForCcdsID(String id) throws DAOException
getTranscriptsForCcdsID
in interface TranscriptDAO
id
- a valid CCDS accession or accession.version (these begin 'CCDS...')DAOException
JEnsembl: A Java API for Ensembl Data Access v1.78
© Roslin Institute 2010-14. GNU General Public License, version3