Mercurial > repos > dfornika > kma
view kma_map.xml @ 1:0cea5eb0fa0e draft
planemo upload for repository https://github.com/dfornika/galaxytools/tree/master/tools/kma/ commit e5a95750f732cec753a8c2d8dbca0f63e50205f8-dirty
author | dfornika |
---|---|
date | Fri, 04 Oct 2019 15:13:01 -0400 |
parents | abcd73320f34 |
children | 1c1dba36c061 |
line wrap: on
line source
<tool id="kma_map" name="Map with KMA" version="@TOOL_VERSION@+galaxy0"> <description></description> <macros> <import>macros.xml</import> </macros> <requirements> <requirement type="package" version="@TOOL_VERSION@">kma</requirement> </requirements> <version_command>kma -v</version_command> <command detect_errors="exit_code"> <![CDATA[ kma -t \${GALAXY_SLOTS:-1} -t_db '${kma_index.fields.path}' #if $single_paired.single_paired_selector == 'yes' -ipe '${single_paired.forward_input}' '${single_paired.reverse_input}' #elif $single_paired.single_paired_selector == "collection": -ipe '${single_paired.input_pair.forward}' '${single_paired.input_pair.reverse}' #else: -i '${single_paired.input_sequences}' #end if -o output && gunzip output.frag.gz ]]> </command> <inputs> <conditional name="single_paired"> <param name="single_paired_selector" type="select" label="Single or paired reads" help="--paired"> <option value="collection">Collection</option> <option value="yes">Paired</option> <option selected="True" value="no">Single</option> </param> <when value="collection"> <param format="fastq" name="input_pair" type="data_collection" collection_type="paired" label="Collection of paired reads" help="FASTQ datasets" /> </when> <when value="yes"> <param format="fastq" name="forward_input" type="data" label="Forward strand" help="FASTQ dataset"/> <param format="fastq" name="reverse_input" type="data" label="Reverse strand" help="FASTQ dataset"/> </when> <when value="no"> <param format="fastq" label="Input sequences" name="input_sequences" type="data" help="FASTQ datasets"/> </when> </conditional> <param name="kma_index" type="select"> <options from_data_table="kma_index"> <validator type="no_options" message="No KMA index available" /> </options> </param> </inputs> <outputs> <data name="result_overview" label="Result overview" format="tabular" from_work_dir="output.res" /> <data name="consensus_alignment" label="Consensus alignment" format="text" from_work_dir="output.aln" /> <data name="consensus_sequences" label="Consensus sequences" format="fasta" from_work_dir="output.aln" /> <data name="read_mapping" label="Read mapping info" format="tabular" from_work_dir="output.frag" /> </outputs> <tests> </tests> <help> <![CDATA[ ]]> </help> <expand macro="citations" /> </tool>