Mercurial > repos > iuc > ncbi_eutils_einfo
view einfo.xml @ 5:e61965d8a3e2 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:19 +0000 |
parents | ad0e3818b6ae |
children | fe54c8d5d5fd |
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"> <assert_contents> <is_valid_xml/> </assert_contents> </output> </test> <test> <param name="query_type" value="list"/> <param name="db_select" value="Database list"/> <output name="default" ftype="xml"> <assert_contents> <has_text text="<DbName>pubmed</DbName>"/> <is_valid_xml/> </assert_contents> </output> </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>