view seqtk_randbase.xml @ 9:4b494533146a draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 2f75805e2e6cfa2af15076e6f4929b87631360a6
author iuc
date Sat, 09 Dec 2023 11:14:21 +0000
parents 3da72230c066
children
line wrap: on
line source

<?xml version="1.0"?>
<tool id="seqtk_randbase" name="seqtk_randbase" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="22.05">
    <description>choose a random base from hets</description>
    <macros>
        <import>macros.xml</import>
    </macros>
    <expand macro="bio_tools"/>
    <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="${tool.name} on ${on_string}: Unambiguous"/>
    </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>