view expression_delete_biomaterials.xml @ 10:f2edb0354a97 draft

"planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 7bf18c69becc57152efdadedf7ebd0bcfa382a15"
author gga
date Mon, 29 Jun 2020 09:36:04 -0400
parents f8c2bd31d01c
children
line wrap: on
line source

<?xml version="1.0"?>
<tool id="expression_delete_biomaterials" name="Chado biomaterials delete" version="@WRAPPER_VERSION@">
    <description></description>
    <macros>
        <import>macros.xml</import>
    </macros>
    <expand macro="requirements"/>
    <code file="chado.py"/>
    <command detect_errors="aggressive"><![CDATA[
@START_PSQL@ &&

chakin expression delete_biomaterials

#if $names:
  --names '$names'
#end if
#if $ids:
  --ids '$ids'
#end if
#if $organism_id:
  --organism_id '$organism_id'
#end if
#if $analysis_id:
  --analysis_id '$analysis_id'
#end if
 > '$results'

 @ZIP_PSQL@
    ]]></command>
    <inputs>
        <expand macro="psql_target"/>
        <!-- options -->
        <param argument="--organism_id" type="select" dynamic_options="list_organisms()" label="Organism" optional="true" />
        <param argument="--analysis_id" type="select" dynamic_options="list_analyses()"  label="Analysis" optional="true" />
        <param name="names" label="Names" argument="--names" type="data" format="json" help="JSON list of biomaterial names to delete." optional="true" />
        <param name="ids" label="Ids" argument="--ids" type="data" format="json" help="JSON list of biomaterial ids to delete." optional="true" />

        <expand macro="wait_for"/>
    </inputs>
    <outputs>
        <data format="txt" 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>
Will delete biomaterials based on selector. Only one selector will be used.

@HELP@
    </help>
</tool>