Mercurial > repos > iuc > data_manager_selection_background
comparison data_manager/data_manager_selection_background.xml @ 0:4a643ee2e4b8 draft
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_selection_background commit af3bfbbd3f1236bf96a25bcb8483f2889295ec0c"
| author | iuc |
|---|---|
| date | Fri, 20 Aug 2021 21:01:16 +0000 |
| parents | |
| children | f6d4b709b0bf |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:4a643ee2e4b8 |
|---|---|
| 1 <?xml version="1.0"?> | |
| 2 <tool id="data_manager_selection_background" name="Add background sequences" tool_type="manage_data" version="1.0.1"> | |
| 3 <description>for selection analysis</description> | |
| 4 <command detect_errors="exit_code"> | |
| 5 <![CDATA[ | |
| 6 python '$__tool_directory__/data_manager_selection_background.py' --out '$selection_background_json' | |
| 7 --dbkey '${dbkey}' | |
| 8 --label '${label}' | |
| 9 #if $data_source.source_selector == 'history': | |
| 10 --dataset '$data_source.dataset' | |
| 11 #else: | |
| 12 --uri '$data_source.uri' | |
| 13 #end if | |
| 14 ]]> | |
| 15 </command> | |
| 16 <inputs> | |
| 17 <param argument="--dbkey" type="text" label="ID for this entry" help="Enter a unique identifier, or leave blank for a randomly generated UUID" /> | |
| 18 <param argument="--label" type="text" label="Label for this entry" help="This will be displayed in the list of available backgrounds" /> | |
| 19 <conditional name="data_source"> | |
| 20 <param name="source_selector" type="select" label="Source for the data"> | |
| 21 <option value="uri">URL download</option> | |
| 22 <option value="history">Use a history dataset</option> | |
| 23 </param> | |
| 24 <when value="uri"> | |
| 25 <param argument="--uri" type="text" label="URI for the sequences" /> | |
| 26 </when> | |
| 27 <when value="history"> | |
| 28 <param argument="--dataset" type="data" format="fasta" /> | |
| 29 </when> | |
| 30 </conditional> | |
| 31 </inputs> | |
| 32 <outputs> | |
| 33 <data format="data_manager_json" name="selection_background_json" /> | |
| 34 </outputs> | |
| 35 <tests> | |
| 36 <test> | |
| 37 <param name="dbkey" value="CoV2-ORF6" /> | |
| 38 <param name="label" value="SARS-CoV-2: ORF6" /> | |
| 39 <param name="source_selector" value="history" /> | |
| 40 <param name="dataset" value="selection-in1.fa" /> | |
| 41 <output name="out_file" file="selection-out1.json" /> | |
| 42 </test> | |
| 43 </tests> | |
| 44 <help> | |
| 45 </help> | |
| 46 </tool> |
