view egquery.xml @ 0:9d18e6815994 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_eutils commit 15bcc5104c577b4b9c761f2854fc686c07ffa9db
author iuc
date Thu, 07 Jul 2016 02:39:52 -0400
parents
children 08412cd072d0
line wrap: on
line source

<?xml version="1.0"?>
<tool id="ncbi_eutils_egquery" name="NCBI EGQuery" version="@WRAPPER_VERSION@">
  <description>Provides the number of records retrieved in all Entrez databases by a single text query.</description>
  <macros>
    <import>macros.xml</import>
  </macros>
  <expand macro="requirements"/>
  <version_command>python egquery.py --version</version_command>
  <command detect_errors="aggressive" interpreter="python"><![CDATA[egquery.py
"$term"

@EMAIL_ARGUMENTS@
> $default]]></command>
  <inputs>
    <expand macro="dbselect"/>
    <param label="Search Term" name="term" type="text">
      <sanitizer>
        <valid>
          <add value="'"/>
          <add value="["/>
          <add value="]"/>
        </valid>
      </sanitizer>
    </param>
  </inputs>
  <outputs>
    <data format="xml" name="default" label="EGQuery Results for $term"/>
    <expand macro="history_out">
      <filter>use_history</filter>
    </expand>
  </outputs>
  <tests>
    <test>
      <param name="term" value="bacteriophage"/>
      <output name="default" file="egquery.1.xml" compare="contains" ftype="xml"/>
    </test>
  </tests>
  <help><![CDATA[
NCBI Entrez EGQuery
===================

Provides the number of records retrieved in all Entrez databases by a single
text query.

Example Queries
---------------

+----------------------+-------------+
| Parameter            | Value       |
+======================+=============+
| Term                 | Cancer      |
+----------------------+-------------+

@REFERENCES@

@DISCLAIMER@
      ]]></help>
  <expand macro="citations"/>
</tool>