comparison segmentation-fold.xml @ 6:4d16cf9414cf draft default tip

planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/galaxytools-emc/tree/master/tools/segmentation_fold commit 3a3c1d069e0a079d8ea7c0b4ac856ef24141b1aa
author erasmus-medical-center
date Fri, 24 Feb 2017 04:18:22 -0500
parents 63df1e23f4ff
children
comparison
equal deleted inserted replaced
5:b7cf9b172cfe 6:4d16cf9414cf
2 <description>RNA-Folding including predefined segments including K-turns</description> 2 <description>RNA-Folding including predefined segments including K-turns</description>
3 <macros> 3 <macros>
4 <import>macros.xml</import> 4 <import>macros.xml</import>
5 </macros> 5 </macros>
6 6
7 <requirements> 7 <expand macro="requirements" />
8 <requirement type="package" version="1.6.5">segmentation-fold</requirement> 8 <expand macro="version_command" />
9 </requirements> 9
10 10 <command detect_errors="aggressive"><![CDATA[
11 <expand macro="stdio" />
12
13 <version_command>@VERSION_COMMAND_SMF@</version_command>
14
15 <command><![CDATA[
16 segmentation-fold 11 segmentation-fold
17 12
18 #if $input.method == "fasta" 13 #if $input.method == "fasta"
19 -f $input.input_fasta 14 -f '${input.input_fasta}'
20 #else 15 #else
21 -s $input.input_sequence 16 -s '${input.input_sequence}'
22 #end if 17 #end if
23 18
24 -p $predict_segments 19 -p $predict_segments
25 -h $min_hairpin_size 20 -H $min_hairpin_size
26 21
27 #if $parameters.settings == "default" 22 #if $parameters.settings == "custom"
28 -x "\$SEGMENTATION_FOLD_DEFAULT_XML" 23 -x '${parameters.input_xml}'
29 #else
30 -x "${parameters.input_xml}"
31 #end if 24 #end if
32 25
33 -t \${GALAXY_SLOTS:-4} 26 -t \${GALAXY_SLOTS:-4}
34 > $output_dbn 27 > '${output_dbn}'
35 ]]></command> 28 ]]></command>
36 29
37 <inputs> 30 <inputs>
38 <conditional name="input"> 31 <conditional name="input">
39 <param name="method" type="select" label="Energy parameters"> 32 <param name="method" type="select" label="Energy parameters">
40 <option value="fasta" selected="true">As FASTA-file</option> 33 <option value="fasta" selected="true">As FASTA-file</option>
41 <option value="text">As text</option> 34 <option value="text">As text</option>
42 </param> 35 </param>
43 <when value="fasta"> 36 <when value="fasta">
44 <param name="input_fasta" type="data" format="fasta" label="Fasta file with RNA-sequece (-f)" /> 37 <param name="input_fasta" type="data" format="fasta" label="Fasta file with RNA-sequece" argument="-f" />
45 </when> 38 </when>
46 <when value="text"> 39 <when value="text">
47 <param name="input_sequence" type="text" label="RNA-sequece (-s)" /> 40 <param name="input_sequence" type="text" label="RNA-sequence" argument="-s" />
48 </when> 41 </when>
49 </conditional> 42 </conditional>
50 43
51 <param name="predict_segments" type="boolean" truevalue="1" falsevalue="0" checked="true" label="Enable segment prediction functionality (-p)" /> 44 <param name="predict_segments" type="boolean" truevalue="1" falsevalue="0" checked="true" label="Enable segment prediction functionality" argument="-p" />
52 <param name="min_hairpin_size" type="integer" min="1" value="3" label="Minimum hairpin size (-h)" /> 45 <param name="min_hairpin_size" type="integer" min="1" value="3" label="Minimum hairpin size" argument="-h" />
53 46
54 <conditional name="parameters"> 47 <conditional name="parameters">
55 <param name="settings" type="select" label="Energy parameters"> 48 <param name="settings" type="select" label="Energy parameters">
56 <option value="default" selected="true">Default</option> 49 <option value="default" selected="true">Default</option>
57 <option value="custom">Custom</option> 50 <option value="custom">Custom</option>
58 </param> 51 </param>
59 <when value="default" /> 52 <when value="default" />
60 <when value="custom"> 53 <when value="custom">
61 <param name="input_xml" type="data" format="xml" multiple="false" label="Use custom 'segments.xml'-syntaxed file (-x)" /> 54 <param name="input_xml" type="data" format="xml" multiple="false" label="Use custom 'segments.xml'-syntaxed file" argument="-x" />
62 </when> 55 </when>
63 </conditional> 56 </conditional>
64 </inputs> 57 </inputs>
65 58
66 <outputs> 59 <outputs>
232 225
233 https://wiki.galaxyproject.org/Learn/Datatypes#Dbn 226 https://wiki.galaxyproject.org/Learn/Datatypes#Dbn
234 227
235 **Authors** 228 **Authors**
236 229
237 Youri Hoogstrate (yhoogstrate @ github) 230 Youri Hoogstrate (GitHub: @yhoogstrate)
238 ]]></help> 231 ]]></help>
239 232
240 <expand macro="citations" /> 233 <expand macro="citations" />
241 </tool> 234 </tool>