diff sorting.xml @ 3:ebd03dc31ed4 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vsearch commit 32693b6ea0a12cd77294fdc3cae53863cba4a8f6
author iuc
date Wed, 26 Aug 2015 08:11:49 -0400
parents 24e4f42410e5
children e8401372796a
line wrap: on
line diff
--- a/sorting.xml	Sun Jun 28 22:49:34 2015 -0400
+++ b/sorting.xml	Wed Aug 26 08:11:49 2015 -0400
@@ -1,4 +1,4 @@
-<tool id="vsearch_sorting" name="VSearch sorting" version="@VERSION@.0">
+<tool id="vsearch_sorting" name="VSearch sorting" version="@VERSION@.1">
     <description></description>
     <macros>
         <import>vsearch_macros.xml</import>
@@ -22,9 +22,10 @@
             #end if
         #end if
         --output $outfile
-        #if $sizeout:
-            --sizeout $sizeout
+        #if $relabel:
+            --relabel "$relabel"
         #end if
+        $sizeout
         #if $topn:
             --topn $topn
         #end if
@@ -49,6 +50,8 @@
           </when>
         </conditional>
         <expand macro="topn" />
+        <param name="relabel" type="text" value="" 
+               label="Relabel with this prefix string after sorting" help="(--relabel)"/>
         <param name="sizeout" type="boolean" truevalue="--sizeout" falsevalue="" checked="False" 
             label="Add abundance annotation to output" help="(--sizeout)"/>
     </inputs>
@@ -66,6 +69,24 @@
             <param name="infile" value="db.fasta" ftype="fasta" />
             <output name="outfile" file="sorting_result2.fasta" ftype="fasta" />
         </test>
+        <test>
+            <param name="sorting_mode_select" value="sortbylength"/>
+            <param name="infile" value="db.fasta" ftype="fasta" />
+            <param name="relabel" value="TEST" />
+            <output name="outfile" file="sorting_result3.fasta" ftype="fasta" />
+        </test>
+        <test>
+            <param name="sorting_mode_select" value="sortbylength"/>
+            <param name="infile" value="db.fasta" ftype="fasta" />
+            <param name="sizeout" value="--sizeout" />
+            <output name="outfile" file="sorting_result4.fasta" ftype="fasta" />
+        </test>
+        <test>
+            <param name="sorting_mode_select" value="sortbylength"/>
+            <param name="infile" value="db.fasta" ftype="fasta" />
+            <param name="relabel" value="With spaces" />
+            <output name="outfile" file="sorting_result5.fasta" ftype="fasta" />
+        </test>
     </tests>
     <help>
 <![CDATA[