annotate rnadistance.xml @ 1:ec0fdb8c4ebb draft

Uploaded
author rnateam
date Wed, 04 Feb 2015 12:45:16 -0500
parents 78d673470d45
children 5e58cbf27a05
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
1 <tool id="rnadistance" name="RNAdistance" version="2.1.6.0">
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
2 <description>Calculate distance between secondary structures of two RNAs</description>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
3 <expand macro="requirements" />
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
4 <expand macro="version_command" />
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
5 <expand macro="stdio" />
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
6 <macros>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
7 <token name="@EXECUTABLE@">RNAdistance</token>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
8 <import>macros.xml</import>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
9 </macros>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
10 <command>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
11 <![CDATA[
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
12 RNAdistance < $input > $outfile
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
13 --distance=#echo ''.join(str($distance).split(','))#
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
14 --compare=$compare
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
15 $shapiro
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
16 $backtrack
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
17 #if $backtrack and str($compare)=="m"
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
18 ; cat backtrack.file >> $outfile
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
19 #end if
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
20 ]]>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
21 </command>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
22
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
23 <inputs>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
24 <param name="input" type="data" label="Primary and secondary stuctures file"/>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
25 <param name="distance" type="select" multiple="true" display="checkboxes" label="Representation to calculate the distance / alignment option">
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
26 <option value="f" selected="true">full/tree</option>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
27 <option value="F">full/string</option>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
28 <option value="h">hit/tree</option>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
29 <option value="H">hit/string</option>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
30 <option value="w">weighted coarse/tree</option>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
31 <option value="W">weighted coarse/string</option>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
32 <option value="c">coarse/tree</option>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
33 <option value="C">coarse/string</option>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
34 <validator type="no_options" message="Please select at least one type."/>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
35 </param>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
36 <param name="compare" type="select" label="Comparison Option" help="-d">
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
37 <option value="p" selected="True">p: pairwise (1st with 2nd, 3rd with 4th, ...)</option>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
38 <option value="m">m: matrix (each with each, output in matrix form)</option>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
39 <option value="f" >f: first (1st with 2nd, 1st with 3rd, ...)</option>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
40 <option value="c">c: continuous (1st with 2nd, 2nd with 3rd, ...)</option>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
41 </param>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
42 <param name="shapiro" type="boolean" checked="false" truevalue="--shapiro" falsevalue="" label="Use cost matrix by Bruce Shapiro" help="--shapiro"/>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
43 <param name="backtrack" type="boolean" checked="false" truevalue="--backtrack" falsevalue="" label="Print an alignment" help="--backtrack"/>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
44 </inputs>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
45 <outputs>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
46 <data format="txt" name="outfile"/>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
47 </outputs>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
48 <tests>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
49 </tests>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
50 <help>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
51 <![CDATA[
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
52 **RNAdistance**
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
53
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
54
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
55 -----
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
56
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
57 **Input format**
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
58
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
59 RNAdistance requires one input file with the following structure:
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
60 1st line: can be a comment line like in Fasta, begins with '>'
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
61 2nd line: sequence
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
62 3rd line: first secondary structure in dot-bracket notation
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
63 4th line: second secondary structure in dot-bracket notation
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
64 ...
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
65 nth line: another sequence
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
66 ...
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
67
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
68 Several different RNA secondary structures can be specified. The input has a Fasta-like structure but with secondary structure information.
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
69
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
70
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
71 ------
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
72
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
73 **Outputs**
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
74
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
75 * distance of the structures
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
76 * with the backtrack options it is possible to get alignment ouput
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
77
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
78
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
79 ]]>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
80 </help>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
81 <expand macro="requirements" />
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
82 </tool>