view data_managers/data_manager_rgi_build_db/data_manager/rgi_database_builder.xml @ 5:84bd24ac33fd draft default tip

planemo upload for repository https://github.com/arpcard/rgi commit a87febbe1a31eb5b9918b18bc04097fe47766e71
author card
date Wed, 07 Sep 2022 13:05:05 +0000
parents ce852ee2c394
children
line wrap: on
line source

<?xml version="1.0"?>
<tool id="rgi_database_builder" name="RGI Database Builder" profile="18.09" tool_type="manage_data" version="1.2.0">
    <description>Download and build the CARD database for RGI</description>
    <requirements>
	<requirement type="package" version="5.2.1">rgi</requirement>
    </requirements>
    <stdio>
        <exit_code description="Error" level="fatal" range="1:" />
    </stdio>
    <command>
    <![CDATA[
        python3 '$__tool_directory__/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>