Mercurial > repos > iuc > vsearch
diff sorting.xml @ 1:8c4e2933a17a draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vsearch commit 95732e013ec4dfe5dae0b9ed81e9d7710cbaed9d
author | iuc |
---|---|
date | Wed, 26 Aug 2015 13:34:22 -0400 |
parents | fae6527990af |
children | f29e21388219 |
line wrap: on
line diff
--- a/sorting.xml Thu May 21 03:58:09 2015 -0400 +++ b/sorting.xml Wed Aug 26 13:34:22 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[