view db_populate_mviews.xml @ 3:f02467d72912 draft

planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/tripal commit d21999bb3e142fd972a3338b70216989a257d5b1
author gga
date Mon, 06 Aug 2018 04:45:19 -0400
parents 52f0e9417dc1
children 0aad47a1ea3c
line wrap: on
line source

<?xml version="1.0"?>
<tool id="db_populate_mviews" profile="16.04" name="Populate materialized views" version="@WRAPPER_VERSION@.1">
    <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>