TranslateCodon_()
Translate a given 3 character "codon", using a given codon usage table (cut) *
static
string
TranslateCodon_
( $sCodon, [ $iCut = 11], [ $cStopChar = "*"], string $seqCodon)
-
string
$seqCodon
-
$sCodon
-
$iCut
-
$cStopChar
TranslateStartCodon_()
Translate a given 3 character "codon", using a given codon usage table (cut) *
static
string
TranslateStartCodon_
( $sCodon, [ $iCut = 1], [ $cStartChar = "M"], string $seqCodon)
-
string
$seqCodon
-
$sCodon
-
$iCut
-
$cStartChar
TranslateToStop_
Translate the sequence Object into Protein
static
string
TranslateToStop_
( $sSeq, $sName, [ $iFrame = 1], [ $sCodonStyle = "SingleLetter"], [ $cStopSymbol = "*"], [ $iCut = 1], [ $bFromStartCodon = TRUE], int $frame, int $cut)
-
int
$frame: Frame to translate in (1-6)
-
int
$cut: Codon usage table
-
$sSeq
-
$sName
-
$iFrame
-
$sCodonStyle
-
$cStopSymbol
-
$iCut
-
$bFromStartCodon
Translate_
Translate the sequence Object into Protein
static
string
Translate_
( $sSeq, $sName, [ $iFrame = 1], [ $sCodonStyle = "SingleLetter"], [ $iCut = 11], int $frame, int $cut)
-
int
$frame: Frame to translate in (1-6)
-
int
$cut: Codon usage table
-
$sSeq
-
$sName
-
$iFrame
-
$sCodonStyle
-
$iCut
function __construct
constructor for the Translator class
object
__construct
([ $iTable = 1], codonTable $table)
-
codonTable
$table
-
$iTable
Redefinition of:
- Bio::__construct()
- function Bio ()
function backTranslate
Translate to the stop codon & bail out
object
backTranslate
(object $seq, [string $stopSymbol = "*"])
-
object
$seq: Seq
-
string
$stopSymbol: stop character used
function backTranslateNoStop
Translate to the stop codon & bail out
object
backTranslateNoStop
(object $seq)
function getTable
codonTable
getTable
(none 0)
function setEncoded
null
setEncoded
(
$oEncoded,
Seq $encoded)
function setTable
null
setTable
(codontable $iTable)
function translate
object
translate
(
Dna $oSeq, [
$iFrame =
"1"], [
$sCodonStyle =
"SingleLetter"], [
$iCut =
1], [
$sStopSymbol =
"*"],
char $stopSymbol)
-
object
$oSeq: object $seq to translate
-
char
$stopSymbol: opt.
-
$iFrame
-
$sCodonStyle
-
$iCut
-
$sStopSymbol
function translateToStop
Translate to the stop codon & bail out
object
translateToStop
( $oSeq, [ $iFrame = 1], [ $sCodonStyle = "SingleLetter"], [ $cStopSymbol = "*"], [ $iCut = 1], [ $bFromStartCodon = TRUE], object $seq, string $stopSymbol)
-
object
$seq: Seq
-
string
$stopSymbol: stop character used
-
$oSeq
-
$iFrame
-
$sCodonStyle
-
$cStopSymbol
-
$iCut
-
$bFromStartCodon
translateToStopToString
string
translateToStopToString
(
Dna $oSeq, [
$iFrame =
"1"], [
$sCodonStyle =
"SingleLetter"], [
$cStopSymbol =
"*"],
char $stopSymbol)
-
object
$oSeq: object $seq to translate
-
char
$stopSymbol: opt.
-
$iFrame
-
$sCodonStyle
-
$cStopSymbol
translateToString
string
translateToString
(
Dna $oSeq, [
$iFrame =
"1"], [
$sCodonStyle =
"SingleLetter"], [
$iCut =
1], [
$sStopSymbol =
"*"],
char $stopSymbol)
-
object
$oSeq: object $seq to translate
-
char
$stopSymbol: opt.
-
$iFrame
-
$sCodonStyle
-
$iCut
-
$sStopSymbol
Inherited Methods
Inherited From Bio
Bio::__construct()
Bio::printWithNl()