view print.xml @ 0:08b34a6c34ec draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/meryl commit a95f5b04b1219489a327a622184633a561fe5ac0
author iuc
date Thu, 25 Apr 2024 21:00:59 +0000
parents
children 4ffdd07cc5b6
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 -zxf $input_meryldb_02 -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>