diff organism_add_organism.xml @ 10:7c212f0d1381 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:35:55 -0400
parents 7b552f5cb694
children e79da6f1f0da
line wrap: on
line diff
--- a/organism_add_organism.xml	Tue Mar 05 05:14:43 2019 -0500
+++ b/organism_add_organism.xml	Mon Jul 08 05:35:55 2019 -0400
@@ -1,12 +1,12 @@
 <?xml version="1.0"?>
-<tool id="organism_add_organism" name="Chado organism add" version="@WRAPPER_VERSION@.0">
+<tool id="organism_add_organism" name="Chado organism 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 organism add_organism
 '$genus'
@@ -19,9 +19,12 @@
 #end if
 
 | jq -S . > '$results'
+
+&& @ZIP_PSQL@
     ]]></command>
 	<inputs>
-    <!-- arguments -->
+  <expand macro="psql_target"/>
+  <!-- arguments -->
 	<param name="genus" label="Genus" argument="genus" type="text" help="The genus of the organism" />
 	<param name="species" label="Species" argument="species" type="text" help="The species of the organism" />
 	<param name="common" label="Common" argument="common" type="text" help="The common name of the organism" />
@@ -32,7 +35,10 @@
 
 	</inputs>
 	<outputs>
-		<data format="json" name="results"/>
+		<data format="json" name="results" label="Chado organism add: ${genus} ${species}"/>
+    <data format="postgresql" name="outfile" from_work_dir="postgresql_out.tar.bz2" label="${tool.name} '${genus} ${species}' on ${on_string}">
+			<filter>psql_target['method'] == "pgtools"</filter>
+		</data>
 	</outputs>
 	<help>
 Add a new organism to the Chado database