view histogram-kmers.xml @ 0:da960b744879 draft default tip

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:12 +0000
parents
children
line wrap: on
line source

<tool id="meryl_histogram_kmers" name="Meryl" version="@TOOL_VERSION@+@GALAXY_TOOL_VERSION@@SUFFIX_VERSION@" profile="@PROFILE@">
    <description>get k-mer frequency histogram</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 histogram tmp.meryl > read-db.hist
    ]]></command>
    <inputs>
        <param name="input_meryldb_02" type="data" format="meryldb" label="Input meryldb"/>
    </inputs>
    <outputs>
        <data name="read_db_hist" format="tabular" from_work_dir="read-db.hist"/>
    </outputs>
    <tests>
        <test expect_num_outputs="1">
            <param name="input_meryldb_02" value="read-db.meryldb" ftype="meryldb"/>
            <output name="read_db_hist" file="output_24.read-db.hist"/>
        </test>
    </tests>
    <help>

.. class:: infomark

**Purpose**

Meryl is the k-mer counter. This tool determines a k-mer frequency histogram.
        </help>
    <expand macro="citations"/>
</tool>