diff feature_delete_features.xml @ 10:52fe2a335964 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:33:59 -0400
parents 4c973d69c8e6
children 926dbc8a33a1
line wrap: on
line diff
--- a/feature_delete_features.xml	Tue Mar 05 05:13:53 2019 -0500
+++ b/feature_delete_features.xml	Mon Jul 08 05:33:59 2019 -0400
@@ -7,7 +7,7 @@
     <expand macro="requirements"/>
     <code file="chado.py"/>
     <command detect_errors="aggressive"><![CDATA[
-@AUTH@
+@START_PSQL@ &&
 
 chakin feature delete_features
 
@@ -25,17 +25,22 @@
 #end if
 
 | jq -S . > '$results'
+
+&& @ZIP_PSQL@
     ]]></command>
     <inputs>
-    <!-- options -->
-    <param argument="--organism" type="select" dynamic_options="list_organisms()" label="Organism" />
-    <param argument="--analysis_id" type="select" dynamic_options="list_analyses()" label="Analysis" />
-    <param name="name" label="Name" argument="--name" type="text" help="name filter" />
-    <param name="uniquename" label="Uniquename" argument="--uniquename" type="text" help="uniquename filter" />
-
+        <expand macro="psql_target"/>
+        <!-- options -->
+        <param argument="--organism" type="select" dynamic_options="list_organisms()" label="Organism" />
+        <param argument="--analysis_id" type="select" dynamic_options="list_analyses()" label="Analysis" />
+        <param name="name" label="Name" argument="--name" type="text" help="name filter" />
+        <param name="uniquename" label="Uniquename" argument="--uniquename" type="text" help="uniquename filter" />
     </inputs>
     <outputs>
         <data format="json" name="results"/>
+        <data format="postgresql" name="outfile" from_work_dir="postgresql_out.tar.bz2" label="${tool.name} on ${on_string}">
+    			<filter>psql_target['method'] == "pgtools"</filter>
+    		</data>
     </outputs>
     <help>
 Get all or some features