view db_populate_mviews.xml @ 6:3c08f32a3dc1 draft default tip

"planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/tripal commit ea279e5b47cf3d5767328d17b0e40e57b0238ea1"
author gga
date Wed, 14 Aug 2019 10:02:07 -0400
parents 0aad47a1ea3c
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>