Class SimpleHomologeneDB
- java.lang.Object
-
- org.biojava.bio.program.homologene.AbstractOrthoPairCollection
-
- org.biojava.bio.program.homologene.SimpleOrthoPairCollection
-
- org.biojava.bio.program.homologene.SimpleHomologeneDB
-
- All Implemented Interfaces:
HomologeneDB,OrthoPairCollection
public class SimpleHomologeneDB extends SimpleOrthoPairCollection implements HomologeneDB
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.biojava.bio.program.homologene.SimpleOrthoPairCollection
SimpleOrthoPairCollection.Iterator
-
-
Field Summary
-
Fields inherited from class org.biojava.bio.program.homologene.SimpleOrthoPairCollection
groups
-
-
Constructor Summary
Constructors Constructor Description SimpleHomologeneDB()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OrthologuecreateOrthologue(int taxonID, String locusID, String homologeneID, String accession)Create an orthologue.OrthologuecreateOrthologue(Taxon taxon, String locusID, String homologeneID, String accession)Create an orthologue.OrthoPaircreateOrthoPair(Orthologue first, Orthologue second, String ref)Create a curated orthology entry.OrthoPaircreateOrthoPair(Orthologue first, Orthologue second, SimilarityType type, double percentIdentity)Create a computed orthology entry.OrthoPairSetcreateOrthoPairSet()Create a Homologene Group.OrthologuegetOrthologue(String homologeneID)Returns an orthologue of specified ID.OrthoPairCollectiongetOrthoPairSets()Get the HomologeneGroups in this database.-
Methods inherited from class org.biojava.bio.program.homologene.SimpleOrthoPairCollection
add, contains, isEmpty, iterator
-
Methods inherited from class org.biojava.bio.program.homologene.AbstractOrthoPairCollection
filter
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.biojava.bio.program.homologene.HomologeneDB
filter
-
-
-
-
Constructor Detail
-
SimpleHomologeneDB
public SimpleHomologeneDB()
-
-
Method Detail
-
createOrthologue
public Orthologue createOrthologue(Taxon taxon, String locusID, String homologeneID, String accession) throws ChangeVetoException
Description copied from interface:HomologeneDBCreate an orthologue.- Specified by:
createOrthologuein interfaceHomologeneDB- Throws:
ChangeVetoException
-
createOrthologue
public Orthologue createOrthologue(int taxonID, String locusID, String homologeneID, String accession) throws IllegalArgumentException, ChangeVetoException
Description copied from interface:HomologeneDBCreate an orthologue.- Specified by:
createOrthologuein interfaceHomologeneDB- Throws:
IllegalArgumentExceptionChangeVetoException
-
getOrthologue
public Orthologue getOrthologue(String homologeneID)
Description copied from interface:HomologeneDBReturns an orthologue of specified ID.- Specified by:
getOrthologuein interfaceHomologeneDB
-
createOrthoPair
public OrthoPair createOrthoPair(Orthologue first, Orthologue second, SimilarityType type, double percentIdentity)
Description copied from interface:HomologeneDBCreate a computed orthology entry.- Specified by:
createOrthoPairin interfaceHomologeneDB
-
createOrthoPair
public OrthoPair createOrthoPair(Orthologue first, Orthologue second, String ref)
Description copied from interface:HomologeneDBCreate a curated orthology entry.- Specified by:
createOrthoPairin interfaceHomologeneDB
-
createOrthoPairSet
public OrthoPairSet createOrthoPairSet()
Description copied from interface:HomologeneDBCreate a Homologene Group.- Specified by:
createOrthoPairSetin interfaceHomologeneDB
-
getOrthoPairSets
public OrthoPairCollection getOrthoPairSets()
Description copied from interface:HomologeneDBGet the HomologeneGroups in this database.- Specified by:
getOrthoPairSetsin interfaceHomologeneDB
-
-