public class DBHomologyDAO extends DBBaseDAO implements HomologyDAO
configuration, daoFactory
Constructor and Description |
---|
DBHomologyDAO(DAOComparaFactory factory) |
Modifier and Type | Method and Description |
---|---|
List<DAHomologyPairRelationship> |
getHomologiesForGene(Gene g)
Data Access method to retrieve all of the homologies
(i.e. to all species) for a given gene with a stableID.
|
List<DAHomologyPairRelationship> |
getHomologiesForGenesBySpecies(List<? extends Gene> genes,
Species target_sp,
String chrName)
Data Access method to retrieve all of the homologies
in the specified target species for a List of genes with stableIDs.
|
HashMap<DADNASequence,MappingSet> |
getRegionsOfConservedSynteny(DNASequence source,
Coordinate range,
Species target)
Data Access method to retrieve all of the regions on DNASequences
for the specified target species, holding genes with homologies to genes found
in the given region of the source query sequence.
|
HashMap<DADNASequence,MappingSet> |
getRegionsOfConservedSynteny(DNASequence source,
Coordinate range,
Species target,
String chrName)
Data Access method to retrieve any potential region of
conserved synteny on a given Chromosome/fragment
for the specified target species, holding genes with homologies to genes found
in the given region of the source query sequence.
|
getFactory, setConfiguration, setFactory
public DBHomologyDAO(DAOComparaFactory factory) throws DAOException
DAOException
public List<DAHomologyPairRelationship> getHomologiesForGene(Gene g) throws DAOException
getHomologiesForGene
in interface HomologyDAO
g
- The query GeneDAOException
public List<DAHomologyPairRelationship> getHomologiesForGenesBySpecies(List<? extends Gene> genes, Species target_sp, String chrName) throws DAOException
getHomologiesForGenesBySpecies
in interface HomologyDAO
genes
- theList of query genestarget_sp
- The target SpecieschrName
- The target chromosome nameDAOException
public HashMap<DADNASequence,MappingSet> getRegionsOfConservedSynteny(DNASequence source, Coordinate range, Species target) throws DAOException
getRegionsOfConservedSynteny
in interface HomologyDAO
source
- DNASequence to be queriedrange
- Coordinate range of query sequence to be queriedtarget
- the target speciesDAOException
public HashMap<DADNASequence,MappingSet> getRegionsOfConservedSynteny(DNASequence source, Coordinate range, Species target, String chrName) throws DAOException
getRegionsOfConservedSynteny
in interface HomologyDAO
source
- DNASequence to be queriedrange
- Coordinate range of query sequence to be queriedtarget
- the target specieschrName
- the target chromosome nameDAOException
JEnsembl: A Java API for Ensembl Data Access v1.78
© Roslin Institute 2010-14. GNU General Public License, version3