public class GeneticCodes extends Object
| Modifier and Type | Method and Description |
|---|---|
static SymbolList |
transcribe(SymbolList theList)
Transcribe DNA into RNA.
|
static SymbolList |
translate(SymbolList theList)
Translate RNA into protein (with termination symbols).
|
public static SymbolList transcribe(SymbolList theList) throws IllegalAlphabetException
theList - the SymbolList of DNA symbols to transcribeIllegalAlphabetException - if the list is not DNApublic static SymbolList translate(SymbolList theList) throws IllegalAlphabetException
theList - the SymbolList of RNA symbols to translateIllegalAlphabetException - if the list is not RNACopyright © 2020 BioJava. All rights reserved.