view db_populate_mviews.xml @ 5:0aad47a1ea3c draft

planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/tripal commit 35c5eff77b573a66f3611b4906417df9a440c857
author gga
date Tue, 05 Mar 2019 05:25:14 -0500
parents 52f0e9417dc1
children
line wrap: on
line source

<?xml version="1.0"?>
<tool id="db_populate_mviews" profile="16.04" name="Populate materialized views" version="@WRAPPER_VERSION@.0">
    <description>in Tripal</description>
    <macros>
        <import>macros.xml</import>
    </macros>
    <expand macro="requirements"/>
    <expand macro="stdio"/>
    <command><![CDATA[

        @AUTH@

        tripaille db populate_mviews

            #if $mview:
                --name '${mview}'
            #end if

        &&

        echo "Data loaded" > '$results'
    ]]></command>
    <inputs>
        <param name="mview"
               argument="--name"
               type="text"
               optional="true"
               label="View name"
               help="The materialized view name to populate (leave empty to populate all views)" />
        <expand macro="wait_for"/>
    </inputs>
    <outputs>
        <data format="txt" name="results" label="Populate Tripal materialized view(s)" />
    </outputs>
    <tests>
        <test expect_failure="true" expect_exit_code="1">
            <expand macro="test_result" />
        </test>
        <test expect_failure="true" expect_exit_code="1">
            <param name="mview" value="Test" />

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

        **Populate Materialized View**

        With this tool, you can populate a materialized view in a Tripal instance.

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