view merge_metaphlan_tables.xml @ 4:2e5ae05160e0 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/metaphlan/ commit 2b87bc7417360e2b2c9ec0605d475909f6f0482f"
author iuc
date Mon, 17 May 2021 20:09:54 +0000
parents 3f05bf162005
children 27250f92a01a
line wrap: on
line source

<tool id="merge_metaphlan_tables" name="Merge" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
    <description>MetaPhlAn abundance tables</description>
    <macros>
        <import>macros.xml</import>
    </macros>
    <expand macro="edam_ontology"/>
    <expand macro="requirements"/>
    <version_command>merge_metaphlan_tables.py -v</version_command>
    <command detect_errors="aggressive"><![CDATA[
merge_metaphlan_tables.py
    #for $element in $inputs
        '$element'
    #end for
    > '$output'
]]>
    </command>
    <inputs>
        <param name="inputs" type="data" format="tabular,txt" multiple="true" label="Predicted taxon relative abundance tables generaed by MetaPhlAn" />
    </inputs>
    <outputs>
        <data name="output" format="tabular" label="${tool.name} on ${on_string}: Merged taxon relative abundance tables" />
    </outputs>
    <tests>
        <test expect_num_outputs="1">
            <param name="inputs" value="SRS014464-Anterior_nares-abundances.tabular,SRS014464-Anterior_nares-abundances.tabular"/>
            <output name="output" ftype="tabular" >
                <assert_contents>
                    <has_text text="k__Bacteria|p__Actinobacteria|c__Actinobacteria|o__Corynebacteriales|f__Corynebacteriaceae|g__Corynebacterium|s__Corynebacterium_accolens"/>
                    <has_text text="dataset_"/>
                    <has_text text="NCBI_tax_id"/>
                    <has_text text="clade_name"/>
                </assert_contents>
            </output>
        </test>
    </tests>
    <help><![CDATA[
What it does
============

MetaPhlAn is a computational tool for profiling the composition of microbial communities (Bacteria, 
Archaea and Eukaryotes) from metagenomic shotgun sequencing data (i.e. not 16S) with species-level. 

This tool performs a table join on one or more tab-separated files with the predicted taxon relative abundances
that have been generated by MetaPhlAn.
    ]]></help>
    <expand macro="citations"/>
</tool>