comparison unafold.xml @ 0:bf022d3751fa draft

planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/unafold_galaxy_wrapper commit 84b70c01144fa018db45215941fb395798376100-dirty
author yhoogstrate
date Tue, 16 Jun 2015 11:21:12 -0400
parents
children 37198dc9311c
comparison
equal deleted inserted replaced
-1:000000000000 0:bf022d3751fa
1 <?xml version="1.0"?>
2 <tool id="unafold" name="UNAFold" version="1.0.0">
3 <description>UNAFold RNA and DNA structure prediction</description>
4
5 <requirements>
6 <requirement type="package" version="3.8">unafold</requirement>
7 </requirements>
8
9 <stdio>
10 <regex match="mv: cannot stat ..: No such file or directory" source="stderr" level="fatal" description="Could not find CT output file\n" />
11 </stdio>
12
13 <version_command>UNAFold.pl --version</version_command>
14
15 <command>
16 UNAFold.pl
17 -n $n.a
18 -t $temp
19
20 #if $n.a == "DNA"
21 -N $sodium
22 -M $magnesium
23 #end if
24
25 $input_file &amp;&amp;
26 output=\$(ls | grep &#92;.ct | sort -r | head -n 1) &amp;&amp;
27 mv "\$output" "$output_ct"
28 </command>
29
30 <inputs>
31 <param format="fasta" name="input_file" type="data" label="Input sequence (FASTA)"/>
32
33 <conditional name="n">
34 <param name="a" type="select" label="Nucleic Acid Type">
35 <option value="RNA" selected="true">RNA</option>
36 <option value="DNA">DNA</option>
37 </param>
38
39 <when value="RNA">
40 </when>
41 <when value="DNA">
42 <param name="sodium" type="float" size="6" value="1.0" min="0" max="100" label="[Na+] in M"/>
43 <param name="magnesium" type="float" size="6" value="0.0" min="0" max="100" label="[Mg++] in M"/>
44 </when>
45 </conditional>
46
47 <param name="temp" type="integer" size="3" value="37" min="0" max="100" label="Temperature (&#176;C)"/>
48 </inputs>
49
50 <outputs>
51 <data format="ct" name="output_ct" label="${tool.name} on ${input_file.hid}: ${input_file.name}"/>
52 </outputs>
53
54 <tests>
55 <test>
56 <param name="input_file" value="test1_input.fa" ftype="fasta" />
57 <param name="temp" value="37" />
58
59 <output name="output_ct" file="test1_output.ct" />
60 </test>
61 </tests>
62
63 <help>
64 Usage: UNAFold.pl [options] file [file]
65
66 Options:
67 -V, --version
68 -h, --help
69 -n, --NA=(RNA | DNA) (defaults to RNA)
70 -t, --temp=&lt;temperature&gt; (defaults to 37)
71 -N, --sodium=&lt;[Na+] in M&gt; (defaults to 1)
72 -M, --magnesium=&lt;[Mg++] in M&gt; (defaults to 0)
73 -p, --polymer
74 -C, --Ct=&lt;total strand concentration&gt;
75 -I, --noisolate
76 -m, --maxbp=&lt;maximum basepair distance&gt;
77 -c, --constraints=&lt;name of constraints file&gt; (defaults to prefix.aux)
78 -P, --percent=&lt;energy increment percent&gt; (defaults to 5)
79 -W, --window=&lt;window size&gt; (default set by sequence length)
80 -X, --max=&lt;maximum number of foldings&gt; (defaults to 100)
81 --ann=(none | p-num | ss-count) (defaults to none)
82 --mode=(auto | bases | lines) (defaults to auto)
83 --label=&lt;base numbering frequency&gt;
84 --rotate=&lt;structure rotation angle&gt;
85 --run-type=(text | html) (defaults to text)
86 --model=(EM | PF) (defaults to EM)
87 --circular
88 Obscure options:
89 --allpairs
90 --maxloop=&lt;maximum bulge/interior loop size&gt; (defaults to 30)
91 --nodangle
92 --simple
93 --prefilter=&lt;filter value&gt;
94
95 Report bugs to markhn@rpi.edu
96 </help>
97
98 <citations>
99 <citation type="doi">10.1007/978-1-60327-429-6_1</citation>
100 </citations>
101 </tool>