Source code

Download source archive ↓

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

1<tool id="reverse_complement" name="Reverse Complement">
2    <description>of a nucleotide sequence.</description>
3    <command interpreter="python">
4<![CDATA[
5        reverse_complement.py $input_fasta $output $iformat $oformat $alphabet
6]]>
7    </command>
8    <inputs>
9        <param name="input_fasta" type="data" format="fasta,genbank,embl" label="Genome Sequence"/>
10
11        <param name='iformat' type='select' format='text' label="Input format">
12            <option value='fasta'>FASTA</option>
13            <option value='genbank'>GenBank</option>
14            <option value='embl'>embl</option>
15        </param>
16
17        <param name='oformat' type='select' format='text' label="Output format">
18            <option value='fasta'>FASTA</option>
19            <option value='genbank'>GenBank</option>
20            <option value='embl'>embl</option>
21        </param>
22
23        <param name="alphabet" type="select" label="The alphabet of your input sequence">
24            <option value="dna">DNA</option>
25            <option value="rna">RNA</option>
26        </param>
27    </inputs>
28    <outputs>
29        <data name="output" format="fasta">
30            <change_format>
31               <when input="oformat" value="genbank" format="genbank"/>
32               <when input="oformat" value="embl" format="embl"/>
33            </change_format>
34        </data>
35    </outputs>
36    <requirements>
37        <requirement type="python-module">Bio</requirement>
38    </requirements>
39    <tests>
40    </tests>
41    <help>
42<![CDATA[
43
44**What it does**
45
46This tool calculates the reverse complement of a given nucleotide sequence.
47
48]]>
49	</help>
50</tool>