annotate translate.xml @ 0:a55eb751d2d8 draft

Uploaded
author jasper
date Tue, 09 May 2017 13:09:07 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
a55eb751d2d8 Uploaded
jasper
parents:
diff changeset
1 <tool id="dna_protein_transle" name="Translate DNA to protein" version="1.0">
a55eb751d2d8 Uploaded
jasper
parents:
diff changeset
2 <description>Translate nucleic acid to protein </description>
a55eb751d2d8 Uploaded
jasper
parents:
diff changeset
3 <requirements>
a55eb751d2d8 Uploaded
jasper
parents:
diff changeset
4 <requirement type="package" version="1.69">biopython</requirement>
a55eb751d2d8 Uploaded
jasper
parents:
diff changeset
5 <requirement type="python-module">Bio</requirement>
a55eb751d2d8 Uploaded
jasper
parents:
diff changeset
6 </requirements>
a55eb751d2d8 Uploaded
jasper
parents:
diff changeset
7 <command interpreter="python" >
a55eb751d2d8 Uploaded
jasper
parents:
diff changeset
8 translate.py -i $dna -o $output -r $read_frame
a55eb751d2d8 Uploaded
jasper
parents:
diff changeset
9 </command>
a55eb751d2d8 Uploaded
jasper
parents:
diff changeset
10 <inputs>
a55eb751d2d8 Uploaded
jasper
parents:
diff changeset
11 <param name="dna" type="data" format="fasta" label="DNA fasta file" help="DNA fasta file" />
a55eb751d2d8 Uploaded
jasper
parents:
diff changeset
12 <param name="read_frame" type="select" label="Choose a read frame">
a55eb751d2d8 Uploaded
jasper
parents:
diff changeset
13 <option value="1">1</option>
a55eb751d2d8 Uploaded
jasper
parents:
diff changeset
14 <option value="2">2</option>
a55eb751d2d8 Uploaded
jasper
parents:
diff changeset
15 <option value="3">3</option>
a55eb751d2d8 Uploaded
jasper
parents:
diff changeset
16 <option value="-1">-1</option>
a55eb751d2d8 Uploaded
jasper
parents:
diff changeset
17 <option value="-2">-2</option>
a55eb751d2d8 Uploaded
jasper
parents:
diff changeset
18 <option value="-3">-3</option>
a55eb751d2d8 Uploaded
jasper
parents:
diff changeset
19 </param>
a55eb751d2d8 Uploaded
jasper
parents:
diff changeset
20 </inputs>
a55eb751d2d8 Uploaded
jasper
parents:
diff changeset
21 <outputs>
a55eb751d2d8 Uploaded
jasper
parents:
diff changeset
22 <data name="output" type="data" format="fasta"/>
a55eb751d2d8 Uploaded
jasper
parents:
diff changeset
23 </outputs>
a55eb751d2d8 Uploaded
jasper
parents:
diff changeset
24 <tests>
a55eb751d2d8 Uploaded
jasper
parents:
diff changeset
25 <test>
a55eb751d2d8 Uploaded
jasper
parents:
diff changeset
26 <param name="dna" file="demo_nucs.fasta" />
a55eb751d2d8 Uploaded
jasper
parents:
diff changeset
27 <param name="read_frame" type="select" value="1" />
a55eb751d2d8 Uploaded
jasper
parents:
diff changeset
28 <output name="output" file="demo_protein.fasta" />
a55eb751d2d8 Uploaded
jasper
parents:
diff changeset
29 </test>
a55eb751d2d8 Uploaded
jasper
parents:
diff changeset
30 </tests>
a55eb751d2d8 Uploaded
jasper
parents:
diff changeset
31 </tool>