comparison rnadistance.xml @ 0:78d673470d45 draft

Imported from capsule None
author rnateam
date Wed, 04 Feb 2015 12:05:27 -0500
parents
children 5e58cbf27a05
comparison
equal deleted inserted replaced
-1:000000000000 0:78d673470d45
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>
49 </tests>
50 <help>
51 <![CDATA[
52 **RNAdistance**
53
54
55 -----
56
57 **Input format**
58
59 RNAdistance requires one input file with the following structure:
60 1st line: can be a comment line like in Fasta, begins with '>'
61 2nd line: sequence
62 3rd line: first secondary structure in dot-bracket notation
63 4th line: second secondary structure in dot-bracket notation
64 ...
65 nth line: another sequence
66 ...
67
68 Several different RNA secondary structures can be specified. The input has a Fasta-like structure but with secondary structure information.
69
70
71 ------
72
73 **Outputs**
74
75 * distance of the structures
76 * with the backtrack options it is possible to get alignment ouput
77
78
79 ]]>
80 </help>
81 <expand macro="requirements" />
82 </tool>