annotate kraken2.xml @ 12:269ea4b78bbb draft default tip

planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit 70494d589aa1990618ebc7a895e91477d41c3203-dirty
author dfornika
date Mon, 04 Mar 2019 20:22:06 -0500
parents a74785cdf5e3
children
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}
12
269ea4b78bbb planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit 70494d589aa1990618ebc7a895e91477d41c3203-dirty
dfornika
parents: 10
diff changeset
14 --db '${kraken2_database.fields.path}'
0
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 '${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
17 #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
18 '${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
19 #else:
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
20 '${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
21 #end if
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
22 > '$output'
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
23 ]]>
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
24 </command>
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
25 <inputs>
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
26 <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
27 <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
28 <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
29 <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
30 <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
31 </param>
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
32 <when value="collection">
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
33 <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
34 </when>
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
35 <when value="yes">
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
36 <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
37 <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
38 </when>
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
39 <when value="no">
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
40 <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
41 </when>
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
42 </conditional>
6
6a9137c96822 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit 593a4002db3f2513974809a94db514c05fa589f6-dirty
dfornika
parents: 3
diff changeset
43 <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
44 <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
45 <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
46 </options>
babd549eeb44 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit 593a4002db3f2513974809a94db514c05fa589f6-dirty
dfornika
parents: 1
diff changeset
47 </param>
0
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
48 </inputs>
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
49 <outputs>
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
50 <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
51 </outputs>
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
52 <tests>
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
53 <test>
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
54 <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
55 <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
56 <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
57 <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
58 <param name="only-classified-output" value="false"/>
10
a74785cdf5e3 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit 593a4002db3f2513974809a94db514c05fa589f6-dirty
dfornika
parents: 9
diff changeset
59 <param name="kraken2_database" value="new_style_test_entry"/>
0
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
60 <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
61 </test>
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
62 </tests>
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
63 <help>
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
64 <![CDATA[
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
65 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
66 ]]>
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
67 </help>
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
68 <expand macro="citations" />
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
69 </tool>