view print.xml @ 1:4ffdd07cc5b6 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meryl commit a3a16149db71f9b72dd7e949df0db08797637312
author iuc
date Tue, 08 Oct 2024 16:44:16 +0000
parents 08b34a6c34ec
children
line wrap: on
line source

<tool id="meryl_print" name="Meryl" version="@TOOL_VERSION@+@GALAXY_TOOL_VERSION@@SUFFIX_VERSION@" profile="@PROFILE@">
    <description>get k-mer counts</description>
    <macros>
        <import>macros.xml</import>
    </macros>
    <expand macro="edam_ontology"/>
    <xrefs>
        <xref type="bio.tools">meryl</xref>
    </xrefs>
    <expand macro="requirements"/>
    <version_command>meryl --version</version_command>
    <command detect_errors="exit_code"><![CDATA[
    export GALAXY_MEMORY_GB=\$((\${GALAXY_MEMORY_MB:-8192}/1024)) &&
    mkdir  -p ./temp_db/ &&
    tar -xmf $input_meryldb_02 --use-compress-program="pigz -p \${GALAXY_SLOTS:-1}" -C ./temp_db/ &&
    mv ./temp_db/* tmp.meryl &&
    meryl print tmp.meryl > read-db.tabular
    ]]></command>
    <inputs>
        <param name="input_meryldb_02" type="data" format="meryldb" label="Input meryldb"/>
    </inputs>
    <outputs>
        <data name="read_db_print" format="tabular" from_work_dir="read-db.tabular"/>
    </outputs>
    <tests>
        <test expect_num_outputs="1">
            <param name="input_meryldb_02" value="maternal.meryldb" ftype="meryldb"/>
            <output name="read_db_print" file="output_25.read-db.tabular" sort="true"/>
        </test>
    </tests>
    <help>

.. class:: infomark

**Purpose**

Meryl is the k-mer counter. This tool gets the k-mer counts as a table.

        </help>
    <expand macro="citations"/>
</tool>