0
|
1 <tool id="rnasnoop" name="RNAsnoop" version="2.1.6.0">
|
|
2 <description> Find targets of a query H/ACA snoRNA</description>
|
|
3 <expand macro="requirements" />
|
|
4 <expand macro="version_command" />
|
|
5 <expand macro="stdio" />
|
|
6 <macros>
|
|
7 <token name="@EXECUTABLE@">RNAsnoop</token>
|
|
8 <import>macros.xml</import>
|
|
9 </macros>
|
|
10 <command>
|
|
11 <![CDATA[
|
|
12 RNAsnoop --query=$input1 --target=$input2 > $output
|
2
|
13 --alignmentLength=$length
|
0
|
14 $constraint
|
|
15 --energy-threshold=$energyThreshold
|
|
16 #if $varExists('$advancedOptions.extensioncost')
|
|
17 $advancedOptions.fast
|
|
18 --extension-cost=$advancedOptions.extensioncost
|
|
19 --minimal-right-duplex=$advancedOptions.minrightduplex
|
|
20 --minimal-loop-energy=$advancedOptions.minloop
|
|
21 --minimal-left-duplex=$advancedOptions.minleftduplex
|
|
22 --minimal-duplex=$advancedOptions.minduplex
|
|
23 --duplex-distance=$advancedOptions.duplexdist
|
|
24 --minimal-stem-length=$advancedOptions.minstemlength
|
|
25 --maximal-stem-length=$advancedOptions.maxstemlength
|
|
26 --minimal-duplex-box-length=$advancedOptions.minbox
|
|
27 --maximal-duplex-box-length=$advancedOptions.maxbox
|
|
28 --minimal-snoRNA-stem-loop-length=$advancedOptions.minsnornastem
|
|
29 --maximal-snoRNA-stem-loop-length=$advancedOptions.maxsnornastem
|
|
30 --minimal-snoRNA-duplex-length=$advancedOptions.minsnornaduplex
|
|
31 --maximal-snoRNA-duplex-length=$advancedOptions.maxsnornaduplex
|
|
32 --minimal-duplex-stem-energy=$advancedOptions.minduplexstem
|
|
33 --minimal-total-energy=$advancedOptions.mintotal
|
|
34 --maximal-stem-asymmetry=$advancedOptions.maxstemasymmetry
|
|
35 --minimal-lower-stem-energy=$advancedOptions.minstemenergy
|
|
36 #end if
|
|
37 #if $filetypeOptions.filetypeSelector == "fasta"
|
|
38 ; tar -cf $imagesFile *.ps
|
|
39 #else
|
|
40 --alignment-mode
|
|
41 #end if
|
|
42 ]]>
|
|
43 </command>
|
|
44
|
|
45 <inputs>
|
|
46 <conditional name="filetypeOptions">
|
|
47 <param name="filetypeSelector" type="select" label="Select Filetype">
|
|
48 <option value="fasta" selected="true">Fasta</option>
|
|
49 <option value="clustal">Clustal</option>
|
|
50 </param>
|
|
51 <when value="fasta">
|
|
52 <param format="fasta" name="input1" type="data" label="Query sequences"/>
|
|
53 <param format="fasta" name="input2" type="data" label="Target sequences"/>
|
|
54 </when>
|
|
55 <when value="clustal">
|
|
56 <param format="txt" name="input1" type="data" label="Query sequences"/>
|
|
57 <param format="txt" name="input2" type="data" label="Target sequences"/>
|
|
58 </when>
|
|
59 </conditional>
|
|
60
|
|
61
|
|
62 <param name="length" type="integer" min="0" value="25" label="Maximal alignment length" help="--alignmentLength"/>
|
|
63 <param name="constraint" type="boolean" truevalue="--constraint" falsevalue="" checked="false" label="Calculate the stem structure subject to constraints" help="--constraint"/>
|
|
64 <param name="energyThreshold" size="8" type="float" value="-1.0" label="Maximal energy difference between the mfe and the desired suboptimal structure" help="--energy-threshold"/>
|
|
65
|
|
66 <conditional name="advancedOptions">
|
|
67 <param name="advancedSelector" type="select" label="advanced options">
|
|
68 <option value="basic">basic Options</option>
|
|
69 <option value="advanced">advanced Options</option>
|
|
70 </param>
|
|
71 <when value="advanced">
|
|
72 <param name="fast" type="boolean" truevalue="--fast-folding=1" falsevalue="--fast-folding=0" checked="true" label="Backtracking based on the standard energy model" help="--fast-folding"/>
|
|
73 <param name="extensioncost" type="integer" value="0" label="Cost to add each nucleotide in a duplex" help="--extension-cost"/>
|
|
74 <param name="minrightduplex" type="integer" value="-270" label="Minimal right duplex energy" help="--minimal-right-duplex"/>
|
|
75 <param name="minloop" type="integer" value="-280" label="Minimal Loop energy" help="--minimal-loop-energy"/>
|
|
76 <param name="minleftduplex" type="integer" value="-170" label="Minimal left duplex energy" help="--minimal-left-duplex"/>
|
|
77 <param name="minduplex" type="integer" value="-1090" label="Minimal duplex energy" help="--minimal-duplex"/>
|
|
78 <param name="duplexdist" type="integer" value="2" label="Distance between target 3' ends of two consecutive duplexes" help="--duplex-distance"/>
|
|
79 <param name="minstemlength" type="integer" value="5" label="Minimal snoRNA stem length" help="--minimal-stem-length"/>
|
|
80 <param name="maxstemlength" type="integer" value="120" label="Maximal snoRNA stem length" help="--maximal-stem-length"/>
|
|
81 <param name="minbox" type="integer" value="11" label="Minimal distance between the duplex end and the H/ACA box" help="--minimal-duplex-box-length"/>
|
|
82 <param name="maxbox" type="integer" value="16" label="Maximal distance between the duplex end and the H/ACA box" help="--maximal-duplex-box-length"/>
|
|
83 <param name="minsnornastem" type="integer" value="1" label="Minimal distance between the stem loop and the snoRNA sequence" help="--minimal-snoRNA-stem-loop-length"/>
|
|
84 <param name="maxsnornastem" type="integer" value="100000" label="Maximal distance between the stem loop and the snoRNA sequence" help="--maximal-snoRNA-stem-loop-length"/>
|
|
85 <param name="minsnornaduplex" type="integer" value="0" label="Minimal distance between the duplex and the snoRNA sequence" help="--minimal-snoRNA-duplex-length"/>
|
|
86 <param name="maxsnornaduplex" type="integer" value="0" label="Maximal distance between the duplex and the snoRNA sequence" help="--maximal-snoRNA-duplex-length"/>
|
|
87 <param name="minduplexstem" type="integer" value="-1370" label="Minimal duplex stem energy" help="--minimal-duplex-stem-energy"/>
|
|
88 <param name="mintotal" type="integer" value="100000" label="Minimal total energy" help="--minimal-total-energy"/>
|
|
89 <param name="maxstemasymmetry" type="integer" value="30" label="Maximal snoRNA stem asymmetry" help="--maximal-stem-asymmetry"/>
|
|
90 <param name="minstemenergy" type="integer" value="100000" label="Minimal lower stem energy" help="--minimal-lower-stem-energy"/>
|
|
91 </when>
|
|
92 </conditional>
|
|
93 </inputs>
|
|
94 <outputs>
|
|
95 <data format="txt" name="output"/>
|
|
96 <data format="tar" name="imagesFile">
|
|
97 <filter>filetypeOptions['filetypeSelector'] == "fasta"</filter>
|
|
98 </data>
|
|
99
|
|
100 </outputs>
|
|
101 <tests>
|
2
|
102 <test>
|
|
103 <param name="input1" value="rnasnoop_input1b.fa"/>
|
|
104 <param name="input2" value="rnasnoop_input1a.fa"/>
|
|
105 <output name="output" file="rnasnoop_result1.txt"/>
|
|
106 </test>
|
0
|
107 </tests>
|
|
108 <help>
|
|
109 <![CDATA[
|
|
110
|
|
111 **RNAsnoop**
|
|
112
|
|
113 reads a target RNA sequence and a H/ACA snoRNA sequence from a target and query file, respectively and computes optimal and suboptimal secondary structures for their hybridization. The calculation can be done roughly done in O(nm), where is n the length of the target sequence and m is the length of the snoRNA stem, as it is specially tailored to the special case of H/ACA snoRNA. For general purpose target predictions, please have a look at RNAduplex, RNAup, RNAcofold and RNAplex.
|
|
114
|
|
115
|
|
116 -----
|
|
117
|
|
118 **Input format**
|
|
119
|
|
120 RNAsnoop requires two input files
|
|
121
|
|
122 - either two Fasta files
|
|
123 - or two Clustal alignment files
|
|
124
|
|
125 ------
|
|
126
|
|
127 **Outputs**
|
|
128
|
|
129 The computed optimal and suboptimal structure are given, one structure per line. Each line consist of: The structure in dot bracket format with a "&" separating the two strands. The '<>' brackets represent snoRNA intramolecular interactions, while the '()' brackets represent intermolecular interactions between the snoRNA and its target.
|
|
130 The range of the structure in the two sequences in the format "from,to : from,to"; the energy of duplex structure in kcal/mol. If available the opening energy are also returned.
|
|
131
|
|
132
|
|
133 ]]>
|
|
134 </help>
|
|
135 <expand macro="requirements" />
|
|
136 </tool>
|