view seqtk_listhet.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_listhet" name="seqtk_listhet" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="22.05">
    <description>extract the position of each het</description>
    <macros>
        <import>macros.xml</import>
    </macros>
    <expand macro="bio_tools"/>
    <expand macro="requirements">
        <requirement type="package" version="@AWK_VERSION@">gawk</requirement>
    </expand>
    <expand macro="stdio"/>
    <command><![CDATA[
seqtk listhet
'$in_file'  | awk 'BEGIN{print "#chr\tposition\tbase"}1'
> '$default'
]]></command>
    <inputs>
        <expand macro="in_faq"/>
    </inputs>
    <outputs>
        <data name="default" format="tabular" label="${tool.name} on ${on_string}: Positions of heterozygous bases"/>
    </outputs>
    <tests>
        <test>
            <param name="in_file" value="seqtk_listhet.fa"/>
            <output name="default" file="seqtk_listhet.out" ftype="tabular"/>
        </test>
        <test>
            <param name="in_file" value="seqtk_listhet.fa.gz" ftype="fasta.gz"/>
            <output name="default" file="seqtk_listhet.out" ftype="tabular"/>
        </test>
    </tests>
    <help><![CDATA[
**What it does**

Lists regions of heterozygosity.

::

    >ambig
    ACGTMRWSYKVHDBN

The seqtk suite recognises MRWSYK:

::

    #chr    position  base
    ambig   5         M
    ambig   6         R
    ambig   7         W
    ambig   8         S
    ambig   9         Y
    ambig   10        K


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