view macros.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 58c8ece95b53
children 4b494533146a
line wrap: on
line source

<?xml version="1.0"?>
<macros>
    <xml name="requirements">
        <requirements>
            <requirement type="package" version="@TOOL_VERSION@">seqtk</requirement>
            <requirement type="package" version="2.3.4">pigz</requirement>
            <yield/>
        </requirements>
    </xml>
    <xml name="bio_tools">
        <xrefs>
            <xref type="bio.tools">seqtk</xref>
        </xrefs>
    </xml>
    <token name="@TOOL_VERSION@">1.3</token>
    <token name="@AWK_VERSION@">4.2.1</token>
    <xml name="stdio">
        <stdio>
            <!-- Anything other than zero is an error -->
            <exit_code range="1:"/>
            <exit_code range=":-1"/>
            <!-- In case the return code has not been set propery check stderr too -->
            <regex match="Error:"/>
            <regex match="Exception:"/>
        </stdio>
    </xml>
    <xml name="in_fq">
        <param name="in_file" type="data" format="fastq,fastq.gz" label="Input FASTQ file"/>
    </xml>
    <xml name="in_faq">
        <param name="in_file" type="data" format="fasta,fastq,fasta.gz,fastq.gz" label="Input FASTA/Q file"/>
    </xml>
    <token name="@CONDITIONAL_GZIP_OUT@"><![CDATA[
    #echo "| pigz -p ${GALAXY_SLOTS:-1} --no-name --no-time" if $in_file.is_of_type('fasta.gz', 'fastq.gz') else "" # > '$default'
    ]]></token>
    <token name="@ATTRIBUTION@"><![CDATA[
**Attribution**

This Galaxy tool relies on the seqtk toolkit from  `lh3/seqtk
<https://github.com/lh3/seqtk/>`_, developed by Heng Li at the Broad Institute
    ]]></token>
    <xml name="citation">
        <citations>
        </citations>
    </xml>
</macros>