diff list_projects.xml @ 0:1437a2df99c0

Uploaded
author jesse-erdmann
date Fri, 09 Dec 2011 11:56:56 -0500
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/list_projects.xml	Fri Dec 09 11:56:56 2011 -0500
@@ -0,0 +1,45 @@
+<tool id="list_proj" name="List TAPDANCE Projects" version="1.0">
+  <description>Generate a list of available projects</description>
+  <command interpreter="perl">lib/list_projects.pl -u $userEmail
+    #if $meta.meta_select.__str__() != 'all':
+      #for $item in $meta.tags
+        -tag $item.tag.__str__()
+      #end for
+      -query_type $meta.meta_select.__str__()
+    #end if
+    > $result
+  </command>
+  <inputs>
+    <conditional name="meta">
+      <param name="meta_select" type="select" label="Filter on metadata tags?">
+	<option value="all">Return all available projects</option>
+	<!--<option value="union">Return projects with all of the following tags</option>-->
+	<option value="join">Return projects with at least one of the following tags</option>
+      </param>
+      <when value="all">
+	<param type="hidden" name="tags" value=""/>
+      </when>
+      <!--<when value="union">
+	<repeat name="tags" title="Metadata Tags" min="1">
+	  <param name="tag" type="text"/>
+	</repeat>
+      </when>-->
+      <when value="join">
+	<repeat name="tags" title="Metadata Tags" min="1">
+	  <param name="tag" type="text"/>
+	</repeat>
+      </when>
+    </conditional>
+  </inputs>
+  <outputs>
+    <data format="tabular" name="result" label="TAPDANCE Projects"/>
+  </outputs>
+  <help>
+    See full help at https://sourceforge.net/p/tapdancebio/wiki/
+
+    `Report a Problem`_
+
+    .. _Report a Problem: https://sourceforge.net/p/tapdancebio/tickets/new/
+
+  </help>
+</tool>