Class SimpleOrthologue
java.lang.Object
org.biojava.bio.program.homologene.SimpleOrthologue
- All Implemented Interfaces:
Orthologue
this entry contains data about the orthologue.
-
Constructor Summary
ConstructorsConstructorDescriptionSimpleOrthologue
(int taxonID, String locusID, String homologeneID, String accession) this constructor does the Taxon lookup for you tooSimpleOrthologue
(Taxon taxon, String locusID, String homologeneID, String accession) -
Method Summary
Modifier and TypeMethodDescriptionboolean
get the Accession ID associated with this orthologue.get the Homologene ID.get the locus ID associated with this orthologue.getTaxon()
return the Taxon associated with this orthologueint
a convenience method to return the TaxonID for thsi orhtologue.getTitle()
return the title used by Genbank for this proteinvoid
-
Constructor Details
-
SimpleOrthologue
-
SimpleOrthologue
public SimpleOrthologue(int taxonID, String locusID, String homologeneID, String accession) throws IllegalArgumentException this constructor does the Taxon lookup for you too- Throws:
IllegalArgumentException
-
-
Method Details
-
getTitle
Description copied from interface:Orthologue
return the title used by Genbank for this protein- Specified by:
getTitle
in interfaceOrthologue
-
getTaxon
Description copied from interface:Orthologue
return the Taxon associated with this orthologue- Specified by:
getTaxon
in interfaceOrthologue
-
getTaxonID
Description copied from interface:Orthologue
a convenience method to return the TaxonID for thsi orhtologue.- Specified by:
getTaxonID
in interfaceOrthologue
-
getLocusID
Description copied from interface:Orthologue
get the locus ID associated with this orthologue. It can be null.- Specified by:
getLocusID
in interfaceOrthologue
-
getHomologeneID
Description copied from interface:Orthologue
get the Homologene ID. This is unique and always defined.- Specified by:
getHomologeneID
in interfaceOrthologue
-
getAccession
Description copied from interface:Orthologue
get the Accession ID associated with this orthologue.- Specified by:
getAccession
in interfaceOrthologue
-
setTitle
- Specified by:
setTitle
in interfaceOrthologue
-
equals
-