Mercurial > repos > yhoogstrate > unafold
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/unafold.xml Tue Jun 16 11:21:12 2015 -0400 @@ -0,0 +1,101 @@ +<?xml version="1.0"?> +<tool id="unafold" name="UNAFold" version="1.0.0"> + <description>UNAFold RNA and DNA structure prediction</description> + + <requirements> + <requirement type="package" version="3.8">unafold</requirement> + </requirements> + + <stdio> + <regex match="mv: cannot stat ..: No such file or directory" source="stderr" level="fatal" description="Could not find CT output file\n" /> + </stdio> + + <version_command>UNAFold.pl --version</version_command> + + <command> + UNAFold.pl + -n $n.a + -t $temp + + #if $n.a == "DNA" + -N $sodium + -M $magnesium + #end if + + $input_file && + output=\$(ls | grep \.ct | sort -r | head -n 1) && + mv "\$output" "$output_ct" + </command> + + <inputs> + <param format="fasta" name="input_file" type="data" label="Input sequence (FASTA)"/> + + <conditional name="n"> + <param name="a" type="select" label="Nucleic Acid Type"> + <option value="RNA" selected="true">RNA</option> + <option value="DNA">DNA</option> + </param> + + <when value="RNA"> + </when> + <when value="DNA"> + <param name="sodium" type="float" size="6" value="1.0" min="0" max="100" label="[Na+] in M"/> + <param name="magnesium" type="float" size="6" value="0.0" min="0" max="100" label="[Mg++] in M"/> + </when> + </conditional> + + <param name="temp" type="integer" size="3" value="37" min="0" max="100" label="Temperature (°C)"/> + </inputs> + + <outputs> + <data format="ct" name="output_ct" label="${tool.name} on ${input_file.hid}: ${input_file.name}"/> + </outputs> + + <tests> + <test> + <param name="input_file" value="test1_input.fa" ftype="fasta" /> + <param name="temp" value="37" /> + + <output name="output_ct" file="test1_output.ct" /> + </test> + </tests> + + <help> + Usage: UNAFold.pl [options] file [file] + + Options: + -V, --version + -h, --help + -n, --NA=(RNA | DNA) (defaults to RNA) + -t, --temp=<temperature> (defaults to 37) + -N, --sodium=<[Na+] in M> (defaults to 1) + -M, --magnesium=<[Mg++] in M> (defaults to 0) + -p, --polymer + -C, --Ct=<total strand concentration> + -I, --noisolate + -m, --maxbp=<maximum basepair distance> + -c, --constraints=<name of constraints file> (defaults to prefix.aux) + -P, --percent=<energy increment percent> (defaults to 5) + -W, --window=<window size> (default set by sequence length) + -X, --max=<maximum number of foldings> (defaults to 100) + --ann=(none | p-num | ss-count) (defaults to none) + --mode=(auto | bases | lines) (defaults to auto) + --label=<base numbering frequency> + --rotate=<structure rotation angle> + --run-type=(text | html) (defaults to text) + --model=(EM | PF) (defaults to EM) + --circular + Obscure options: + --allpairs + --maxloop=<maximum bulge/interior loop size> (defaults to 30) + --nodangle + --simple + --prefilter=<filter value> + + Report bugs to markhn@rpi.edu + </help> + + <citations> + <citation type="doi">10.1007/978-1-60327-429-6_1</citation> + </citations> +</tool>