public class CodonTableUtils
extends java.lang.Object
| Constructor and Description |
|---|
CodonTableUtils() |
| Modifier and Type | Method and Description |
|---|---|
static char[] |
convertNucleotideToAminoAcid(char[] nucleotideSequence,
int startingPosition,
int length,
boolean reverse,
CodonTable translator)
Translates a Nucleotide sequence into a Amino Acid sequence
|
static java.lang.String |
convertNucleotideToAminoAcid(java.lang.String nucleotideSequence,
int startingPosition,
int length,
boolean reverse,
CodonTable translator)
Translates a Nucleotide sequence into a Amino Acid sequence
|
public static final java.lang.String convertNucleotideToAminoAcid(java.lang.String nucleotideSequence,
int startingPosition,
int length,
boolean reverse,
CodonTable translator)
public static final char[] convertNucleotideToAminoAcid(char[] nucleotideSequence,
int startingPosition,
int length,
boolean reverse,
CodonTable translator)
nucleotideSequence - - the base nucleotide sequence as a char arraystarting - position - the starting position to begin reading fromlength - - the length of the reading frame (in nucleotide units -
should be a multiple of 3, if not remainder is truncated!)reverse - - if true works backwards with codon at starting
position being last in translation (codon read in reverse as well).
Else reads forwards.translator - - the nucleotide translator to use for translation
nucleotides into amino acids.