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