comparison rnadistance.xml @ 0:4286146cb3aa draft

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/vienna_rna commit 0065dafe7bbd382bb995b28cc4089c9e4f4eeeb9
author rnateam
date Tue, 06 Dec 2016 12:35:35 -0500
parents
children 7fc7a56750b9
comparison
equal deleted inserted replaced
-1:000000000000 0:4286146cb3aa
1 <tool id="viennarna_rnadistance" name="@EXECUTABLE@" version="@VERSION@.0">
2 <description>Calculate distance between secondary structures of two RNAs</description>
3 <macros>
4 <token name="@EXECUTABLE@">RNAdistance</token>
5 <import>macros.xml</import>
6 </macros>
7 <expand macro="requirements" />
8 <expand macro="stdio" />
9 <expand macro="version_command" />
10 <command>
11 <![CDATA[
12 RNAdistance < '$input' > '$outfile'
13 --distance=#echo ''.join(str($distance).split(','))#
14 --compare=$compare
15 $shapiro
16 $backtrack
17 #if $backtrack and str($compare)=="m"
18 && cat backtrack.file >> '$outfile'
19 #end if
20 ]]>
21 </command>
22 <inputs>
23 <param name="input" type="data" format="*" label="Primary and secondary stuctures file"/>
24 <param name="distance" type="select" multiple="true" display="checkboxes" label="Representation to calculate the distance / alignment option">
25 <option value="f" selected="true">full/tree</option>
26 <option value="F">full/string</option>
27 <option value="h">hit/tree</option>
28 <option value="H">hit/string</option>
29 <option value="w">weighted coarse/tree</option>
30 <option value="W">weighted coarse/string</option>
31 <option value="c">coarse/tree</option>
32 <option value="C">coarse/string</option>
33 <validator type="no_options" message="Please select at least one type."/>
34 </param>
35 <param name="compare" type="select" label="Comparison Option" help="-d">
36 <option value="p" selected="True">p: pairwise (1st with 2nd, 3rd with 4th, ...)</option>
37 <option value="m">m: matrix (each with each, output in matrix form)</option>
38 <option value="f" >f: first (1st with 2nd, 1st with 3rd, ...)</option>
39 <option value="c">c: continuous (1st with 2nd, 2nd with 3rd, ...)</option>
40 </param>
41 <param argument="--shapiro" type="boolean" checked="false" truevalue="--shapiro" falsevalue="" label="Use cost matrix by Bruce Shapiro" help="--shapiro"/>
42 <param argument="--backtrack" type="boolean" checked="false" truevalue="--backtrack" falsevalue="" label="Print an alignment" help="--backtrack"/>
43 </inputs>
44 <outputs>
45 <data format="txt" name="outfile"/>
46 </outputs>
47 <tests>
48 <test>
49 <param name="input" value="rnadistance_input1.dbn"/>
50 <output name="outfile" file="rnadistance_result1.txt"/>
51 </test>
52 </tests>
53 <help>
54 <![CDATA[
55 **RNAdistance**
56
57
58 -----
59
60 **Input format**
61
62 RNAdistance requires one input file with the following structure:
63 1st line: can be a comment line like in Fasta, begins with '>'
64 2nd line: sequence
65 3rd line: first secondary structure in dot-bracket notation
66 4th line: second secondary structure in dot-bracket notation
67 ...
68 nth line: another sequence
69 ...
70
71 Several different RNA secondary structures can be specified. The input has a Fasta-like structure but with secondary structure information.
72
73
74 ------
75
76 **Outputs**
77
78 * distance of the structures
79 * with the backtrack options it is possible to get alignment ouput
80
81
82 ]]>
83 </help>
84 <expand macro="citations" />
85 </tool>