view feature_get_features.xml @ 11:95221c68838f draft

planemo upload for repository https://github.com/galaxy-genome-annotation/galaxy-tools/tree/master/tools/chado commit bc69ce09372c8c2701b726c326e671af279adb4d
author gga
date Thu, 11 Jul 2019 08:38:44 -0400
parents 7028154f9c93
children df8527b4f2b8
line wrap: on
line source

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

chakin feature get_features

#if $organism:
  --organism_id '$organism'
#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'

@STOP_PSQL@
    ]]></command>
    <inputs>
        <expand macro="psql_target"/>
        <!-- options -->
        <param argument="--organism" 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"/>
    </outputs>
    <help>
Get all or some features

@HELP@
    </help>
</tool>