view data_manager/funannotate.xml @ 0:22777795bb5f draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_funannotate commit 9613152729099079c7465c3d5d42005ef22ca91e"
author iuc
date Thu, 26 Aug 2021 06:51:01 +0000
parents
children 1a0230433e1a
line wrap: on
line source

<tool id="data_manager_funannotate" name="Funannotate data manager" version="0.0.1" tool_type="manage_data" profile="20.01">
    <requirements>
        <requirement type="package" version="1.8.7">funannotate</requirement>
    </requirements>
    <version_command>funannotate check --show-versions</version_command>
    <command detect_errors="exit_code"><![CDATA[
python '$__tool_directory__/funannotate.py'
$partial_data
\$(date +'%Y-%m-%d-%H%M%S')
'funannotate'
'${output_file}'
    ]]></command>
    <inputs>
        <param name="partial_data" type="hidden" value="" help="Used for testing"/>
    </inputs>
    <outputs>
        <data name="output_file" format="data_manager_json"/>
    </outputs>
    <tests>
        <test>
            <param name="partial_data" value="--partial"/>
            <output name="output_file">
                <assert_contents>
                    <has_text text="Funannotate database "/>
                    <has_text text='"format_version": "1.0"'/>
                </assert_contents>
            </output>
        </test>
    </tests>
    <help><![CDATA[
        This data managers fetches data from various databases for the funannotate
        annotation tool and updates the funannotate data table.

        .. _funannotate: https://funannotate.readthedocs.io
    ]]></help>
    <citations>
        <citation type="doi">10.5281/zenodo.4054262</citation>
    </citations>
</tool>