Mercurial > repos > bvalot > pymlst
view wgmlst_import.xml @ 2:4394da33d837 draft default tip
planemo upload for repository https://github.com/bvalot/pyMLST commit 142042a3856f8886031cacaa4fb28743a1bcd540
author | bvalot |
---|---|
date | Wed, 15 Nov 2023 12:22:07 +0000 |
parents | 5b2c48fa0175 |
children |
line wrap: on
line source
<tool id="wgmlst_import_wrapper" name="Import cgMLST database" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="20.05"> <description></description> <macros> <import>macro.xml</import> </macros> <expand macro="requirements" /> <stdio> <exit_code range="1:" level="fatal" /> </stdio> <version_command>wgMLST -v</version_command> <command> wgMLST import --force --no-prompt '${database}' '$search' &> '${logfile}' </command> <inputs> <param name="search" type="text" value="" optional="false" size="50" label="Species name to import" help="Bacterial species to download from cgMLST.org database" /> </inputs> <outputs> <data name="logfile" format="txt" label="${tool.name} import on ${search}: log" /> <data name="database" format="sqlite" label="cgMLST database on ${search}" /> </outputs> <tests> <test expect_num_outputs="2"> <param name="search" value="Escherichia" /> <output name="logfile" ftype="txt"> <assert_contents> <has_text text="One element found : Escherichia coli" /> <has_text text="Downloading the core genome..." /> <has_text text="Reverse-complemented genes: 1294" /> <has_text text="Database initialized" /> </assert_contents> </output> </test> </tests> <help> **What it does** Import a cgMLST database from cgmlst.org Example : - Pseudomonas aeruginosa - Escherichia **License and citation** This Galaxy tool is Copyright © 2022 `B. Valot` and is released under the `GPL3 license`. </help> <citations> </citations> </tool>