public class UniprotSpecies extends Object
Modifier and Type | Method and Description |
---|---|
static UniprotSpecies |
getByCode(String inValue)
Retrieves the UniprotSpecies for the specified species code (Ex: 'HUMAN' from the locus 'TNF_HUMAN').
|
static UniprotSpecies |
getByLocus(String inValue)
Retrieves the UniprotSpecies for the specified loucs (Ex: 'TNF_HUMAN').
|
String |
getCommonName() |
char |
getKingdomCode() |
String |
getScientificName() |
String |
getSpeciesCode() |
String |
getSynonym() |
Integer |
getTaxonId()
Returns the taxon id.
|
static void |
setSpeciesListFile(File inValue)
Used to load a newer version of the speclist.txt file.
|
public static void setSpeciesListFile(File inValue)
inValue
- the file to use as the source of Uniprot species datapublic static UniprotSpecies getByLocus(String inValue)
inValue
- the Uniprot locus name for the species object to returnpublic static UniprotSpecies getByCode(String inValue)
inValue
- the Uniprot code for the species object to returnpublic String getSpeciesCode()
public char getKingdomCode()
public Integer getTaxonId()
public String getScientificName()
public String getCommonName()
public String getSynonym()