1
|
1 <tool id="sixframe_translate" name="Generate 6-frame translation" version="1.1.0">
|
0
|
2 <requirements>
|
1
|
3 <container type="docker">iracooke/protk-1.4.1</container>
|
|
4 <requirement type="package" version="1.4">protk</requirement>
|
0
|
5 </requirements>
|
|
6
|
|
7 <description>Translates DNA/RNA to protein</description>
|
|
8
|
|
9 <command>
|
|
10 sixframe.rb $fasta_file -o $output $strip_header $coords
|
|
11 </command>
|
|
12
|
|
13
|
|
14
|
|
15
|
|
16 <stdio>
|
|
17 <exit_code range="1:" level="fatal" description="Failure" />
|
|
18 </stdio>
|
|
19
|
|
20 <inputs>
|
|
21 <param name="fasta_file" type="data" format="fasta" label="Uploaded FASTA file" />
|
|
22 <param name="strip_header" type="boolean" label="Strip header info" help="" truevalue="--strip-header" falsevalue="" />
|
|
23 <param name="coords" type="boolean" label="Write genomic coordinates" help="" truevalue="--coords" falsevalue="" />
|
|
24 </inputs>
|
|
25
|
|
26 <outputs>
|
|
27 <data format="fasta" name="output" />
|
|
28 </outputs>
|
|
29
|
1
|
30 <tests>
|
|
31 <test>
|
|
32 <param name="fasta_file" value="small_genome.fasta" format="fasta"/>
|
|
33 <output name="output" format="fasta">
|
|
34 <assert_contents>
|
|
35 <has_text text="SVQHWFYRFQAGHPRVFCPKNGPRRLW" />
|
|
36 </assert_contents>
|
|
37 </output>
|
|
38 </test>
|
|
39 </tests>
|
|
40
|
0
|
41
|
|
42 <help>
|
|
43
|
|
44 **What it does**
|
|
45
|
|
46 Generates 6 frame translations suitable for proteogenomics workflows
|
|
47
|
|
48 ----
|
|
49
|
|
50 **References**
|
|
51
|
|
52
|
|
53 </help>
|
|
54
|
|
55 </tool>
|