0
|
1 <tool id="rnadistance" name="RNAdistance" version="2.1.6.0">
|
|
2 <description>Calculate distance between secondary structures of two RNAs</description>
|
|
3 <expand macro="requirements" />
|
|
4 <expand macro="version_command" />
|
|
5 <expand macro="stdio" />
|
|
6 <macros>
|
|
7 <token name="@EXECUTABLE@">RNAdistance</token>
|
|
8 <import>macros.xml</import>
|
|
9 </macros>
|
|
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
|
|
23 <inputs>
|
|
24 <param name="input" type="data" label="Primary and secondary stuctures file"/>
|
|
25 <param name="distance" type="select" multiple="true" display="checkboxes" label="Representation to calculate the distance / alignment option">
|
|
26 <option value="f" selected="true">full/tree</option>
|
|
27 <option value="F">full/string</option>
|
|
28 <option value="h">hit/tree</option>
|
|
29 <option value="H">hit/string</option>
|
|
30 <option value="w">weighted coarse/tree</option>
|
|
31 <option value="W">weighted coarse/string</option>
|
|
32 <option value="c">coarse/tree</option>
|
|
33 <option value="C">coarse/string</option>
|
|
34 <validator type="no_options" message="Please select at least one type."/>
|
|
35 </param>
|
|
36 <param name="compare" type="select" label="Comparison Option" help="-d">
|
|
37 <option value="p" selected="True">p: pairwise (1st with 2nd, 3rd with 4th, ...)</option>
|
|
38 <option value="m">m: matrix (each with each, output in matrix form)</option>
|
|
39 <option value="f" >f: first (1st with 2nd, 1st with 3rd, ...)</option>
|
|
40 <option value="c">c: continuous (1st with 2nd, 2nd with 3rd, ...)</option>
|
|
41 </param>
|
|
42 <param name="shapiro" type="boolean" checked="false" truevalue="--shapiro" falsevalue="" label="Use cost matrix by Bruce Shapiro" help="--shapiro"/>
|
|
43 <param name="backtrack" type="boolean" checked="false" truevalue="--backtrack" falsevalue="" label="Print an alignment" help="--backtrack"/>
|
|
44 </inputs>
|
|
45 <outputs>
|
|
46 <data format="txt" name="outfile"/>
|
|
47 </outputs>
|
|
48 <tests>
|
2
|
49 <test>
|
|
50 <param name="input" value="rnadistance_input1.fas"/>
|
|
51 <output name="outfile" file="rnadistance_result1.txt"/>
|
|
52 </test>
|
0
|
53 </tests>
|
|
54 <help>
|
|
55 <![CDATA[
|
|
56 **RNAdistance**
|
|
57
|
|
58
|
|
59 -----
|
|
60
|
|
61 **Input format**
|
|
62
|
|
63 RNAdistance requires one input file with the following structure:
|
|
64 1st line: can be a comment line like in Fasta, begins with '>'
|
|
65 2nd line: sequence
|
|
66 3rd line: first secondary structure in dot-bracket notation
|
|
67 4th line: second secondary structure in dot-bracket notation
|
|
68 ...
|
|
69 nth line: another sequence
|
|
70 ...
|
|
71
|
|
72 Several different RNA secondary structures can be specified. The input has a Fasta-like structure but with secondary structure information.
|
|
73
|
|
74
|
|
75 ------
|
|
76
|
|
77 **Outputs**
|
|
78
|
|
79 * distance of the structures
|
|
80 * with the backtrack options it is possible to get alignment ouput
|
|
81
|
|
82
|
|
83 ]]>
|
|
84 </help>
|
|
85 <expand macro="requirements" />
|
|
86 </tool>
|