view macros.xml @ 6:288f7f69fe25 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 50a0bd6d783a69e7303363a31130134767493e66"
author iuc
date Fri, 06 Sep 2019 09:10:07 -0400
parents a09586d5149a
children 58c8ece95b53
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>
    <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 --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>