view list_projects.xml @ 3:17ce4f3bffa2 default tip

Uploaded
author jesse-erdmann
date Tue, 24 Jan 2012 18:33:41 -0500
parents 1437a2df99c0
children
line wrap: on
line source

<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>