Mercurial > repos > gga > tripal_analysis_add_analysis
diff analysis_add_analysis.xml @ 0:f8dab3351d1b 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:49:35 -0400 |
parents | |
children | fa035088afe6 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/analysis_add_analysis.xml Mon Sep 11 05:49:35 2017 -0400 @@ -0,0 +1,56 @@ +<?xml version="1.0"?> +<tool id="analysis_add_analysis" profile="16.04" name="Create an analysis" version="@WRAPPER_VERSION@.0"> + <description>in Tripal</description> + <macros> + <import>macros.xml</import> + </macros> + <expand macro="requirements"> + <requirement type="package" version="1.5">jq</requirement> + </expand> + <expand macro="stdio"/> + <command><![CDATA[ + + @AUTH@ + + tripaille analysis add_analysis + + @ANALYSIS@ + + | jq -S . > $results + ]]></command> + <inputs> + <expand macro="analysis" /> + </inputs> + <outputs> + <data format="json" name="results" label="New Tripal analysis" /> + </outputs> + <tests> + <test expect_failure="true"> + <section name="analysis"> + <param name="name" value="Some analysis" /> + <param name="program" value="blastp" /> + <param name="program_version" value="2.5.0" /> + <param name="algorithm" value="blast" /> + <param name="source" value="NCBI" /> + <param name="source_version" value="1.0" /> + <param name="source_uri" value="http://ncbi.com/somewhere" /> + <param name="description" value="My cool new test analysis" /> + <param name="date" value="2016-12-12" /> + </section> + + <expand macro="test_result" /> + </test> + </tests> + <help><![CDATA[ + @HELP_OVERVIEW@ + + **Create Analysis** + + With this tool, you can create a new analysis in the Tripal/Chado database. + + Keep in mind that you cannot add multiple analysis with the same program, program version and source. + + @HELP@ + ]]></help> + <expand macro="citation"/> +</tool>