Mercurial > repos > iuc > data_manager_selection_background
view data_manager/data_manager_selection_background.xml @ 4:3f0af6aa8667 draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_selection_background commit a54e50916ebdb0858b049cdc549a43df801e1a71
author | iuc |
---|---|
date | Tue, 21 May 2024 07:36:47 +0000 |
parents | 10ac95ec81d9 |
children |
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.4" profile="23.0"> <description>for selection analysis</description> <requirements> <requirement type="package" version="3.8.3">python</requirement> </requirements> <command detect_errors="exit_code"> <![CDATA[ python '$__tool_directory__/data_manager_selection_background.py' --output '$selection_background_json' #if $dbkey: --dbkey '${dbkey}' #end if --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="selection_background_json" file="selection-out1.json" /> </test> </tests> <help> </help> </tool>