annotate kraken2.xml @ 1:7932d09da19b draft

planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit 593a4002db3f2513974809a94db514c05fa589f6-dirty
author dfornika
date Mon, 04 Mar 2019 14:47:57 -0500
parents a77e88d426d9
children babd549eeb44
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
1 <tool id="kraken2" name="kraken2" version="@TOOL_VERSION@+galaxy0">
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
2 <description></description>
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
3 <macros>
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
4 <import>macros.xml</import>
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
5 </macros>
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
6 <requirements>
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
7 <requirement type="package" version="@TOOL_VERSION@">kraken2</requirement>
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
8 </requirements>
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
9 <version_command>kraken2 --version</version_command>
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
10 <command detect_errors="exit_code">
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
11 <![CDATA[
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
12 kraken2
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
13 --threads \${GALAXY_SLOTS:-1}
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
14 @INPUT_DATABASE@
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
15 #if $single_paired.single_paired_selector == 'yes'
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
16 #if $forward_input.is_of_type( 'fastq' ):
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
17 --fastq-input
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
18 #else:
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
19 --fasta-input
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
20 #end if
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
21 '${single_paired.forward_input}' '${single_paired.reverse_input}'
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
22 ${single_paired.check_names}
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
23 #elif $single_paired.single_paired_selector == "collection":
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
24 #if $single_paired.input_pair.forward.is_of_type( 'fastq' ):
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
25 --fastq-input
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
26 #else:
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
27 --fasta-input
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
28 #end if
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
29 '${single_paired.input_pair.forward}' '${single_paired.input_pair.reverse}'
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
30 ${single_paired.check_names}
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
31 #else:
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
32 #if $single_paired.input_sequences.is_of_type('fastq')
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
33 --fastq-input
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
34 #else:
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
35 --fasta-input
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
36 #end if
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
37 '${single_paired.input_sequences}'
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
38 #end if
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
39 --db '$database'
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
40 > '$output'
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
41 ]]>
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
42 </command>
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
43 <inputs>
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
44 <conditional name="single_paired">
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
45 <param name="single_paired_selector" type="select" label="Single or paired reads" help="--paired">
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
46 <option value="collection">Collection</option>
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
47 <option value="yes">Paired</option>
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
48 <option selected="True" value="no">Single</option>
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
49 </param>
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
50 <when value="collection">
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
51 <param format="fasta,fastq" name="input_pair" type="data_collection" collection_type="paired" label="Collection of paired reads" help="FASTA or FASTQ datasets" />
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
52 <param name="check_names" argument="--check-names" type="boolean" checked="False" truevalue="--paired --check-names" falsevalue="--paired" label="Verify read names match"/>
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
53 </when>
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
54 <when value="yes">
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
55 <param format="fasta,fastq" name="forward_input" type="data" label="Forward strand" help="FASTA or FASTQ dataset"/>
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
56 <param format="fasta,fastq" name="reverse_input" type="data" label="Reverse strand" help="FASTA or FASTQ dataset"/>
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
57 <param name="check_names" type="boolean" checked="False" truevalue="--paired --check-names" falsevalue="--paired" label="Verify read names match" help="--check-names" />
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
58 </when>
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
59 <when value="no">
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
60 <param format="fasta,fastq" label="Input sequences" name="input_sequences" type="data" help="FASTA or FASTQ datasets"/>
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
61 </when>
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
62 </conditional>
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
63 </inputs>
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
64 <outputs>
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
65 <data name="output" format="" />
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
66 </outputs>
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
67 <tests>
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
68 <test>
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
69 <param name="single_paired_selector" value="no"/>
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
70 <param name="input_sequences" value="kraken_test1.fa" ftype="fasta"/>
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
71 <param name="split_reads" value="false"/>
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
72 <param name="quick" value="no"/>
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
73 <param name="only-classified-output" value="false"/>
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
74 <param name="kraken_database" value="new_style_test_entry"/>
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
75 <output name="output" file="kraken_test1_output.tab" ftype="tabular"/>
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
76 </test>
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
77 </tests>
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
78 <help>
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
79 <![CDATA[
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
80 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.
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
81 ]]>
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
82 </help>
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
83 <expand macro="citations" />
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
84 </tool>