view data_manager/funannotate.xml @ 1:8dff71edbce5 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_funannotate commit d1ebc78155f57c87d8e82c9855b176428e9803ad"
author iuc
date Thu, 18 Nov 2021 21:55:43 +0000
parents ef7f9e2f32f2
children 13018941c6a0
line wrap: on
line source

<tool id="data_manager_funannotate" name="Funannotate data manager" version="0.0.2" tool_type="manage_data" profile="20.01">
    <requirements>
        <requirement type="package" version="1.8.9">funannotate</requirement>
        <requirement type="package" version="2.26.0">requests</requirement>
    </requirements>
    <version_command>funannotate check --show-versions</version_command>
    <command detect_errors="exit_code"><![CDATA[
python -u '$__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>