annotate rnainverse.xml @ 2:5e58cbf27a05 draft

Uploaded
author rnateam
date Mon, 09 Feb 2015 13:26:11 -0500
parents 78d673470d45
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
1 <tool id="rnainverse" name="RNAinverse" version="2.1.6.0">
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
2 <description>Calculate RNA sequence from secondary structure</description>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
3 <expand macro="requirements" />
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
4 <expand macro="version_command" />
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
5 <expand macro="stdio" />
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
6 <macros>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
7 <token name="@EXECUTABLE@">RNAinverse</token>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
8 <import>macros.xml</import>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
9 </macros>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
10 <command>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
11 <![CDATA[
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
12 RNAinverse < $input > $outfile
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
13 --function=#echo ''.join(str($algo).split(','))#
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
14 -R$reps
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
15 --final=$final
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
16
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
17 #if $varExists('$advancedOptions.nogu')
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
18 $advancedOptions.nogu
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
19 $advancedOptions.noclosinggu
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
20 $advancedOptions.notetra
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
21 #end if
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
22
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
23 ]]>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
24 </command>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
25 <inputs>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
26 <param format="fasta" name="input" type="data" label="Clustal alignment file"/>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
27 <param name="temperature" size="6" type="float" value="37.0" label="Temperature [°C]" help="-T"/>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
28
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
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."/>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
30
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
31 <param name="algo" type="select" multiple="true" display="checkboxes" label="Use these functions">
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
32 <option value="m" selected="true">minimum energy</option>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
33 <option value="p">partition function</option>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
34 </param>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
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"/>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
36
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
37 <param name="dangling" type="select" label="how to treat dangling end energies" help="-d">
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
38 <option value="2" selected="true">unpaired bases participate in all dangling ends (2)</option>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
39 <option value="0">ignore dangling ends (0)</option>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
40 <option value="1">unpaired bases participate in one dangling end only (1)</option>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
41 <option value="3">allow coaxial stacking (3)</option>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
42 </param>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
43
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
44 <conditional name="advancedOptions">
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
45 <param name="advancedSelector" type="select" label="advanced options">
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
46 <option value="basic">basic Options</option>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
47 <option value="advanced">advanced Options</option>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
48 </param>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
49 <when value="advanced">
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
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."/>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
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."/>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
52 <param name="notetra" type="boolean" checked="false" truevalue="--noTetra" falsevalue="" label="No stabilization for loops, hairpins etc." help="--noTetra"/>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
53 </when>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
54 </conditional>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
55 </inputs>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
56 <outputs>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
57 <data format="txt" name="outfile"/>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
58 </outputs>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
59 <tests>
2
5e58cbf27a05 Uploaded
rnateam
parents: 0
diff changeset
60 <test>
5e58cbf27a05 Uploaded
rnateam
parents: 0
diff changeset
61 <param name="input" value="rnainverse_input1.fas"/>
5e58cbf27a05 Uploaded
rnateam
parents: 0
diff changeset
62 <output name="outfile">
5e58cbf27a05 Uploaded
rnateam
parents: 0
diff changeset
63 <assert_contents>
5e58cbf27a05 Uploaded
rnateam
parents: 0
diff changeset
64 <has_line_matching expression="^gggccccnnaauun.*"/>
5e58cbf27a05 Uploaded
rnateam
parents: 0
diff changeset
65 </assert_contents>
5e58cbf27a05 Uploaded
rnateam
parents: 0
diff changeset
66 </output>
5e58cbf27a05 Uploaded
rnateam
parents: 0
diff changeset
67 </test>
0
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
68 </tests>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
69 <help>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
70 <![CDATA[
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
71 **RNAinverse**
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
72
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
73 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.
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
74
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
75
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
76 -----
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
77
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
78 **Input format**
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
79
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
80 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.
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
81
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
82 ------
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
83
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
84 **Outputs**
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
85
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
86 - text output of each sequence with its Hamming distance and/or the energy if the partition function is selected
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
87
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
88 ]]>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
89 </help>
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
90 <expand macro="requirements" />
78d673470d45 Imported from capsule None
rnateam
parents:
diff changeset
91 </tool>