view data_managers/data_manager_rgi_build_db/data_manager/rgi_database_builder.xml @ 1:f96cbb663aa9 draft

planemo upload for repository https://github.com/arpcard/rgi commit 09a75bd2d655c05892acf7585a7ed08548f1c86d
author card
date Fri, 28 Feb 2020 13:38:11 -0500
parents 715bc9aeef69
children a671367c326e
line wrap: on
line source

<?xml version="1.0"?>
<tool id="rgi_database_builder" name="RGI Database Builder" tool_type="manage_data" version="1.0.0">
    <description>Download and build the CARD database for RGI</description>
    <requirements>
	<requirement type="package" version="5.1.0">rgi</requirement>
    </requirements>
    <stdio>
        <exit_code description="Error" level="fatal" range="1:" />
    </stdio>
    <command interpreter="python3">
    <![CDATA[
        rgi_database_builder.py --out "${out_file}"
        #if $name:
            --name "${name}"
        #end if
        #if $url:
            --url "${url}"
        #end if
    ]]>
    </command>
    <inputs>
        <param name="name" type="text" value="" label="Database name" help="Name for this database, or leave blank for today's date" optional="True"/>
        <param name="url" type="text" value="https://card.mcmaster.ca/latest/data" label="Url" help="Url for the CARD data e.g https://card.mcmaster.ca/lastest/data. Visit https://card.mcmaster.ca/download to see previous CARD releases." optional="True"/>
    </inputs>
    <outputs>
        <data format="data_manager_json" name="out_file" label="${tool.name} (JSON)"/>
    </outputs>
</tool>