annotate kraken2.xml @ 6:6a9137c96822 draft

planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit 593a4002db3f2513974809a94db514c05fa589f6-dirty
author dfornika
date Mon, 04 Mar 2019 16:57:25 -0500
parents babd549eeb44
children 7b9218c5e126
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 #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
15 #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
16 --fastq-input
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
17 #else:
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
18 --fasta-input
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
19 #end if
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
20 '${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
21 ${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
22 #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
23 #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
24 --fastq-input
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
25 #else:
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
26 --fasta-input
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
27 #end if
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
28 '${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
29 ${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
30 #else:
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
31 #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
32 --fastq-input
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
33 #else:
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
34 --fasta-input
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
35 #end if
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
36 '${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
37 #end if
6
6a9137c96822 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit 593a4002db3f2513974809a94db514c05fa589f6-dirty
dfornika
parents: 3
diff changeset
38 --db '$kraken2_database'
0
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
39 > '$output'
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
40 ]]>
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
41 </command>
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
42 <inputs>
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
43 <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
44 <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
45 <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
46 <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
47 <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
48 </param>
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
49 <when value="collection">
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
50 <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
51 <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
52 </when>
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
53 <when value="yes">
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
54 <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
55 <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
56 <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
57 </when>
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
58 <when value="no">
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
59 <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
60 </when>
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
61 </conditional>
6
6a9137c96822 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit 593a4002db3f2513974809a94db514c05fa589f6-dirty
dfornika
parents: 3
diff changeset
62 <param name="kraken2_database" type="select">
3
babd549eeb44 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit 593a4002db3f2513974809a94db514c05fa589f6-dirty
dfornika
parents: 1
diff changeset
63 <options from_data_table="kraken2_databases">
babd549eeb44 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit 593a4002db3f2513974809a94db514c05fa589f6-dirty
dfornika
parents: 1
diff changeset
64 <validator type="no_options" message="No Kraken2 databases are available" />
babd549eeb44 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit 593a4002db3f2513974809a94db514c05fa589f6-dirty
dfornika
parents: 1
diff changeset
65 </options>
babd549eeb44 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit 593a4002db3f2513974809a94db514c05fa589f6-dirty
dfornika
parents: 1
diff changeset
66 </param>
0
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
67 </inputs>
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
68 <outputs>
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
69 <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
70 </outputs>
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
71 <tests>
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
72 <test>
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
73 <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
74 <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
75 <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
76 <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
77 <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
78 <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
79 <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
80 </test>
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
81 </tests>
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 <![CDATA[
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
84 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
85 ]]>
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
86 </help>
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
87 <expand macro="citations" />
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
88 </tool>