| Calling Sequence
| BackTranslate(prot,method,k,db)
|
| Parameters
| | Name | Type | Description |
|
| prot
| string | protein sequence |
| method
| {string,set(string)} | the mode of codon selection |
| k
| integer | window size |
| db
| database | (opt) database to be used |
|
| Return Type
| string |
| Synopsis
| Back Translate a protein into DNA.
The following methods can be used:
Random - Select codons randomly
Freq - Select the most frequent codons
Least - Select the least frequent codons/motifs
Reuse - Choose codons favoring tRNA reuse
DynProg - Select codons based on favored motifs in in coding DNA (default)
Combination of methods can be used as a set. Some methods require a database
to be loaded. For methods based on codon frequency, DB must contain the DNA
tag and for the DynProg the SEQ tag of DB must be DNA. |
| Examples
| > DB := ReadDb('/home/darwin/DB/SwissProt.Z'):;
Peptide file(/home/darwin/DB/SP45.0/SwissProt45.0(169638448), 163235
entries, 59631787 aminoacids)
> BackTranslate('MAAAT');
> BackTranslate('MAAAT','DynProg',7);
|
| See also
| Translate |