view expression_get_biomaterials.xml @ 1:387ea73ea3cf draft

planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/tripal commit 35c5eff77b573a66f3611b4906417df9a440c857
author gga
date Tue, 05 Mar 2019 05:26:42 -0500
parents de7d91ce970b
children
line wrap: on
line source

<?xml version="1.0"?>
<tool id="expression_get_biomaterials" name="Get biomaterials" version="@WRAPPER_VERSION@.0">
 <description>from Tripal</description>
    <macros>
        <import>macros.xml</import>
    </macros>
    <expand macro="requirements">
        <requirement type="package" version="1.5">jq</requirement>
    </expand>
    <code file="tripal.py"/>
    <command detect_errors="aggressive"><![CDATA[
@AUTH@

tripaille expression get_biomaterials

#if $provider_id:
  --provider_id '$provider_id'
#end if
#if $biomaterial_id:
  --biomaterial_id '$biomaterial_id'
#end if
#if $organism_id:
  --organism_id '$organism_id'
#end if
#if $dbxref_id:
  --dbxref_id '$dbxref_id'
#end if

| jq -S . > '$results'
]]></command>
    <inputs>
        <!-- arguments -->

        <!-- options -->
        <param argument="--organism_id" type="select" dynamic_options="list_organisms()" label="Organism" optional="true" />
        <param name="provider_id" label="Provider Id" argument="provider_id" type="text" help="Limit query to the selected provider" />
        <param name="biomaterial_id" label="Biomaterial Id" argument="biomaterial_id" type="text" help="Limit query to the selected biomaterial" />
        <param name="dbxref_id" label="Dbxref Id" argument="dbxref_id" type="text" help="Limit query to the selected ref" />

    </inputs>
    <outputs>
        <data format="json" name="results"/>
    </outputs>
    <help>
List biomaterials in the database

@HELP@
    </help>
</tool>