view egquery.xml @ 5:0c63519ae4e0 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_eutils commit dd9b889d83f058d2ddb87a4e7709ee3d93dddd69"
author iuc
date Fri, 27 Aug 2021 11:29:47 +0000
parents d1789b4821fc
children 5277d159053d
line wrap: on
line source

<?xml version="1.0"?>
<tool id="ncbi_eutils_egquery" name="NCBI EGQuery" version="@WRAPPER_VERSION@" profile="@PROFILE@">
  <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"><![CDATA[
python '$__tool_directory__/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"/>
    <data format="json" name="history" label="NCBI History">
      <filter>use_history</filter>
    </data>
  </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>