view seqtk_listhet.xml @ 4:ecf1c30da3a2 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit ad43df79dca3dc7c3511c6eb2ccf8589d2804eb2
author iuc
date Wed, 17 Oct 2018 05:59:21 -0400
parents bc7d99f46a5d
children a09586d5149a
line wrap: on
line source

<?xml version="1.0"?>
<tool id="seqtk_listhet" name="seqtk_listhet" version="@WRAPPER_VERSION@.0">
    <description>extract the position of each het</description>
    <macros>
        <import>macros.xml</import>
    </macros>
    <expand macro="requirements"/>
    <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="Positions of heterozygous bases in $in_file.name"/>
    </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>