Mercurial > repos > dfornika > kraken2
annotate 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 |
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[ |
9
a811afe91eab
planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit 593a4002db3f2513974809a94db514c05fa589f6-dirty
dfornika
parents:
8
diff
changeset
|
12 @SET_DATABASE_PATH@ && |
0
a77e88d426d9
planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff
changeset
|
13 kraken2 |
a77e88d426d9
planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff
changeset
|
14 --threads \${GALAXY_SLOTS:-1} |
7
7b9218c5e126
planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit 593a4002db3f2513974809a94db514c05fa589f6-dirty
dfornika
parents:
6
diff
changeset
|
15 --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
|
16 #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
|
17 '${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
|
18 #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
|
19 '${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
|
20 #else: |
a77e88d426d9
planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff
changeset
|
21 '${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
|
22 #end if |
a77e88d426d9
planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff
changeset
|
23 > '$output' |
a77e88d426d9
planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff
changeset
|
24 ]]> |
a77e88d426d9
planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff
changeset
|
25 </command> |
a77e88d426d9
planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff
changeset
|
26 <inputs> |
a77e88d426d9
planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff
changeset
|
27 <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
|
28 <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
|
29 <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
|
30 <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
|
31 <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
|
32 </param> |
a77e88d426d9
planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff
changeset
|
33 <when value="collection"> |
a77e88d426d9
planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff
changeset
|
34 <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
|
35 </when> |
a77e88d426d9
planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff
changeset
|
36 <when value="yes"> |
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="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
|
38 <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
|
39 </when> |
a77e88d426d9
planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff
changeset
|
40 <when value="no"> |
a77e88d426d9
planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff
changeset
|
41 <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
|
42 </when> |
a77e88d426d9
planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff
changeset
|
43 </conditional> |
6
6a9137c96822
planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit 593a4002db3f2513974809a94db514c05fa589f6-dirty
dfornika
parents:
3
diff
changeset
|
44 <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
|
45 <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
|
46 <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
|
47 </options> |
babd549eeb44
planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit 593a4002db3f2513974809a94db514c05fa589f6-dirty
dfornika
parents:
1
diff
changeset
|
48 </param> |
0
a77e88d426d9
planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff
changeset
|
49 </inputs> |
a77e88d426d9
planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff
changeset
|
50 <outputs> |
a77e88d426d9
planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff
changeset
|
51 <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
|
52 </outputs> |
a77e88d426d9
planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff
changeset
|
53 <tests> |
a77e88d426d9
planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff
changeset
|
54 <test> |
a77e88d426d9
planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff
changeset
|
55 <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
|
56 <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
|
57 <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
|
58 <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
|
59 <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
|
60 <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
|
61 <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
|
62 </test> |
a77e88d426d9
planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff
changeset
|
63 </tests> |
a77e88d426d9
planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff
changeset
|
64 <help> |
a77e88d426d9
planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff
changeset
|
65 <![CDATA[ |
a77e88d426d9
planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff
changeset
|
66 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
|
67 ]]> |
a77e88d426d9
planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff
changeset
|
68 </help> |
a77e88d426d9
planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff
changeset
|
69 <expand macro="citations" /> |
a77e88d426d9
planemo upload for repository https://github.com/dfornika/galaxytools/blob/master/tools/kraken2 commit f05f93ee024df8b38efa1c92db9785d52c726f85-dirty
dfornika
parents:
diff
changeset
|
70 </tool> |