view shuffling.xml @ 6:9495df9dd6ef draft default tip

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/vsearch commit 98411bbc8c371cf56d81fc4a1402ee64efef41eb"
author iuc
date Wed, 04 Nov 2020 07:36:19 +0000
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>