public class SimpleGeneticCodeTable extends SimpleManyToOneTranslationTable
ALT_YEAST_NUC, ASCID_MITO, BACTERIAL, BLEPH_MNUC, CHLORO_MITO, CILIATE_NUC, ECHIN_MITO, EUPL_NUC, FWORM_MITO, INVERT_MITO, MOLD_MITO, SCENE_MITO, TREMA_MITO, UNIVERSAL, VERT_MITO, YEAST_MITO| Constructor and Description |
|---|
SimpleGeneticCodeTable(FiniteAlphabet source,
FiniteAlphabet target)
Creates a new instance of SimpleGeneticCodeTable
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription() |
int |
getTableNumber() |
void |
setDescription(String description) |
void |
setTableNumber(int num) |
Symbol |
translate(Symbol sym)
Translate a single symbol from source alphabet to the target alphabet.
|
doTranslate, doUntranslate, getSourceAlphabet, getTargetAlphabet, setTranslationuntranslateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittranslatepublic SimpleGeneticCodeTable(FiniteAlphabet source, FiniteAlphabet target)
public void setTableNumber(int num)
public int getTableNumber()
public void setDescription(String description)
public String getDescription()
public Symbol translate(Symbol sym) throws IllegalSymbolException
TranslationTabletranslate in interface TranslationTablesym - the Symbol to translate (member of source alphabet)IllegalSymbolException - if sym is not a member of the source
alphabetCopyright © 2020 BioJava. All rights reserved.