view count-median.xml @ 9:b3d513c7093e draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/khmer commit 7599ef16dc8b83ee49236ed5bb229260c969b0ab
author iuc
date Mon, 17 Jun 2024 11:47:05 +0000
parents 06d1d91c67e5
children
line wrap: on
line source

<tool id="khmer_count_median" name="khmer: Count Median" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
    <description>Count the median/avg k-mer abundance for each sequence</description>
    <expand macro="bio_tools"/>
    <macros>
        <token name="@BINARY@">count-median.py</token>
        <import>macros.xml</import>
    </macros>
    <expand macro="requirements" />
    <expand macro="stdio" />
    <expand macro="version" />
    <command><![CDATA[
set -u &&
@BINARY@
$input_countgraph_filename
$input_sequence_filename
$output_summary_filename
]]>
    </command>
    <inputs>
        <expand macro="input_sequence_filename" />
        <expand macro="input_countgraph_filename" />
    </inputs>
    <outputs>
        <data name="output_summary_filename" format="txt"
            label="${tool.name} on ${on_string}" />
    </outputs>
    <tests>
        <test>
            <param name="input_sequence_filename" value="test-abund-read-2.fa" />
            <param name="input_countgraph_filename" value="test-abund-read-2.oxlicg" ftype="oxlicg" />
            <output name="output_summary_filename">
                <assert_contents>
                    <has_text text="seq,1001,1001.0,0.0,18" />
                    <has_text text="895:1:37:17593:9954/1,1,21.408163071,141.391921997,114" />
                </assert_contents>
            </output>
        </test>
    </tests>
    <help><![CDATA[
Count the median/avg k-mer abundance for each sequence in the input file,
based on the k-mer counts in the given k-mer countgraph. Can be used to
estimate expression levels (mRNAseq) or coverage (genomic/metagenomic). The
output file contains sequence id, median, average, stddev, and seq length;
fields are separated by spaces. For khmer 1.x count-median.py will split
sequence names at the first space which means that some sequence formats (e.g.
paired FASTQ in Casava 1.8 format) will yield uninformative names. Use
`--csv` to fix this behavior.

@HELP_FOOTER@
]]>
    </help>
    <citations>
        <expand macro="software-citation" />
        <expand macro="diginorm-citation" />
    </citations>
</tool>