diff 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
line wrap: on
line diff
--- a/segmentation-fold.xml	Wed Aug 03 04:54:40 2016 -0400
+++ b/segmentation-fold.xml	Fri Feb 24 04:18:22 2017 -0500
@@ -4,34 +4,27 @@
         <import>macros.xml</import>
     </macros>
     
-    <requirements>
-        <requirement type="package" version="1.6.5">segmentation-fold</requirement>
-    </requirements>
+    <expand macro="requirements" />
+    <expand macro="version_command" />
     
-    <expand macro="stdio" />
-    
-    <version_command>@VERSION_COMMAND_SMF@</version_command>
-    
-    <command><![CDATA[
+    <command detect_errors="aggressive"><![CDATA[
         segmentation-fold
             
             #if $input.method == "fasta"
-                -f $input.input_fasta
+                -f '${input.input_fasta}'
             #else
-                -s $input.input_sequence
+                -s '${input.input_sequence}'
             #end if
             
             -p $predict_segments
-            -h $min_hairpin_size
+            -H $min_hairpin_size
             
-            #if $parameters.settings == "default"
-                -x "\$SEGMENTATION_FOLD_DEFAULT_XML"
-            #else
-                -x "${parameters.input_xml}"
+            #if $parameters.settings == "custom"
+                -x '${parameters.input_xml}'
             #end if
             
             -t \${GALAXY_SLOTS:-4}
-            > $output_dbn
+            > '${output_dbn}'
     ]]></command>
     
     <inputs>
@@ -41,15 +34,15 @@
                 <option value="text">As text</option>
             </param>
             <when value="fasta">
-                <param name="input_fasta" type="data" format="fasta" label="Fasta file with RNA-sequece (-f)" />
+                <param name="input_fasta" type="data" format="fasta" label="Fasta file with RNA-sequece" argument="-f" />
             </when>
             <when value="text"> 
-                <param name="input_sequence" type="text" label="RNA-sequece (-s)" />
+                <param name="input_sequence" type="text" label="RNA-sequence" argument="-s" />
             </when>
         </conditional>
         
-        <param name="predict_segments" type="boolean" truevalue="1" falsevalue="0" checked="true" label="Enable segment prediction functionality (-p)" />
-        <param name="min_hairpin_size" type="integer" min="1" value="3" label="Minimum hairpin size (-h)" />
+        <param name="predict_segments" type="boolean" truevalue="1" falsevalue="0" checked="true" label="Enable segment prediction functionality" argument="-p" />
+        <param name="min_hairpin_size" type="integer" min="1" value="3" label="Minimum hairpin size" argument="-h" />
         
         <conditional name="parameters">
             <param name="settings" type="select" label="Energy parameters">
@@ -58,7 +51,7 @@
             </param>
             <when value="default" />
             <when value="custom"> 
-                <param name="input_xml" type="data" format="xml" multiple="false" label="Use custom 'segments.xml'-syntaxed file (-x)" />
+                <param name="input_xml" type="data" format="xml" multiple="false" label="Use custom 'segments.xml'-syntaxed file" argument="-x" />
             </when>
         </conditional>
     </inputs>
@@ -234,7 +227,7 @@
 
 **Authors**
 
-Youri Hoogstrate (yhoogstrate @ github)
+Youri Hoogstrate (GitHub: @yhoogstrate)
     ]]></help>
     
     <expand macro="citations" />