view feature_delete_features.xml @ 16:49a7435dcc9a draft

"planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit 0a8b62b6cdce301067cba25d30171d5f6ec04f40"
author gga
date Wed, 09 Dec 2020 14:27:21 +0000
parents ccda382b5c8a
children
line wrap: on
line source

<?xml version="1.0"?>
<tool id="feature_delete_features" name="Chado features 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 feature delete_features

#if $organism_id:
  --organism_id '$organism_id'
#end if
#if $analysis_id:
  --analysis_id '$analysis_id'
#end if
#if $name:
  --name '$name'
#end if
#if $uniquename:
  --uniquename '$uniquename'
#end if

| jq -S . > '$results'

@ZIP_PSQL@
    ]]></command>
    <inputs>
        <expand macro="psql_target"/>
        <!-- options -->
        <param argument="--organism_id" 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

@HELP@
    </help>
</tool>