Package org.biojava.bio.seq
Class GeneticCodes
java.lang.Object
org.biojava.bio.seq.GeneticCodes
Collects the references to translation methods in one place. Right now this
is just a wrapper on RNATools
- Author:
- Greg Cox
-
Method Summary
Modifier and TypeMethodDescriptionstatic SymbolList
transcribe
(SymbolList theList) Transcribe DNA into RNA.static SymbolList
translate
(SymbolList theList) Translate RNA into protein (with termination symbols).
-
Method Details
-
transcribe
Transcribe DNA into RNA.- Parameters:
theList
- the SymbolList of DNA symbols to transcribe- Returns:
- a SymbolList that is the transcribed view
- Throws:
IllegalAlphabetException
- if the list is not DNA
-
translate
Translate RNA into protein (with termination symbols).- Parameters:
theList
- the SymbolList of RNA symbols to translate- Returns:
- a SymbolList that is the translated view
- Throws:
IllegalAlphabetException
- if the list is not RNA- Since:
- 1.1
-