AlternateGeneticCodeTranslatorInterface
in
Interface AlternateGeneticCodeTranslatorInterface - translates a codon under a specific NCBI genetic code table (see GeneticCodeTable::SUPPORTED_TABLES). Only the single-letter amino acid output SequenceInterface::translateCodon()'s format=1 already uses is supported here ; the 3-letter format has no current caller and was left out to keep this service's scope tight.
Tags
Table of Contents
Methods
- translateCodon() : string
Methods
translateCodon()
public
translateCodon(string $sCodon, int $iTableId) : string
Parameters
- $sCodon : string
- $iTableId : int
-
One of GeneticCodeTable::SUPPORTED_TABLES
Return values
string —A single-letter amino acid code, or "*" for a stop