comparison rnasubopt.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="rnasubopt" name="RNAsubopt" version="2.1.6.0">
2 <description>Calculates suboptimal secondary structures of RNAs</description>
3 <expand macro="requirements" />
4 <expand macro="version_command" />
5 <expand macro="stdio" />
6 <macros>
7 <token name="@EXECUTABLE@">RNAsubopt</token>
8 <import>macros.xml</import>
9 </macros>
10 <command>
11 <![CDATA[
12 RNAsubopt < $input > $output
13 -T$temperature
14 --dangles=$dangling
15 #if $methodOption.methodSelector == "range"
16 --deltaEnergy=$methodOption.deltaenergy
17 #else
18 --stochBT=$methodOption.stochastic
19 #end if
20 #if $outputOption.outputSelector == "yes"
21 --deltaEnergyPost=$deltaenergypost
22 #end if
23 $constraint
24 $sorted
25 $dos
26 $zuker
27 #if $varExists('$advancedOptions.nolp')
28 $advancedOptions.noconv
29 $advancedOptions.nolp
30 $advancedOptions.nogu
31 $advancedOptions.noclosinggu
32 $advancedOptions.notetra
33 $advancedOptions.logml
34 #end if
35 ]]>
36 </command>
37
38 <inputs>
39 <param format="fasta" name="input" type="data" label="Fasta file"/>
40 <param name="temperature" size="8" type="float" value="37.0" label="temperature [°C]" help="-T"/>
41 <param name="dangling" type="select" label="how to treat dangling end energies" help="-d">
42 <option value="2" selected="true">unpaired bases participate in all dangling ends (2)</option>
43 <option value="0">ignore dangling ends (0)</option>
44 <option value="1">unpaired bases participate in one dangling end only (1)</option>
45 <option value="3">allow coaxial stacking (3)</option>
46 </param>
47 <param name="constraint" type="boolean" truevalue="--constraint" falsevalue="" checked="false" label="Constraints for the secondary structure" help="--constraint"/>
48 <param name="sorted" type="boolean" truevalue="--sorted" falsevalue="" checked="false" label="Sort the secondary structures by energy" help="--sorted"/>
49 <param name="dos" type="boolean" truevalue="--dos" falsevalue="" checked="false" label="Calculate the density of states instead of the structure" help="--dos"/>
50 <param name="zuker" type="boolean" truevalue="--zuker" falsevalue="" checked="false" label="Calculate the Zuker suboptimals instead of the structures within a range." help="--zuker"/>
51
52 <conditional name="methodOption">
53 <param name="methodSelector" type="select" label="select algorithm">
54 <option value="range" selected="true">energy range</option>
55 <option value="stochastic">choose stochastically</option>
56 </param>
57 <when value="stochastic">
58 <param name="stochastic" type="integer" value="1" label="Calculate this number of suboptimal structures chosen stochastically" help="--stochBT"/>
59 </when>
60 <when value="range">
61 <param name="deltaenergy" size="8" type="float" value="1.0" label="Range of energy for the suboptimal structures." help="--deltaEnergy"/>
62 </when>
63 </conditional>
64
65 <conditional name="outputOption">
66 <param name="outputSelector" type="select" label="select output restriction">
67 <option value="no" selected="true">no restriction</option>
68 <option value="yes">restricted output</option>
69 </param>
70 <when value="no"/>
71 <when value="yes">
72 <param name="deltaenergypost" size="8" type="float" value="0.0" label="Print only those structures that have a smaller difference in energy than the mfe." help="--deltaEnergyPost"/>
73 </when>
74 </conditional>
75
76 <conditional name="advancedOptions">
77 <param name="advancedSelector" type="select" label="advanced options">
78 <option value="basic">basic Options</option>
79 <option value="advanced">advanced Options</option>
80 </param>
81 <when value="advanced">
82 <param name="circ" type="boolean" truevalue="--circ" falsevalue="" checked="false" label="Assume circular RNA structure" help="--circ"/>
83 <param name="noconv" type="boolean" truevalue="--noconv" falsevalue="" checked="false" label="No conversion of T -> U" help="--noconv"/>
84 <param name="nolp" type="boolean" truevalue="--noLP" falsevalue="" checked="false" label="No lonely pairs" help="--noLP don't allow lonely pairs."/>
85 <param name="nogu" type="boolean" truevalue="--noGU" falsevalue="" checked="false" label="No GU pairing" help="--noGU don't allow pairing of G and U."/>
86 <param name="noclosinggu" type="boolean" truevalue="--noClosingGU" falsevalue="" checked="false" label="No GU pairing at the ends" help="--noClosingGU don't allow pairing of G and U at the ends of helices."/>
87 <param name="notetra" type="boolean" truevalue="--noTetra" falsevalue="" checked="false" label="No stabilization for loops, hairpins etc." help="--noTetra"/>
88 <param name="logml" type="boolean" truevalue="--logML" falsevalue="" checked="false" label="Recalculate energies of structures using a logarithmic energy function for multi-loops" help="--logML"/>
89 </when>
90 </conditional>
91 </inputs>
92 <outputs>
93 <data format="txt" name="output"/>
94 </outputs>
95 <tests>
96 </tests>
97 <help>
98 <![CDATA[
99
100 **RNAsubopt**
101
102 In the default -e mode RNAsubopt calculates all suboptimal secondary structures within a user defined energy range above the minimum free energy (mfe). It prints the suboptimal structures in dot-bracket notation followed by the energy in kcal/mol to stdout. Be careful, the number of structures returned grows exponentially with both sequence length and energy range.
103
104 Alternatively, when used with the -p option, RNAsubopt produces Boltzmann weighted samples of secondary structures.
105
106
107 -----
108
109 **Input format**
110
111 RNAsubopt requires one input file
112
113 - fasta file
114
115
116 ------
117
118 **Outputs**
119
120 - secondary structure in dot-bracket format
121
122
123 ]]>
124 </help>
125 <expand macro="requirements" />
126 </tool>