comparison rnasnoop.xml @ 0:c4a5139922f6 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:36:54 -0500
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:c4a5139922f6
1 <tool id="viennarna_rnasnoop" name="@EXECUTABLE@" version="@VERSION@.0">
2 <description> Find targets of a query H/ACA snoRNA</description>
3
4 <macros>
5 <token name="@EXECUTABLE@">RNAsnoop</token>
6 <import>macros.xml</import>
7 </macros>
8 <expand macro="requirements" />
9 <expand macro="stdio" />
10 <expand macro="version_command" />
11 <command>
12 <![CDATA[
13 RNAsnoop --query='$input1' --target='$input2' > '$output'
14 --alignmentLength=$length
15 $constraint
16 --energy-threshold=$energyThreshold
17 #if $varExists('$advancedOptions.extensioncost')
18 $advancedOptions.fast
19 --extension-cost=$advancedOptions.extensioncost
20 --minimal-right-duplex=$advancedOptions.minrightduplex
21 --minimal-loop-energy=$advancedOptions.minloop
22 --minimal-left-duplex=$advancedOptions.minleftduplex
23 --minimal-duplex=$advancedOptions.minduplex
24 --duplex-distance=$advancedOptions.duplexdist
25 --minimal-stem-length=$advancedOptions.minstemlength
26 --maximal-stem-length=$advancedOptions.maxstemlength
27 --minimal-duplex-box-length=$advancedOptions.minbox
28 --maximal-duplex-box-length=$advancedOptions.maxbox
29 --minimal-snoRNA-stem-loop-length=$advancedOptions.minsnornastem
30 --maximal-snoRNA-stem-loop-length=$advancedOptions.maxsnornastem
31 --minimal-snoRNA-duplex-length=$advancedOptions.minsnornaduplex
32 --maximal-snoRNA-duplex-length=$advancedOptions.maxsnornaduplex
33 --minimal-duplex-stem-energy=$advancedOptions.minduplexstem
34 --minimal-total-energy=$advancedOptions.mintotal
35 --maximal-stem-asymmetry=$advancedOptions.maxstemasymmetry
36 --minimal-lower-stem-energy=$advancedOptions.minstemenergy
37 #end if
38 #if $filetypeOptions.filetypeSelector == "fasta"
39 && tar -cf '$imagesFile' *.ps
40 #else
41 --alignment-mode
42 #end if
43 ]]>
44 </command>
45
46 <inputs>
47 <conditional name="filetypeOptions">
48 <param name="filetypeSelector" type="select" label="Select Filetype">
49 <option value="fasta" selected="true">Fasta</option>
50 <option value="clustal">Clustal</option>
51 </param>
52 <when value="fasta">
53 <param format="fasta" name="input1" type="data" label="Query sequences"/>
54 <param format="fasta" name="input2" type="data" label="Target sequences"/>
55 </when>
56 <when value="clustal">
57 <param format="txt" name="input1" type="data" label="Query sequences"/>
58 <param format="txt" name="input2" type="data" label="Target sequences"/>
59 </when>
60 </conditional>
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" 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 <when value="basic">
93 </when>
94 </conditional>
95 </inputs>
96 <outputs>
97 <data format="txt" name="output"/>
98 <data format="tar" name="imagesFile">
99 <filter>filetypeOptions['filetypeSelector'] == "fasta"</filter>
100 </data>
101
102 </outputs>
103 <tests>
104 <test>
105 <param name="input1" value="rnasnoop_input1b.fa"/>
106 <param name="input2" value="rnasnoop_input1a.fa"/>
107 <output name="output" file="rnasnoop_result1.txt"/>
108 </test>
109 </tests>
110 <help>
111 <![CDATA[
112
113 **RNAsnoop**
114
115 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.
116
117
118 -----
119
120 **Input format**
121
122 RNAsnoop requires two input files
123
124 - either two Fasta files
125 - or two Clustal alignment files
126
127 ------
128
129 **Outputs**
130
131 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.
132 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.
133
134
135 ]]>
136 </help>
137 <expand macro="citations" />
138 </tool>