Mercurial > repos > iuc > mykrobe_genotype
view mykrobe_genotype.xml @ 2:0f4a5de7878a draft default tip
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mykrobe commit 65f9e423263afc8f23fa51cb4770998b99f933ba"
author | iuc |
---|---|
date | Thu, 02 Jan 2020 12:04:06 -0500 |
parents | 84f769706f7a |
children |
line wrap: on
line source
<tool id="mykrobe_genotype" name="mkyrobe genotype" version="0.7.0" > <description>Antibiotic resistance predictions</description> <macros> <import>macro.xml</import> </macros> <expand macro="requirements"/> <command detect_errors="exit_code"> <![CDATA[ @select_inputs@ mykrobe genotype '${name}' '${probe_set}' #if $filter: --filters '${filter}' #end if @shared_options@ -q -t "\${GALAXY_SLOTS:-1}" -1 #if $type == 'fastq': *.fastq #elif $type == 'bam': *.bam #else *.fasta #end if > '$json' ]]> </command> <inputs> <expand macro="inputs" /> <param argument="--probe_set" type="data" format="fasta" label="Probe Set"/> <param argument="--filter" type="data" format="txt,fasta" label="Filter Genotypes" optional="True" help="Don't include filtered genotypes"/> <expand macro="options"/> </inputs> <outputs> <data name="json" format="json" label="JSON prediction"/> </outputs> <tests> <test> <param name="type" value="single"/> <param name="fastq_input1" value="reads.fastq"/> <param name="probe_set" value="tb-bradley-probe-set-feb-09-2017.fasta.gz"/> <output name="json"> <assert_contents> <has_text_matching expression="ref-S315T"/> </assert_contents> </output> </test> </tests> <help> @ATTRIBUTION@ </help> <expand macro="citation" /> </tool>