Mercurial > repos > iuc > ncbi_eutils_einfo
view einfo.xml @ 3:cd5a82a16bbf draft
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/ncbi_entrez_eutils commit dae34e5e182b4cceb808d7353080f14aa9a78ca9"
author | iuc |
---|---|
date | Wed, 23 Sep 2020 09:49:45 +0000 |
parents | f6007bce569d |
children | ad0e3818b6ae |
line wrap: on
line source
<?xml version="1.0"?> <tool id="ncbi_eutils_einfo" name="NCBI EInfo" version="@WRAPPER_VERSION@" profile="@PROFILE@"> <description>fetch NCBI database metadata</description> <macros> <import>macros.xml</import> </macros> <expand macro="requirements"/> <version_command>python einfo.py --version</version_command> <command detect_errors="aggressive"><![CDATA[ python '$__tool_directory__/einfo.py' #if $query_type.query_type == 'Description': --db $query_type.db_select #end if @EMAIL_ARGUMENTS@ > $default ]]></command> <inputs> <conditional name="query_type"> <param name="query_type" type="select" label="Database Information Request Type" help="List databases or describe a database."> <option value="list" selected="True">List available databases</option> <option value="Description">Describe a database</option> </param> <when value="list"> <param name="db_select" type="hidden" value="Database List"/> </when> <when value="Description"> <expand macro="dbselect"/> </when> </conditional> </inputs> <outputs> <data format="xml" name="default" label="NCBI Database Information: $query_type.db_select"/> </outputs> <tests> <test> <param name="query_type" value="Description"/> <param name="db_select" value="pubmed"/> <output name="default" file="pubmed.metadata.xml" compare="contains" ftype="xml"/> </test> <test> <param name="query_type" value="list"/> <param name="db_select" value="Database list"/> <output name="default" file="einfo.dblist.xml" ftype="xml"/> </test> </tests> <help><![CDATA[ NCBI Entrez EInfo ================= Provides the number of records indexed in each field of a given database, the date of the last update of the database, and the available links from the database to other Entrez databases. @REFERENCES@ @DISCLAIMER@ ]]></help> <expand macro="citations"/> </tool>