Mercurial > repos > iuc > data_manager_selection_background
view data_manager/data_manager_selection_background.xml @ 0:bb5794942b5e 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:03:25 +0000 |
parents | |
children | e4f07770b340 |
line wrap: on
line source
<?xml version="1.0"?> <tool id="data_manager_selection_background" name="Add background sequences" tool_type="manage_data" version="1.0.1"> <description>for selection analysis</description> <command detect_errors="exit_code"> <![CDATA[ python '$__tool_directory__/data_manager_selection_background.py' --out '$selection_background_json' --dbkey '${dbkey}' --label '${label}' #if $data_source.source_selector == 'history': --dataset '$data_source.dataset' #else: --uri '$data_source.uri' #end if ]]> </command> <inputs> <param argument="--dbkey" type="text" label="ID for this entry" help="Enter a unique identifier, or leave blank for a randomly generated UUID" /> <param argument="--label" type="text" label="Label for this entry" help="This will be displayed in the list of available backgrounds" /> <conditional name="data_source"> <param name="source_selector" type="select" label="Source for the data"> <option value="uri">URL download</option> <option value="history">Use a history dataset</option> </param> <when value="uri"> <param argument="--uri" type="text" label="URI for the sequences" /> </when> <when value="history"> <param argument="--dataset" type="data" format="fasta" /> </when> </conditional> </inputs> <outputs> <data format="data_manager_json" name="selection_background_json" /> </outputs> <tests> <test> <param name="dbkey" value="CoV2-ORF6" /> <param name="label" value="SARS-CoV-2: ORF6" /> <param name="source_selector" value="history" /> <param name="dataset" value="selection-in1.fa" /> <output name="out_file" file="selection-out1.json" /> </test> </tests> <help> </help> </tool>