Mercurial > repos > gga > tripal_db_populate_mviews
diff db_populate_mviews.xml @ 0:7fff65c442fe draft
planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/tripal commit f745b23c84a615bf434d717c8c0e553a012f0268
author | gga |
---|---|
date | Mon, 11 Sep 2017 05:53:04 -0400 |
parents | |
children | 52f0e9417dc1 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/db_populate_mviews.xml Mon Sep 11 05:53:04 2017 -0400 @@ -0,0 +1,54 @@ +<?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)" /> + </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>