comparison rnaplex.xml @ 0:283a7479bd3f 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:32:55 -0500
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:283a7479bd3f
1 <tool id="viennarna_rnaplex" name="@EXECUTABLE@" version="@VERSION@.0">
2 <description>Find targets of a query RNA</description>
3
4 <macros>
5 <token name="@EXECUTABLE@">RNAplex</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 RNAplex
14 #if str($clustalOption.clustalFlag) == "clustal"
15 --alignment-mode
16 -q'$input1' -t'$input2'
17 #else
18 < '$input'
19 #end if
20 -T$temperature
21 --interaction-length=$maxLength
22 --extension-cost=$extensionCost
23 --scale-accessibility=$scaleAccessibility
24 $constraint
25 #if $varExists('clustalOption.meltingOption.probeConc')
26 --probe-mode
27 --probe-concentration=$clustalOption.meltingOption.probeConc
28 --na-concentration=$clustalOption.meltingOption.naConc
29 --mg-concentration=$clustalOption.meltingOption.mgConc
30 --k-concentration=$clustalOption.meltingOption.kConc
31 --tris-concentration=$clustalOption.meltingOption.trisConc
32 #end if
33 #if $varExists('$advancedOptions.duplexDistance')
34 --fast-folding=$advancedOptions.fastFolding
35 --duplex-distance=$advancedOptions.duplexDistance
36 --energy-threshold=$advancedOptions.enThreshold
37 #end if
38 > '$output'
39 ]]>
40 </command>
41
42 <inputs>
43 <conditional name="clustalOption">
44 <param name="clustalFlag" type="select" label="Input options">
45 <option value="fasta" selected="true">Fasta input file</option>
46 <option value="clustal">Clustalw input files</option>
47 </param>
48 <when value="fasta">
49 <param format="fasta" name="input" type="data" label="Fasta file"/>
50 <conditional name="meltingOption">
51 <param name="meltingSelector" type="select" label="calculate melting temperature">
52 <option value="no" selected="true">no</option>
53 <option value="yes">yes</option>
54 </param>
55 <when value="yes">
56 <param name="probeConc" type="float" value="0.1" label="Concentration of the probe" help="--probe-concentration"/>
57 <param name="naConc" type="float" value="1.0" label="Na concentration" help="--na-concentration"/>
58 <param name="mgConc" type="float" value="1.0" label="Mg concentration" help="--mg-concentration"/>
59 <param name="kConc" type="float" value="1.0" label="K concentration" help="--k-concentration"/>
60 <param name="trisConc" type="float" value="1.0" label="Tris concentration" help="--tris-concentration"/>
61 </when>
62 <when value="no">
63 </when>
64 </conditional>
65 </when>
66 <when value="clustal">
67 <param format="txt" name="input1" type="data" label="Clustal file / Query sequences"/>
68 <param format="txt" name="input2" type="data" label="Clustal file / Target sequences"/>
69 </when>
70 </conditional>
71 <param name="temperature" type="float" value="37.0" label="temperature [°C]" help="-T"/>
72 <param name="maxLength" type="integer" min="0" value="40" label="maximal interaction length" help="--interaction-length"/>
73 <param name="extensionCost" type="integer" value="0" label="extension cost" help="--extension-cost"/>
74 <param name="extensionCost" type="integer" value="0" label="extension cost" help="--extension-cost"/>
75 <param name="scaleAccessibility" type="float" value="1.0" label="scale all opening energy by a factor" help="--scale-accessibility"/>
76 <param name="constraint" type="boolean" truevalue="--constraint" falsevalue="" checked="false" label="Calculate structures subject to constraints. Constraints have to be given in the input file" help="--constraint"/>
77
78
79 <conditional name="advancedOptions">
80 <param name="advancedSelector" type="select" label="advanced options">
81 <option value="basic">basic Options</option>
82 <option value="advanced">advanced Options</option>
83 </param>
84 <when value="advanced">
85 <param name="fastFolding" type="select" label="Backtracking" help="--fast-folding">
86 <option value="0" selected="true">based on standard energy model (0) - normal</option>
87 <option value="2">based on approximate plex model (2) - faster</option>
88 <option value="1">no recomputation (1) - fastest</option>
89 </param>
90 <param name="duplexDistance" type="integer" value="0" label="Distance between target 3' ends of two consecutive duplexes" help="--duplex-distance"/>
91 <param name="enThreshold" type="float" value="-100000" label="Minimum Energy Gain for a Duplex [kcal/mol]" help="--energy-threshold"/>
92 </when>
93 <when value="basic">
94 </when>
95 </conditional>
96 </inputs>
97 <outputs>
98 <data format="txt" name="output"/>
99 </outputs>
100 <tests>
101 <test>
102 <param name="input" value="rnaplex_input1.fa"/>
103 <output name="out_file" file="rnaplex_result1.txt"/>
104 </test>
105 </tests>
106 <help>
107 <![CDATA[
108
109 **RNAplex**
110
111 Computes optimal and suboptimal secondary structures for their hybridization. The calculation is simplified by allowing only inter-molecular base pairs.
112
113
114 -----
115
116 **Input format**
117
118 RNALplex requires either one Fasta file or two Clustal files as input
119
120 ------
121
122 **Outputs**
123
124 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 range of the structure in the two sequences in the format "from,to : from,to"; the energy of duplex structure in kcal/mol.
125
126
127 ]]>
128 </help>
129 <expand macro="citations" />
130 </tool>