Mercurial > repos > gga > tripal_analysis_sync
diff analysis_sync.xml @ 0:c401f51b12cc 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:52:26 -0400 |
parents | |
children | 8fea07ae5d94 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/analysis_sync.xml Mon Sep 11 05:52:26 2017 -0400 @@ -0,0 +1,49 @@ +<?xml version="1.0"?> +<tool id="analysis_sync" profile="16.04" name="Synchronize an analysis" version="@WRAPPER_VERSION@.0"> + <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" /> + </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>