0
|
1 <tool id="rnaplex" name="RNAplex" version="2.1.6.0">
|
|
2 <description>Find targets of a query RNA</description>
|
|
3 <expand macro="requirements" />
|
|
4 <expand macro="version_command" />
|
|
5 <expand macro="stdio" />
|
|
6 <macros>
|
|
7 <token name="@EXECUTABLE@">RNAplex</token>
|
|
8 <import>macros.xml</import>
|
|
9 </macros>
|
|
10 <command>
|
|
11 <![CDATA[
|
|
12 RNAplex
|
|
13 #if str($clustalOption.clustalFlag) == "clustal"
|
|
14 --alignment-mode
|
|
15 -q$input1 -t$input2
|
|
16 #else
|
|
17 < $input
|
|
18 #end if
|
|
19 -T$temperature
|
|
20 --interaction-length=$maxLength
|
|
21 --extension-cost=$extensionCost
|
|
22 --scale-accessibility=$scaleAccessibility
|
|
23 $constraint
|
|
24
|
|
25
|
|
26 #if $varExists('clustalOption.meltingOption.probeConc')
|
|
27 --probe-mode
|
|
28 --probe-concentration=$clustalOption.meltingOption.probeConc
|
|
29 --na-concentration=$clustalOption.meltingOption.naConc
|
|
30 --mg-concentration=$clustalOption.meltingOption.mgConc
|
|
31 --k-concentration=$clustalOption.meltingOption.kConc
|
|
32 --tris-concentration=$clustalOption.meltingOption.trisConc
|
|
33 #end if
|
|
34
|
|
35
|
|
36
|
|
37 #if $varExists('$advancedOptions.duplexDistance')
|
|
38 --fast-folding=$advancedOptions.fastFolding
|
|
39 --duplex-distance=$advancedOptions.duplexDistance
|
|
40 --energy-threshold=$advancedOptions.enThreshold
|
|
41 #end if
|
|
42 > $output
|
|
43 ]]>
|
|
44 </command>
|
|
45
|
|
46 <inputs>
|
|
47 <conditional name="clustalOption">
|
|
48 <param name="clustalFlag" type="select" label="Input options">
|
|
49 <option value="fasta" selected="true">Fasta input file</option>
|
|
50 <option value="clustal">Clustalw input files</option>
|
|
51 </param>
|
|
52 <when value="fasta">
|
|
53 <param format="fasta" name="input" type="data" label="Fasta file"/>
|
|
54 <conditional name="meltingOption">
|
|
55 <param name="meltingSelector" type="select" label="calculate melting temperature">
|
|
56 <option value="no" selected="true">no</option>
|
|
57 <option value="yes">yes</option>
|
|
58 </param>
|
|
59 <when value="yes">
|
|
60 <param name="probeConc" type="float" value="0.1" label="Concentration of the probe" help="--probe-concentration"/>
|
|
61 <param name="naConc" type="float" value="1.0" label="Na concentration" help="--na-concentration"/>
|
|
62 <param name="mgConc" type="float" value="1.0" label="Mg concentration" help="--mg-concentration"/>
|
|
63 <param name="kConc" type="float" value="1.0" label="K concentration" help="--k-concentration"/>
|
|
64 <param name="trisConc" type="float" value="1.0" label="Tris concentration" help="--tris-concentration"/>
|
|
65 </when>
|
|
66 </conditional>
|
|
67 </when>
|
|
68 <when value="clustal">
|
|
69 <param format="txt" name="input1" type="data" label="Clustal file / Query sequences"/>
|
|
70 <param format="txt" name="input2" type="data" label="Clustal file / Target sequences"/>
|
|
71 </when>
|
|
72 </conditional>
|
|
73 <param name="temperature" size="8" type="float" value="37.0" label="temperature [°C]" help="-T"/>
|
|
74 <param name="maxLength" type="integer" min="0" value="40" label="maximal interaction length" help="--interaction-length"/>
|
|
75 <param name="extensionCost" type="integer" value="0" label="extension cost" help="--extension-cost"/>
|
|
76 <param name="extensionCost" type="integer" value="0" label="extension cost" help="--extension-cost"/>
|
|
77 <param name="scaleAccessibility" size="8" type="float" value="1.0" label="scale all opening energy by a factor" help="--scale-accessibility"/>
|
|
78 <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"/>
|
|
79
|
|
80
|
|
81 <conditional name="advancedOptions">
|
|
82 <param name="advancedSelector" type="select" label="advanced options">
|
|
83 <option value="basic">basic Options</option>
|
|
84 <option value="advanced">advanced Options</option>
|
|
85 </param>
|
|
86 <when value="advanced">
|
|
87 <param name="fastFolding" type="select" label="Backtracking" help="--fast-folding">
|
|
88 <option value="0" selected="true">based on standard energy model (0) - normal</option>
|
|
89 <option value="2">based on approximate plex model (2) - faster</option>
|
|
90 <option value="1">no recomputation (1) - fastest</option>
|
|
91 </param>
|
|
92 <param name="duplexDistance" type="integer" value="0" label="Distance between target 3' ends of two consecutive duplexes" help="--duplex-distance"/>
|
|
93 <param name="enThreshold" size="8" type="float" value="-100000" label="Minimum Energy Gain for a Duplex [kcal/mol]" help="--energy-threshold"/>
|
|
94 </when>
|
|
95 </conditional>
|
|
96 </inputs>
|
|
97 <outputs>
|
|
98 <data format="txt" name="output"/>
|
|
99 </outputs>
|
|
100 <tests>
|
2
|
101 <test>
|
|
102 <param name="input" value="rnaplex_input1.fa"/>
|
|
103 <output name="out_file" file="rnaplex_result1.txt"/>
|
|
104 </test>
|
0
|
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="requirements" />
|
|
130 </tool>
|