Mercurial > repos > iuc > ncbi_eutils_einfo
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 2:f6007bce569d | 3:cd5a82a16bbf |
|---|---|
| 5 <import>macros.xml</import> | 5 <import>macros.xml</import> |
| 6 </macros> | 6 </macros> |
| 7 <expand macro="requirements"/> | 7 <expand macro="requirements"/> |
| 8 <version_command>python einfo.py --version</version_command> | 8 <version_command>python einfo.py --version</version_command> |
| 9 <command detect_errors="aggressive"><![CDATA[ | 9 <command detect_errors="aggressive"><![CDATA[ |
| 10 python '$__tool_directory__/einfo.py' | |
| 11 --db $db_select | |
| 12 | 10 |
| 13 @EMAIL_ARGUMENTS@ | 11 python '$__tool_directory__/einfo.py' |
| 14 > $default]]></command> | 12 |
| 13 #if $query_type.query_type == 'Description': | |
| 14 --db $query_type.db_select | |
| 15 #end if | |
| 16 | |
| 17 @EMAIL_ARGUMENTS@ | |
| 18 | |
| 19 > $default | |
| 20 | |
| 21 ]]></command> | |
| 15 <inputs> | 22 <inputs> |
| 16 <expand macro="dbselect"/> | 23 <conditional name="query_type"> |
| 24 <param name="query_type" type="select" label="Database Information Request Type" help="List databases or describe a database."> | |
| 25 <option value="list" selected="True">List available databases</option> | |
| 26 <option value="Description">Describe a database</option> | |
| 27 </param> | |
| 28 <when value="list"> | |
| 29 <param name="db_select" type="hidden" value="Database List"/> | |
| 30 </when> | |
| 31 <when value="Description"> | |
| 32 <expand macro="dbselect"/> | |
| 33 </when> | |
| 34 </conditional> | |
| 17 </inputs> | 35 </inputs> |
| 18 <outputs> | 36 <outputs> |
| 19 <data format="xml" name="default" label="NCBI Database Information: $db_select"/> | 37 <data format="xml" name="default" label="NCBI Database Information: $query_type.db_select"/> |
| 20 </outputs> | 38 </outputs> |
| 21 <tests> | 39 <tests> |
| 22 <test> | 40 <test> |
| 41 <param name="query_type" value="Description"/> | |
| 23 <param name="db_select" value="pubmed"/> | 42 <param name="db_select" value="pubmed"/> |
| 24 <output name="default" file="pubmed.metadata.xml" compare="contains" ftype="xml"/> | 43 <output name="default" file="pubmed.metadata.xml" compare="contains" ftype="xml"/> |
| 44 </test> | |
| 45 <test> | |
| 46 <param name="query_type" value="list"/> | |
| 47 <param name="db_select" value="Database list"/> | |
| 48 <output name="default" file="einfo.dblist.xml" ftype="xml"/> | |
| 25 </test> | 49 </test> |
| 26 </tests> | 50 </tests> |
| 27 <help><