view data_manager/data_manager_metaphlan_download.xml @ 1:9c43baa60906 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_metaphlan_database_downloader commit ed0001e3b4e3b25ee5754addac8a67f9cabd7d88"
author iuc
date Wed, 21 Apr 2021 21:37:49 +0000
parents 169b08c9713c
children 5fe20c915fa6
line wrap: on
line source

<tool id="data_manager_metaphlan_download" name="Download and build MetaPhlAn database" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" tool_type="manage_data" profile="20.01">
    <description></description>
    <requirements>
        <requirement type="package" version="@TOOL_VERSION@">metaphlan</requirement>
    </requirements>
    <macros>
        <token name="@TOOL_VERSION@">3.0.7</token>
        <token name="@VERSION_SUFFIX@">0</token>
    </macros>
    <stdio>
        <exit_code range=":-1" level="fatal" description="Error: Cannot open file" />
        <exit_code range="1:" level="fatal" description="Error" />
    </stdio>
    <command><![CDATA[
python '$__tool_directory__/data_manager_metaphlan_download.py'
    --index '$index'
    --json '$out_file'
    ]]></command>
    <inputs>
        <param name="index" type="select" label="Version">
            <option value="mpa_v30_CHOCOPhlAn_201901" selected="true">mpa_v30_CHOCOPhlAn_201901</option>
        </param>
    </inputs>
    <outputs>
        <data name="out_file" format="data_manager_json" label="${tool.name}"/>
    </outputs>
    <tests>
    <test expect_num_outputs="1">
        <param name="index" value="mpa_v30_CHOCOPhlAn_201901"/>
        <output name="out_file">
            <assert_contents>
                <has_text text="mpa_v30_CHOCOPhlAn_201901-"/>
                <has_text text="MetaPhlAn clade-specific marker genes (mpa_v30_CHOCOPhlAn_201901)"/>
            </assert_contents>
        </output>
    </test>
    </tests>
    <help><![CDATA[
This tool downloads and builds the MetaPhlAn databases.
    ]]></help>
    <citations>
        <citation type="doi">1101/2020.11.19.388223</citation>
        <yield />
    </citations>
</tool>