Mercurial > repos > blankenberg > data_manager_example_blastdb_ncbi_update_blastdb
comparison data_manager/blastdb.xml @ 0:c88d28377bd1 default tip
Create an example blastdb Data Manager.
| author | Daniel Blankenberg <dan@bx.psu.edu> |
|---|---|
| date | Wed, 11 Dec 2013 16:24:11 -0500 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:c88d28377bd1 |
|---|---|
| 1 <tool id="data_manager_blast_db" name="Blast DB" version="0.0.1" tool_type="manage_data"> | |
| 2 <description>Downloader</description> | |
| 3 <command interpreter="python">fetch_blast_db.py --filename "${out_file}" --tool_data_table_name "blastdb"</command> | |
| 4 <requirements> | |
| 5 <requirement type="package" version="2.2.28">blast+</requirement> | |
| 6 </requirements> | |
| 7 <stdio> | |
| 8 <exit_code range="1:" level="fatal" description="Tool exception" /> | |
| 9 </stdio> | |
| 10 <inputs> | |
| 11 <param name="blastdb_name" type="text" label="Blast DB Name" help="try "nt" as an example" optional="False"/> | |
| 12 <conditional name="advanced"> | |
| 13 <param name="advanced_selector" type="select" label="Advanced Options"> | |
| 14 <option value="basic" selected="True">Basic</option> | |
| 15 <option value="advanced">Advanced</option> | |
| 16 </param> | |
| 17 <when value="basic"> | |
| 18 </when> | |
| 19 <when value="advanced"> | |
| 20 <param type="text" name="data_description" value="" label="Display name" help="Optional"/> | |
| 21 <param type="text" name="data_id" value="" label="ID for sequence" help="Optional"/> | |
| 22 </when> | |
| 23 </conditional> | |
| 24 </inputs> | |
| 25 <outputs> | |
| 26 <data name="out_file" format="data_manager_json"/> | |
| 27 </outputs> | |
| 28 <tests> | |
| 29 <test> | |
| 30 <param name="blastdb_name" value="est"/> | |
| 31 <param name="advanced_selector" value="basic"/> | |
| 32 <output name="out_file" file="est_out.json"/> | |
| 33 </test> | |
| 34 </tests> | |
| 35 <help> | |
| 36 **What it does** | |
| 37 | |
| 38 Downloads Blast DBs and updates blastdb tool data tables. | |
| 39 | |
| 40 ------ | |
| 41 | |
| 42 | |
| 43 .. class:: infomark | |
| 44 | |
| 45 **Notice:** This is a functional, but basic, tool for fetching preformatted blastdbs. | |
| 46 | |
| 47 </help> | |
| 48 </tool> |
