annotate kraken2.xml @ 0:a77e88d426d9 draft

planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
author dfornika
date Fri, 01 Mar 2019 12:43:26 -0500
parents
children 7932d09da19b
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 @SET_DATABASE_PATH@ &&
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
13
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
14 kraken2
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
15 --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
16 @INPUT_DATABASE@
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
17
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
18 #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
19 #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
20 --fastq-input
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
21 #else:
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
22 --fasta-input
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
23 #end if
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
24 '${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
25 ${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
26 #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
27 #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
28 --fastq-input
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
29 #else:
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
30 --fasta-input
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
31 #end if
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
32 '${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
33 ${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
34 #else:
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
35 #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
36 --fastq-input
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
37 #else:
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
38 --fasta-input
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
39 #end if
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
40 '${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
41 #end if
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
42 --db '$database'
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
43 > '$output'
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
44 ]]>
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
45 </command>
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
46 <inputs>
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
47 <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
48 <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
49 <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
50 <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
51 <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
52 </param>
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
53 <when value="collection">
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="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
55 <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
56 </when>
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
57 <when value="yes">
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
58 <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
59 <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
60 <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
61 </when>
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
62 <when value="no">
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
63 <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
64 </when>
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
65 </conditional>
a77e88d426d9 planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff changeset
66 <param name="" type="" format="" />
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>