view biom_summarize_table.xml @ 9:dcd58d900b02 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/biom_format commit 2230d399cc6a526674f192099f00632dcc931e8c
author iuc
date Fri, 09 Feb 2024 21:36:12 +0000
parents c395d0c2125e
children
line wrap: on
line source

<tool id="biom_summarize_table" name="Summarize sample or observation data" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
    <description>in a BIOM table</description>
    <macros>
        <import>macros.xml</import>
    </macros>
    <expand macro="bio_tools"/>
    <expand macro="requirements" />
    <expand macro="version_command" />
    <command detect_errors="exit_code">
        <![CDATA[
            biom summarize-table
              --input-fp '$input_fp'
              --output-fp '$output_fp'
              $qualitative
              $observations
        ]]>
    </command>
    <inputs>
        <param argument="--input-fp" type="data" format="biom1" label="Input BIOM table" />
        <param argument="--qualitative" type="boolean" checked="True" truevalue="--qualitative" falsevalue="" label="Present counts as number of unique observation ids per sample, rather than counts of observations per sample" />
        <param argument="--observations" type="boolean" checked="True" truevalue="--observations" falsevalue="" label="Summarize over observations" />
    </inputs>
    <outputs>
        <data format="txt" name="output_fp"/>
    </outputs>
    <tests>
        <test>
            <param name="input_fp" value="input_abundance_1.biom1" />
            <param name="qualitative" value="" />
            <param name="observations" value="" />
            <output name="output_fp" value="summarize" compare="sim_size"/>
        </test>
        <test>
            <param name="input_fp" value="input_abundance_1.biom1" />
            <param name="qualitative" value="--qualitative" />
            <param name="observations" value="--observations" />
            <output name="output_fp" value="summarize_qualitative_observations" compare="sim_size"/>
        </test>
    </tests>
    <help><![CDATA[
Provides details on the observation counts per sample, including summary statistics, as well as metadata categories associated with samples and observations.
    ]]></help>
    <expand macro="citations" />
</tool>