view seqtk_randbase.xml @ 8:3da72230c066 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 690c73637e3b8be3a52fe3afc8ba6436c4bab46f"
author iuc
date Thu, 14 Oct 2021 09:22:39 +0000
parents a09586d5149a
children 4b494533146a
line wrap: on
line source

<?xml version="1.0"?>
<tool id="seqtk_randbase" name="seqtk_randbase" version="@TOOL_VERSION@.1">
    <description>choose a random base from hets</description>
    <expand macro="bio_tools"/>
    <macros>
        <import>macros.xml</import>
    </macros>
    <expand macro="requirements"/>
    <expand macro="stdio"/>
    <command><![CDATA[
seqtk randbase
'$in_file'
@CONDITIONAL_GZIP_OUT@
    ]]></command>
    <inputs>
        <expand macro="in_faq"/>
    </inputs>
    <outputs>
        <data name="default" format_source="in_file" label="Unambiguous $in_file.name"/>
    </outputs>
    <tests>
        <test>
            <param name="in_file" value="seqtk_randbase.fa"/>
            <output name="default" file="seqtk_randbase.out" ftype="fasta" compare="sim_size"/>
        </test>
        <test>
            <param name="in_file" value="seqtk_randbase.fa.gz" ftype="fasta.gz"/>
            <output name="default" file="seqtk_randbase.out.gz" ftype="fasta.gz" compare="sim_size"/>
        </test>
    </tests>
    <help><![CDATA[
**What it does**

Randomly resolves ambiguous bases

::

    # Input fasta
    >ambig
    ACGTMRWSYK

results in

::

    # Output result
    >ambig
    ACGTCGTGTT

@ATTRIBUTION@
    ]]></help>
    <expand macro="citation" />
</tool>