Source code

Download source archive ↓

upstream-extended/community/tools/biopython/converters/translate.xml

1<tool id="translate_nucleotides" name="Translate nucleotides" version="0.1">
2    <description>to amino acids</description>
3    <requirements>
4        <requirement type="python-module">Bio</requirement>
5    </requirements>
6    <command interpreter="python">
7<![CDATA[
8        translate.py
9            $input_fasta
10            $output
11            $iformat
12            $oformat
13            $translationTable
14            $cds
15            $to_stop
16]]>
17    </command>
18    <inputs>
19        <param name="input_fasta" type="data" format="fasta,genbank,embl" label="Genome Sequence"/>
20
21        <param name='iformat' type='select' format='text' label="Input format">
22            <option value='fasta'>FASTA</option>
23            <option value='genbank'>GenBank</option>
24            <option value='embl'>embl</option>
25        </param>
26
27        <param name='oformat' type='select' format='text' label="Output format">
28            <option value='fasta'>FASTA</option>
29            <option value='genbank'>GenBank</option>
30            <option value='embl'>embl</option>
31        </param>
32
33        <param name="translationTable" type="select" label="NCBI Translation Table" help="See http://www.ncbi.nlm.nih.gov/Taxonomy/Utils/wprintgc.cgi for more information.">
34            <option value="1">The Standard Code</option>
35            <option value="2">The Vertebrate Mitochondrial Code</option>
36            <option value="3">The Yeast Mitochondrial Code</option>
37            <option value="4">The Mold, Protozoan, and Coelenterate Mitochondrial Code and the Mycoplasma/Spiroplasma Code</option>
38            <option value="5">The Invertebrate Mitochondrial Code</option>
39            <option value="6">The Ciliate, Dasycladacean and Hexamita Nuclear Code</option>
40            <option value="9">The Echinoderm and Flatworm Mitochondrial Code</option>
41            <option value="10">The Euplotid Nuclear Code</option>
42            <option value="11">The Bacterial, Archaeal and Plant Plastid Code</option>
43            <option value="12">The Alternative Yeast Nuclear Code</option>
44            <option value="13">The Ascidian Mitochondrial Code</option>
45            <option value="14">The Alternative Flatworm Mitochondrial Code</option>
46            <option value="15">Blepharisma Nuclear Code</option>
47            <option value="16">Chlorophycean Mitochondrial Code</option>
48            <option value="21">Trematode Mitochondrial Code</option>
49            <option value="22">Scenedesmus obliquus mitochondrial Code</option>
50            <option value="23">Thraustochytrium Mitochondrial Code</option>
51            <option value="24">Pterobranchia mitochondrial code</option>
52        </param>
53        <param name="cds" type="boolean" truevalue="true" falsevalue="false" label="Indicates this is a complete CDS"/>
54        <param name="to_stop" type="boolean" truevalue="true" falsevalue="false" label="Quit on any stop codon"/>
55    </inputs>
56    <outputs>
57        <data name="output" format="fasta">
58            <change_format>
59               <when input="oformat" value="genbank" format="genbank"/>
60               <when input="oformat" value="embl" format="embl"/>
61            </change_format>
62        </data>
63    </outputs>
64    <tests>
65    </tests>
66    <help>
67<![CDATA[
68
69**What it does**
70
71This tool translates your nucleotide sequence to an amino acid sequence.
72
73
74]]>
75    </help>
76</tool>