Mercurial > repos > dfornika > kraken2
view kraken2.xml @ 9:a811afe91eab draft
planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit 593a4002db3f2513974809a94db514c05fa589f6-dirty
author | dfornika |
---|---|
date | Mon, 04 Mar 2019 17:21:42 -0500 |
parents | d120504e741a |
children | a74785cdf5e3 |
line wrap: on
line source
<tool id="kraken2" name="kraken2" version="@TOOL_VERSION@+galaxy0"> <description></description> <macros> <import>macros.xml</import> </macros> <requirements> <requirement type="package" version="@TOOL_VERSION@">kraken2</requirement> </requirements> <version_command>kraken2 --version</version_command> <command detect_errors="exit_code"> <![CDATA[ @SET_DATABASE_PATH@ && kraken2 --threads \${GALAXY_SLOTS:-1} --db '$kraken2_database' #if $single_paired.single_paired_selector == 'yes' '${single_paired.forward_input}' '${single_paired.reverse_input}' #elif $single_paired.single_paired_selector == "collection": '${single_paired.input_pair.forward}' '${single_paired.input_pair.reverse}' #else: '${single_paired.input_sequences}' #end if > '$output' ]]> </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="fasta,fastq" name="input_pair" type="data_collection" collection_type="paired" label="Collection of paired reads" help="FASTA or FASTQ datasets" /> </when> <when value="yes"> <param format="fasta,fastq" name="forward_input" type="data" label="Forward strand" help="FASTA or FASTQ dataset"/> <param format="fasta,fastq" name="reverse_input" type="data" label="Reverse strand" help="FASTA or FASTQ dataset"/> </when> <when value="no"> <param format="fasta,fastq" label="Input sequences" name="input_sequences" type="data" help="FASTA or FASTQ datasets"/> </when> </conditional> <param name="kraken2_database" type="select"> <options from_data_table="kraken2_databases"> <validator type="no_options" message="No Kraken2 databases are available" /> </options> </param> </inputs> <outputs> <data name="output" format="" /> </outputs> <tests> <test> <param name="single_paired_selector" value="no"/> <param name="input_sequences" value="kraken_test1.fa" ftype="fasta"/> <param name="split_reads" value="false"/> <param name="quick" value="no"/> <param name="only-classified-output" value="false"/> <param name="kraken_database" value="new_style_test_entry"/> <output name="output" file="kraken_test1_output.tab" ftype="tabular"/> </test> </tests> <help> <![CDATA[ Kraken is a taxonomic classification system using exact k-mer matches to achieve high accuracy and fast classification speeds. This classifier matches each k-mer within a query sequence to the lowest common ancestor (LCA) of all genomes containing the given k-mer. The k-mer assignments inform the classification algorithm. ]]> </help> <expand macro="citations" /> </tool>