view analysis_sync.xml @ 2:8fea07ae5d94 draft

planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/tripal commit 81a83f06b49db32928ba0cd44e5b6d0431868d27
author gga
date Thu, 21 Jun 2018 08:49:13 -0400
parents c401f51b12cc
children 0c33da051cc6
line wrap: on
line source

<?xml version="1.0"?>
<tool id="analysis_sync" profile="16.04" name="Synchronize an analysis" version="@WRAPPER_VERSION@.1">
    <description>from Chado to Tripal</description>
    <macros>
        <import>macros.xml</import>
    </macros>
    <expand macro="requirements"/>
    <code file="tripal.py"/>
    <expand macro="stdio"/>
    <command><![CDATA[

        @AUTH@

        tripaille analysis sync

            --analysis_id '${analysis_id}'

        &&

        echo "Data loaded" > $results
    ]]></command>
    <inputs>
        <param argument="--analysis_id"
               type="select"
               dynamic_options="list_analyses()"
               label="Analysis" />
       <expand macro="wait_for"/>
    </inputs>
    <outputs>
        <data format="json" name="results" label="Synchronize Analysis into Tripal" />
    </outputs>
    <tests>
        <test expect_failure="true">
            <param name="analysis_id" value="1" />

            <expand macro="test_result" />
        </test>
    </tests>
    <help><![CDATA[
        @HELP_OVERVIEW@

        **Synchronize Analysis**

        With this tool, you can synchronize an analysis from the Chado database into the Tripal instance.
        A corresponding Drupal node will be created.

        @HELP@
    ]]></help>
    <expand macro="citation"/>
</tool>