view data_manager/data_manager_eggnog.xml @ 1:077cf0a99144 draft

"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/eggnog_mapper/eggnog_mapper_data_manager commit 2200885b5049b2d952959001c8a9b5ae5c62bee5"
author galaxyp
date Fri, 04 Sep 2020 21:38:59 +0000
parents 6d8144eef202
children 3d82020b1e3b
line wrap: on
line source

<tool id="data_manager_eggnog" name="EggNOG DB Download" version="@VERSION@" tool_type="manage_data">
    <description>eggnog data</description>
    <macros>
        <import>eggnog_macros.xml</import>
    </macros>
    <expand macro="requirements"/>
    <expand macro="version_command"/>
    <command detect_errors="exit_code"><![CDATA[
#import json, os
#set params = json.loads(open(str($out_file)).read())
#set install_path = $params['output_data'][0]['extra_files_path'].encode('ascii', 'replace')
@DOWNLOAD_CMD@
    ]]></command>
    <inputs>
        <expand macro="data_manager_params"/>
    </inputs>
    <expand macro="data_manager_outputs"/>
    <tests>
        <expand macro="data_manager_test"/>
    </tests>
    <help><![CDATA[
This tool downloads eggnog data using download_eggnog_data.py
and populates the data tables: eggnog_mapper_db.
The data is located at: http://eggnog5.embl.de/download/emapperdb-5.0.0/
can vary from 1G to 80G in size.

This will install data relative to the galaxy_data_manager_data_path declared in config/galaxy.yml
in directory eggnog_data/<eggnog data version>/.
The eggnog version is queried from the downloaded SQlite eggnog.db from table version.
    ]]></help>
    <expand macro="citations"/>
</tool>