comparison rnainverse.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="rnainverse" name="RNAinverse" version="2.1.6.0">
2 <description>Calculate RNA sequence from secondary structure</description>
3 <expand macro="requirements" />
4 <expand macro="version_command" />
5 <expand macro="stdio" />
6 <macros>
7 <token name="@EXECUTABLE@">RNAinverse</token>
8 <import>macros.xml</import>
9 </macros>
10 <command>
11 <![CDATA[
12 RNAinverse < $input > $outfile
13 --function=#echo ''.join(str($algo).split(','))#
14 -R$reps
15 --final=$final
16
17 #if $varExists('$advancedOptions.nogu')
18 $advancedOptions.nogu
19 $advancedOptions.noclosinggu
20 $advancedOptions.notetra
21 #end if
22
23 ]]>
24 </command>
25 <inputs>
26 <param format="fasta" name="input" type="data" label="Clustal alignment file"/>
27 <param name="temperature" size="6" type="float" value="37.0" label="Temperature [°C]" help="-T"/>
28
29 <param name="reps" size="6" type="integer" value="1" min="1" label="Find so many sequences that fold close to that structure" help="-R: This parameter could be negative to search for exact solutions, but in that case the program might not terminate. If you need this functionality contact your admin or run the program locally."/>
30
31 <param name="algo" type="select" multiple="true" display="checkboxes" label="Use these functions">
32 <option value="m" selected="true">minimum energy</option>
33 <option value="p">partition function</option>
34 </param>
35 <param name="final" size="6" type="float" value="0.0" label="If partition function is selected this value determines the convergence criterium." help="--final"/>
36
37 <param name="dangling" type="select" label="how to treat dangling end energies" help="-d">
38 <option value="2" selected="true">unpaired bases participate in all dangling ends (2)</option>
39 <option value="0">ignore dangling ends (0)</option>
40 <option value="1">unpaired bases participate in one dangling end only (1)</option>
41 <option value="3">allow coaxial stacking (3)</option>
42 </param>
43
44 <conditional name="advancedOptions">
45 <param name="advancedSelector" type="select" label="advanced options">
46 <option value="basic">basic Options</option>
47 <option value="advanced">advanced Options</option>
48 </param>
49 <when value="advanced">
50 <param name="nogu" type="boolean" checked="false" truevalue="-noGU" falsevalue="" label="No GU pairing" help="--noGU don't allow pairing of G and U."/>
51 <param name="noclosinggu" type="boolean" checked="false" truevalue="--noClosingGU" falsevalue="" label="No GU pairing at the ends" help="--noClosingGU don't allow pairing of G and U at the ends of helices."/>
52 <param name="notetra" type="boolean" checked="false" truevalue="--noTetra" falsevalue="" label="No stabilization for loops, hairpins etc." help="--noTetra"/>
53 </when>
54 </conditional>
55 </inputs>
56 <outputs>
57 <data format="txt" name="outfile"/>
58 </outputs>
59 <tests>
60 </tests>
61 <help>
62 <![CDATA[
63 **RNAinverse**
64
65 The program searches for sequences folding into a predefined structure, thereby inverting the folding algorithm. For each search the best sequence found and its Hamming distance to the start sequence are printed. If the the search was unsuccessful, a structure distance to the target is appended.
66
67
68 -----
69
70 **Input format**
71
72 Input is similar to a Fasta file. First line should be the structure in dot-bracket notation, second line the starting sequence. Lines with '>' in the beginning are treated as comments. Characters in the start sequence other than "AUGC" will be treated as wild cards and replaced by a random character. Any lower case characters in the start sequence will be kept fixed during the search. If necessary, the sequence will be elongated to the length of the structure. Thus a string of "N"s as well as a blank line specify a random start sequence.
73
74 ------
75
76 **Outputs**
77
78 - text output of each sequence with its Hamming distance and/or the energy if the partition function is selected
79
80 ]]>
81 </help>
82 <expand macro="requirements" />
83 </tool>