Documentation

AlternateGeneticCodeTranslatorInterface

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
author

Amélie DUVERNET aka Amelaye amelieonline@gmail.com

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

On this page

Search results