Package jebl.evolution.sequences
Class TranslatedSequence
java.lang.Object
jebl.evolution.sequences.FilteredSequence
jebl.evolution.sequences.TranslatedSequence
- All Implemented Interfaces:
Comparable,Sequence,Attributable
- Author:
- Andrew Rambaut
-
Nested Class Summary
Nested classes/interfaces inherited from interface jebl.util.Attributable
Attributable.Utils -
Constructor Summary
ConstructorsConstructorDescriptionTranslatedSequence(Sequence source, GeneticCode geneticCode) Create a TranslatedSequence from a source codon or nucleotide sequenceTranslatedSequence(Sequence source, GeneticCode geneticCode, int frame) Create a TranslatedSequence from a source codon or nucleotide sequence -
Method Summary
Methods inherited from class jebl.evolution.sequences.FilteredSequence
compareTo, getAttribute, getAttributeMap, getAttributeNames, getLength, getState, getStateIndices, getStates, getString, getTaxon, removeAttribute, setAttribute, toString
-
Constructor Details
-
TranslatedSequence
Create a TranslatedSequence from a source codon or nucleotide sequence- Parameters:
source-geneticCode-
-
TranslatedSequence
Create a TranslatedSequence from a source codon or nucleotide sequence- Parameters:
source-geneticCode-frame- indexed from 1
-
-
Method Details
-
getSequenceType
- Specified by:
getSequenceTypein interfaceSequence- Overrides:
getSequenceTypein classFilteredSequence- Returns:
- the type of symbols that this sequence is made up of.
-