diff analysis_add_analysis.xml @ 10:21de6e516f97 draft

planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 0b135f1ea2623ea68e41ac88e13d99e6b4ad8bea
author gga
date Mon, 08 Jul 2019 05:39:24 -0400
parents 11b434f48a03
children a2efb5aff729
line wrap: on
line diff
--- a/analysis_add_analysis.xml	Tue Mar 05 05:18:04 2019 -0500
+++ b/analysis_add_analysis.xml	Mon Jul 08 05:39:24 2019 -0400
@@ -1,12 +1,12 @@
 <?xml version="1.0"?>
-<tool id="analysis_add_analysis" name="Chado analysis add" version="@WRAPPER_VERSION@.0">
+<tool id="analysis_add_analysis" name="Chado analysis add" version="@WRAPPER_VERSION@.1">
     <description></description>
     <macros>
         <import>macros.xml</import>
     </macros>
     <expand macro="requirements"/>
     <command detect_errors="aggressive"><![CDATA[
-@AUTH@
+@START_PSQL@ &&
 
 chakin analysis add_analysis
 '$name'
@@ -31,8 +31,11 @@
 #end if
 
 | jq -S . > '$results'
+
+&& @ZIP_PSQL@
     ]]></command>
     <inputs>
+    <expand macro="psql_target"/>
     <!-- arguments -->
     <param name="name" label="Name" argument="name" type="text" help="analysis name" />
     <param name="program" label="Program" argument="program" type="text" help="analysis program" />
@@ -50,7 +53,10 @@
 
     </inputs>
     <outputs>
-        <data format="json" name="results"/>
+        <data format="json" name="results" label="Chado analysis add: ${name}"/>
+        <data format="postgresql" name="outfile" from_work_dir="postgresql_out.tar.bz2" label="${tool.name} '${name}' on ${on_string}">
+          <filter>psql_target['method'] == "pgtools"</filter>
+        </data>
     </outputs>
     <help>
 Create an analysis