view shuffling.xml @ 5:b3c7199d8786 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vsearch commit e0cd7ae10ce97bed51594e7cc0b969a803d698b7
author iuc
date Fri, 07 Sep 2018 11:31:31 -0400
parents 4258854759ba
children
line wrap: on
line source

<tool id="vsearch_shuffling" name="VSearch shuffling" version="@VERSION@.0">
    <description></description>
    <macros>
        <import>vsearch_macros.xml</import>
    </macros>
    <expand macro="requirements" />
    <expand macro="stdio" />
    <expand macro="version_command" />
    <command>
<![CDATA[
    vsearch
        @GENERAL@
        --output "$outfile"
        --randseed "$randseed"
        --shuffle "$infile"
        #if str( $topn ):
            --topn "$topn"
        #end if
]]>
    </command>
    <inputs>
        <param name="infile" type="data" format="fasta" label="Select your FASTA file" help="(--shuffle)" />
        <param argument="--randseed" type="integer" value="0" label="Seed"
            help="Zero to use random data source."/>
        <expand macro="topn" />
    </inputs>
    <outputs>
        <data name="outfile" format="fasta" label="${tool.name} on ${on_string}" />
    </outputs>
    <tests>
        <test>
            <param name="infile" value="db.fasta" ftype="fasta" />
            <param name="randseed" value="1"/>
            <param name="topn" value="5"/>
            <output name="outfile" file="shuffling_result1.fasta" ftype="fasta" />
        </test>
    </tests>
    <help>
<![CDATA[
**What it does**

Sequence shuffling to obtain new random sequences.

Shuffling options
  --output FILENAME           output to specified FASTA file
  --seed INT                  seed for PRNG, zero to use random data source (0)
  --shuffle FILENAME          shuffle order of sequences pseudo-randomly
  --topn INT                  output just first n sequences


@EXTERNAL_DOCUMENTATION@


]]>
    </help>
    <expand macro="citations" />
</tool>