view data_manager/busco_fetcher.xml @ 2:2b4526fdf7fb draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_fetch_busco/ commit 2d2c72dc464b938bfa4def2511ce0938f3a1ea7d
author iuc
date Mon, 24 Apr 2023 12:26:46 +0000
parents 53eec20e8fb6
children
line wrap: on
line source

<tool id="busco_fetcher" name="Busco" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" tool_type="manage_data" profile="20.01">
    <description>dataset dowloader</description>
        <macros>
        <token name="@TOOL_VERSION@">5.4.6</token>
        <token name="@VERSION_SUFFIX@">0</token>
    </macros>
    <requirements>
        <requirement type="package" version="@TOOL_VERSION@">busco</requirement>
    </requirements>
    <command detect_errors="exit_code"><![CDATA[
        python '$__tool_directory__/data_manager.py'
            --database '$lineage'
            --name $lineage+\$(date +'%Y-%m-%d-%H%M%S')
            --json '$out_file'
            --version '@TOOL_VERSION@'
    ]]></command>
    <inputs>
        <param name="lineage" type="select" label="Select the lineage to be downloaded">
            <option value="all">All</option>
            <option value="prokaryota">Prokaryota</option>
            <option value="eukaryota">Eukaryota</option>
            <option value="virus">Virus</option>
        </param>
    </inputs>
    <outputs>
        <data name="out_file" format="data_manager_json" label="BUSCO data manager: JSON"/>
    </outputs>
    <tests>
        <test expect_num_outputs="1">
            <param name="lineage" value="virus"/>
            <output name="out_file">
                <assert_contents>
                    <has_text text="virus"/>
                    <has_text text="5.4.6"/>
                </assert_contents>
            </output>
        </test>
    </tests>
    <help>This tool downloads the BUSCO databases.</help>
    <citations>
        <citation type="doi">10.1093/bioinformatics/btv351</citation>
    </citations>
</tool>