annotate kraken.xml @ 14:a44cdb52201c draft default tip

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/ commit 1590e274eaa41ea77a6017111f9122e0a58aa75d-dirty"
author iuc
date Tue, 03 Dec 2019 18:29:41 +0000
parents 96f11a194da9
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
7d6b55e6417e Uploaded
devteam
parents:
diff changeset
1 <?xml version="1.0"?>
11
69e7d02d21fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/kraken/ commit e8fc7c9dad5f583ad6763ecb9bd8c924832abacd
iuc
parents: 10
diff changeset
2 <tool id="kraken" name="Kraken" version="@WRAPPER_VERSION@">
0
7d6b55e6417e Uploaded
devteam
parents:
diff changeset
3 <description>
2
898ded2d4fff planemo upload for repository https://github.com/galaxyproject/tools-devteam/blob/master/tool_collections/kraken/kraken/ commit cb6ebb843c71dcfc73aa05cc616f8e3229170108-dirty
devteam
parents: 1
diff changeset
4 assign taxonomic labels to sequencing reads
0
7d6b55e6417e Uploaded
devteam
parents:
diff changeset
5 </description>
7d6b55e6417e Uploaded
devteam
parents:
diff changeset
6 <macros>
7d6b55e6417e Uploaded
devteam
parents:
diff changeset
7 <import>macros.xml</import>
7d6b55e6417e Uploaded
devteam
parents:
diff changeset
8 </macros>
7
19939bfcf283 planemo upload for repository https://github.com/galaxyproject/tools-devteam/blob/master/tool_collections/kraken/kraken/ commit de7140295cce07e1bc1697e51dab4271c8d7a8a6
devteam
parents: 6
diff changeset
9 <expand macro="requirements" />
19939bfcf283 planemo upload for repository https://github.com/galaxyproject/tools-devteam/blob/master/tool_collections/kraken/kraken/ commit de7140295cce07e1bc1697e51dab4271c8d7a8a6
devteam
parents: 6
diff changeset
10 <expand macro="version_command" />
11
69e7d02d21fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/kraken/ commit e8fc7c9dad5f583ad6763ecb9bd8c924832abacd
iuc
parents: 10
diff changeset
11 <command detect_errors="exit_code">
0
7d6b55e6417e Uploaded
devteam
parents:
diff changeset
12 <![CDATA[
1
656215d2a793 planemo upload for repository https://github.com/galaxyproject/tools-devteam/blob/master/tool_collections/kraken/kraken/ commit cb1743eafd4ca98be0148d557770ef8635cc8d4c-dirty
devteam
parents: 0
diff changeset
13 @SET_DATABASE_PATH@ &&
11
69e7d02d21fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/kraken/ commit e8fc7c9dad5f583ad6763ecb9bd8c924832abacd
iuc
parents: 10
diff changeset
14
69e7d02d21fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/kraken/ commit e8fc7c9dad5f583ad6763ecb9bd8c924832abacd
iuc
parents: 10
diff changeset
15 kraken
69e7d02d21fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/kraken/ commit e8fc7c9dad5f583ad6763ecb9bd8c924832abacd
iuc
parents: 10
diff changeset
16 --threads \${GALAXY_SLOTS:-1}
69e7d02d21fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/kraken/ commit e8fc7c9dad5f583ad6763ecb9bd8c924832abacd
iuc
parents: 10
diff changeset
17 @INPUT_DATABASE@
69e7d02d21fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/kraken/ commit e8fc7c9dad5f583ad6763ecb9bd8c924832abacd
iuc
parents: 10
diff changeset
18 ${only_classified_output}
2
898ded2d4fff planemo upload for repository https://github.com/galaxyproject/tools-devteam/blob/master/tool_collections/kraken/kraken/ commit cb6ebb843c71dcfc73aa05cc616f8e3229170108-dirty
devteam
parents: 1
diff changeset
19
11
69e7d02d21fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/kraken/ commit e8fc7c9dad5f583ad6763ecb9bd8c924832abacd
iuc
parents: 10
diff changeset
20 #if str( $quick_operation.quick ) == "yes":
69e7d02d21fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/kraken/ commit e8fc7c9dad5f583ad6763ecb9bd8c924832abacd
iuc
parents: 10
diff changeset
21 --quick
69e7d02d21fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/kraken/ commit e8fc7c9dad5f583ad6763ecb9bd8c924832abacd
iuc
parents: 10
diff changeset
22 --min-hits ${quick_operation.min_hits}
2
898ded2d4fff planemo upload for repository https://github.com/galaxyproject/tools-devteam/blob/master/tool_collections/kraken/kraken/ commit cb6ebb843c71dcfc73aa05cc616f8e3229170108-dirty
devteam
parents: 1
diff changeset
23
11
69e7d02d21fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/kraken/ commit e8fc7c9dad5f583ad6763ecb9bd8c924832abacd
iuc
parents: 10
diff changeset
24 #end if
2
898ded2d4fff planemo upload for repository https://github.com/galaxyproject/tools-devteam/blob/master/tool_collections/kraken/kraken/ commit cb6ebb843c71dcfc73aa05cc616f8e3229170108-dirty
devteam
parents: 1
diff changeset
25
11
69e7d02d21fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/kraken/ commit e8fc7c9dad5f583ad6763ecb9bd8c924832abacd
iuc
parents: 10
diff changeset
26 #if $single_paired.single_paired_selector == 'yes'
69e7d02d21fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/kraken/ commit e8fc7c9dad5f583ad6763ecb9bd8c924832abacd
iuc
parents: 10
diff changeset
27 #if $forward_input.is_of_type( 'fastq' ):
69e7d02d21fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/kraken/ commit e8fc7c9dad5f583ad6763ecb9bd8c924832abacd
iuc
parents: 10
diff changeset
28 --fastq-input
69e7d02d21fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/kraken/ commit e8fc7c9dad5f583ad6763ecb9bd8c924832abacd
iuc
parents: 10
diff changeset
29 #else:
69e7d02d21fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/kraken/ commit e8fc7c9dad5f583ad6763ecb9bd8c924832abacd
iuc
parents: 10
diff changeset
30 --fasta-input
69e7d02d21fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/kraken/ commit e8fc7c9dad5f583ad6763ecb9bd8c924832abacd
iuc
parents: 10
diff changeset
31 #end if
69e7d02d21fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/kraken/ commit e8fc7c9dad5f583ad6763ecb9bd8c924832abacd
iuc
parents: 10
diff changeset
32 '${single_paired.forward_input}' '${single_paired.reverse_input}'
69e7d02d21fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/kraken/ commit e8fc7c9dad5f583ad6763ecb9bd8c924832abacd
iuc
parents: 10
diff changeset
33 ${single_paired.check_names}
69e7d02d21fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/kraken/ commit e8fc7c9dad5f583ad6763ecb9bd8c924832abacd
iuc
parents: 10
diff changeset
34 #elif $single_paired.single_paired_selector == "collection":
69e7d02d21fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/kraken/ commit e8fc7c9dad5f583ad6763ecb9bd8c924832abacd
iuc
parents: 10
diff changeset
35 #if $single_paired.input_pair.forward.is_of_type( 'fastq' ):
69e7d02d21fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/kraken/ commit e8fc7c9dad5f583ad6763ecb9bd8c924832abacd
iuc
parents: 10
diff changeset
36 --fastq-input
69e7d02d21fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/kraken/ commit e8fc7c9dad5f583ad6763ecb9bd8c924832abacd
iuc
parents: 10
diff changeset
37 #else:
69e7d02d21fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/kraken/ commit e8fc7c9dad5f583ad6763ecb9bd8c924832abacd
iuc
parents: 10
diff changeset
38 --fasta-input
69e7d02d21fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/kraken/ commit e8fc7c9dad5f583ad6763ecb9bd8c924832abacd
iuc
parents: 10
diff changeset
39 #end if
12
33a5a81e10ee planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/kraken/ commit 659d4506dad485d853a91a6a6f8bed1e3c56e204
iuc
parents: 11
diff changeset
40 '${single_paired.input_pair.forward}' '${single_paired.input_pair.reverse}'
11
69e7d02d21fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/kraken/ commit e8fc7c9dad5f583ad6763ecb9bd8c924832abacd
iuc
parents: 10
diff changeset
41 ${single_paired.check_names}
5
bc918f32d4be planemo upload for repository https://github.com/galaxyproject/tools-devteam/blob/master/tool_collections/kraken/kraken/ commit 4782f9ad9bfe2479685ccaf51b66b0d32f83f193
devteam
parents: 4
diff changeset
42 #else:
11
69e7d02d21fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/kraken/ commit e8fc7c9dad5f583ad6763ecb9bd8c924832abacd
iuc
parents: 10
diff changeset
43 #if $single_paired.input_sequences.is_of_type('fastq')
69e7d02d21fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/kraken/ commit e8fc7c9dad5f583ad6763ecb9bd8c924832abacd
iuc
parents: 10
diff changeset
44 --fastq-input
69e7d02d21fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/kraken/ commit e8fc7c9dad5f583ad6763ecb9bd8c924832abacd
iuc
parents: 10
diff changeset
45 #else:
69e7d02d21fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/kraken/ commit e8fc7c9dad5f583ad6763ecb9bd8c924832abacd
iuc
parents: 10
diff changeset
46 --fasta-input
69e7d02d21fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/kraken/ commit e8fc7c9dad5f583ad6763ecb9bd8c924832abacd
iuc
parents: 10
diff changeset
47 #end if
69e7d02d21fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/kraken/ commit e8fc7c9dad5f583ad6763ecb9bd8c924832abacd
iuc
parents: 10
diff changeset
48 '${single_paired.input_sequences}'
4
55d42997c0b5 planemo upload for repository https://github.com/galaxyproject/tools-devteam/blob/master/tool_collections/kraken/kraken/
devteam
parents: 3
diff changeset
49 #end if
2
898ded2d4fff planemo upload for repository https://github.com/galaxyproject/tools-devteam/blob/master/tool_collections/kraken/kraken/ commit cb6ebb843c71dcfc73aa05cc616f8e3229170108-dirty
devteam
parents: 1
diff changeset
50
11
69e7d02d21fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/kraken/ commit e8fc7c9dad5f583ad6763ecb9bd8c924832abacd
iuc
parents: 10
diff changeset
51 #if $split_reads:
12
33a5a81e10ee planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/kraken/ commit 659d4506dad485d853a91a6a6f8bed1e3c56e204
iuc
parents: 11
diff changeset
52 --classified-out '${classified_out}' --unclassified-out '${unclassified_out}'
11
69e7d02d21fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/kraken/ commit e8fc7c9dad5f583ad6763ecb9bd8c924832abacd
iuc
parents: 10
diff changeset
53 #end if
7
19939bfcf283 planemo upload for repository https://github.com/galaxyproject/tools-devteam/blob/master/tool_collections/kraken/kraken/ commit de7140295cce07e1bc1697e51dab4271c8d7a8a6
devteam
parents: 6
diff changeset
54
11
69e7d02d21fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/kraken/ commit e8fc7c9dad5f583ad6763ecb9bd8c924832abacd
iuc
parents: 10
diff changeset
55 ## The --output option was changed to redirect as it does not work properly is some situations. For example, on test database the tool classifies 4 reads but does not write them into a file if --output is specified. It does however print correct output into STDOUT. This behavior can be re-created with test database provided in test-data/test_db/ folder. This is the reason for incrementing version number from 1.1.2 to 1.1.3
7
19939bfcf283 planemo upload for repository https://github.com/galaxyproject/tools-devteam/blob/master/tool_collections/kraken/kraken/ commit de7140295cce07e1bc1697e51dab4271c8d7a8a6
devteam
parents: 6
diff changeset
56
12
33a5a81e10ee planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/kraken/ commit 659d4506dad485d853a91a6a6f8bed1e3c56e204
iuc
parents: 11
diff changeset
57 > '${output}'
33a5a81e10ee planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/kraken/ commit 659d4506dad485d853a91a6a6f8bed1e3c56e204
iuc
parents: 11
diff changeset
58 ##kraken-translate --db '${kraken_database.fields.name}' '${output}' > '${translated}'
11
69e7d02d21fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/kraken/ commit e8fc7c9dad5f583ad6763ecb9bd8c924832abacd
iuc
parents: 10
diff changeset
59 ]]></command>
0
7d6b55e6417e Uploaded
devteam
parents:
diff changeset
60 <inputs>
4
55d42997c0b5 planemo upload for repository https://github.com/galaxyproject/tools-devteam/blob/master/tool_collections/kraken/kraken/
devteam
parents: 3
diff changeset
61 <conditional name="single_paired">
5
bc918f32d4be planemo upload for repository https://github.com/galaxyproject/tools-devteam/blob/master/tool_collections/kraken/kraken/ commit 4782f9ad9bfe2479685ccaf51b66b0d32f83f193
devteam
parents: 4
diff changeset
62 <param name="single_paired_selector" type="select" label="Single or paired reads" help="--paired">
bc918f32d4be planemo upload for repository https://github.com/galaxyproject/tools-devteam/blob/master/tool_collections/kraken/kraken/ commit 4782f9ad9bfe2479685ccaf51b66b0d32f83f193
devteam
parents: 4
diff changeset
63 <option value="collection">Collection</option>
7
19939bfcf283 planemo upload for repository https://github.com/galaxyproject/tools-devteam/blob/master/tool_collections/kraken/kraken/ commit de7140295cce07e1bc1697e51dab4271c8d7a8a6
devteam
parents: 6
diff changeset
64 <option value="yes">Paired</option>
19939bfcf283 planemo upload for repository https://github.com/galaxyproject/tools-devteam/blob/master/tool_collections/kraken/kraken/ commit de7140295cce07e1bc1697e51dab4271c8d7a8a6
devteam
parents: 6
diff changeset
65 <option selected="True" value="no">Single</option>
4
55d42997c0b5 planemo upload for repository https://github.com/galaxyproject/tools-devteam/blob/master/tool_collections/kraken/kraken/
devteam
parents: 3
diff changeset
66 </param>
5
bc918f32d4be planemo upload for repository https://github.com/galaxyproject/tools-devteam/blob/master/tool_collections/kraken/kraken/ commit 4782f9ad9bfe2479685ccaf51b66b0d32f83f193
devteam
parents: 4
diff changeset
67 <when value="collection">
11
69e7d02d21fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/kraken/ commit e8fc7c9dad5f583ad6763ecb9bd8c924832abacd
iuc
parents: 10
diff changeset
68 <param format="fasta,fastq" name="input_pair" type="data_collection" collection_type="paired" label="Collection of paired reads" help="FASTA or FASTQ datasets" />
69e7d02d21fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/kraken/ commit e8fc7c9dad5f583ad6763ecb9bd8c924832abacd
iuc
parents: 10
diff changeset
69 <param name="check_names" argument="--check-names" type="boolean" checked="False" truevalue="--paired --check-names" falsevalue="--paired" label="Verify read names match"/>
5
bc918f32d4be planemo upload for repository https://github.com/galaxyproject/tools-devteam/blob/master/tool_collections/kraken/kraken/ commit 4782f9ad9bfe2479685ccaf51b66b0d32f83f193
devteam
parents: 4
diff changeset
70 </when>
4
55d42997c0b5 planemo upload for repository https://github.com/galaxyproject/tools-devteam/blob/master/tool_collections/kraken/kraken/
devteam
parents: 3
diff changeset
71 <when value="yes">
11
69e7d02d21fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/kraken/ commit e8fc7c9dad5f583ad6763ecb9bd8c924832abacd
iuc
parents: 10
diff changeset
72 <param format="fasta,fastq" name="forward_input" type="data" label="Forward strand" help="FASTA or FASTQ dataset"/>
69e7d02d21fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/kraken/ commit e8fc7c9dad5f583ad6763ecb9bd8c924832abacd
iuc
parents: 10
diff changeset
73 <param format="fasta,fastq" name="reverse_input" type="data" label="Reverse strand" help="FASTA or FASTQ dataset"/>
4
55d42997c0b5 planemo upload for repository https://github.com/galaxyproject/tools-devteam/blob/master/tool_collections/kraken/kraken/
devteam
parents: 3
diff changeset
74 <param name="check_names" type="boolean" checked="False" truevalue="--paired --check-names" falsevalue="--paired" label="Verify read names match" help="--check-names" />
55d42997c0b5 planemo upload for repository https://github.com/galaxyproject/tools-devteam/blob/master/tool_collections/kraken/kraken/
devteam
parents: 3
diff changeset
75 </when>
55d42997c0b5 planemo upload for repository https://github.com/galaxyproject/tools-devteam/blob/master/tool_collections/kraken/kraken/
devteam
parents: 3
diff changeset
76 <when value="no">
55d42997c0b5 planemo upload for repository https://github.com/galaxyproject/tools-devteam/blob/master/tool_collections/kraken/kraken/
devteam
parents: 3
diff changeset
77 <param format="fasta,fastq" label="Input sequences" name="input_sequences" type="data" help="FASTA or FASTQ datasets"/>
55d42997c0b5 planemo upload for repository https://github.com/galaxyproject/tools-devteam/blob/master/tool_collections/kraken/kraken/
devteam
parents: 3
diff changeset
78 </when>
55d42997c0b5 planemo upload for repository https://github.com/galaxyproject/tools-devteam/blob/master/tool_collections/kraken/kraken/
devteam
parents: 3
diff changeset
79
55d42997c0b5 planemo upload for repository https://github.com/galaxyproject/tools-devteam/blob/master/tool_collections/kraken/kraken/
devteam
parents: 3
diff changeset
80 </conditional>
11
69e7d02d21fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/kraken/ commit e8fc7c9dad5f583ad6763ecb9bd8c924832abacd
iuc
parents: 10
diff changeset
81 <param name="split_reads" type="boolean" label="Output classified and unclassified reads?" help="Sets --unclassified-out and --classified-out"/>
69e7d02d21fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/kraken/ commit e8fc7c9dad5f583ad6763ecb9bd8c924832abacd
iuc
parents: 10
diff changeset
82
2
898ded2d4fff planemo upload for repository https://github.com/galaxyproject/tools-devteam/blob/master/tool_collections/kraken/kraken/ commit cb6ebb843c71dcfc73aa05cc616f8e3229170108-dirty
devteam
parents: 1
diff changeset
83 <conditional name="quick_operation">
11
69e7d02d21fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/kraken/ commit e8fc7c9dad5f583ad6763ecb9bd8c924832abacd
iuc
parents: 10
diff changeset
84 <param argument="--quick" type="select" label="Enable quick operation"
69e7d02d21fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/kraken/ commit e8fc7c9dad5f583ad6763ecb9bd8c924832abacd
iuc
parents: 10
diff changeset
85 help="Quick mode: rather than searching all k-mers in a sequence, stop classification after a specified number of database hit">
2
898ded2d4fff planemo upload for repository https://github.com/galaxyproject/tools-devteam/blob/master/tool_collections/kraken/kraken/ commit cb6ebb843c71dcfc73aa05cc616f8e3229170108-dirty
devteam
parents: 1
diff changeset
86 <option value="yes">Yes</option>
898ded2d4fff planemo upload for repository https://github.com/galaxyproject/tools-devteam/blob/master/tool_collections/kraken/kraken/ commit cb6ebb843c71dcfc73aa05cc616f8e3229170108-dirty
devteam
parents: 1
diff changeset
87 <option selected="True" value="no">No</option>
898ded2d4fff planemo upload for repository https://github.com/galaxyproject/tools-devteam/blob/master/tool_collections/kraken/kraken/ commit cb6ebb843c71dcfc73aa05cc616f8e3229170108-dirty
devteam
parents: 1
diff changeset
88 </param>
898ded2d4fff planemo upload for repository https://github.com/galaxyproject/tools-devteam/blob/master/tool_collections/kraken/kraken/ commit cb6ebb843c71dcfc73aa05cc616f8e3229170108-dirty
devteam
parents: 1
diff changeset
89 <when value="yes">
11
69e7d02d21fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/kraken/ commit e8fc7c9dad5f583ad6763ecb9bd8c924832abacd
iuc
parents: 10
diff changeset
90 <param name="min_hits" argument="--min-hits" type="integer" value="1" label="Number of hits required for classification"
69e7d02d21fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/kraken/ commit e8fc7c9dad5f583ad6763ecb9bd8c924832abacd
iuc
parents: 10
diff changeset
91 help="min-hits will allow you to require multiple hits before declaring a sequence classified, which can be especially useful with custom databases when testing to see if sequences either do or do not belong to a particular genome; default=1"/>
2
898ded2d4fff planemo upload for repository https://github.com/galaxyproject/tools-devteam/blob/master/tool_collections/kraken/kraken/ commit cb6ebb843c71dcfc73aa05cc616f8e3229170108-dirty
devteam
parents: 1
diff changeset
92 </when>
11
69e7d02d21fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/kraken/ commit e8fc7c9dad5f583ad6763ecb9bd8c924832abacd
iuc
parents: 10
diff changeset
93 <when value="no"/><!-- Do absolutely nothing -->
2
898ded2d4fff planemo upload for repository https://github.com/galaxyproject/tools-devteam/blob/master/tool_collections/kraken/kraken/ commit cb6ebb843c71dcfc73aa05cc616f8e3229170108-dirty
devteam
parents: 1
diff changeset
94 </conditional>
898ded2d4fff planemo upload for repository https://github.com/galaxyproject/tools-devteam/blob/master/tool_collections/kraken/kraken/ commit cb6ebb843c71dcfc73aa05cc616f8e3229170108-dirty
devteam
parents: 1
diff changeset
95
11
69e7d02d21fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/kraken/ commit e8fc7c9dad5f583ad6763ecb9bd8c924832abacd
iuc
parents: 10
diff changeset
96 <param name="only_classified_output" argument="--only-classified-output" type="boolean" checked="False" truevalue="--only-classified-output" falsevalue=""
69e7d02d21fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/kraken/ commit e8fc7c9dad5f583ad6763ecb9bd8c924832abacd
iuc
parents: 10
diff changeset
97 label="Print no Kraken output for unclassified sequences"/>
2
898ded2d4fff planemo upload for repository https://github.com/galaxyproject/tools-devteam/blob/master/tool_collections/kraken/kraken/ commit cb6ebb843c71dcfc73aa05cc616f8e3229170108-dirty
devteam
parents: 1
diff changeset
98
0
7d6b55e6417e Uploaded
devteam
parents:
diff changeset
99 <expand macro="input_database" />
7d6b55e6417e Uploaded
devteam
parents:
diff changeset
100 </inputs>
7d6b55e6417e Uploaded
devteam
parents:
diff changeset
101 <outputs>
11
69e7d02d21fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/kraken/ commit e8fc7c9dad5f583ad6763ecb9bd8c924832abacd
iuc
parents: 10
diff changeset
102 <data name="classified_out" format_source="input_sequences" label="${tool.name} on ${on_string}: Classified reads">
0
7d6b55e6417e Uploaded
devteam
parents:
diff changeset
103 <filter>(split_reads)</filter>
7d6b55e6417e Uploaded
devteam
parents:
diff changeset
104 </data>
11
69e7d02d21fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/kraken/ commit e8fc7c9dad5f583ad6763ecb9bd8c924832abacd
iuc
parents: 10
diff changeset
105 <data name="unclassified_out" format_source="input_sequences" label="${tool.name} on ${on_string}: Unclassified reads">
0
7d6b55e6417e Uploaded
devteam
parents:
diff changeset
106 <filter>(split_reads)</filter>
7d6b55e6417e Uploaded
devteam
parents:
diff changeset
107 </data>
11
69e7d02d21fe planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/kraken/ commit e8fc7c9dad5f583ad6763ecb9bd8c924832abacd
iuc
parents: 10
diff changeset
108 <data name="output" format="tabular" label="${tool.name} on ${on_string}: Classification"/>
2
898ded2d4fff planemo upload for repository https://github.com/galaxyproject/tools-devteam/blob/master/tool_collections/kraken/kraken/ commit cb6ebb843c71dcfc73aa05cc616f8e3229170108-dirty
devteam
parents: 1
diff changeset
109 <!--<data format="tabular" label="${tool.name} on ${on_string}: Translated classification" name="translated" />-->
0
7d6b55e6417e Uploaded
devteam
parents:
diff changeset
110 </outputs>
7
19939bfcf283 planemo upload for repository https://github.com/galaxyproject/tools-devteam/blob/master/tool_collections/kraken/kraken/ commit de7140295cce07e1bc1697e51dab4271c8d7a8a6
devteam
parents: 6
diff changeset
111
19939bfcf283 planemo upload for repository https://github.com/galaxyproject/tools-devteam/blob/master/tool_collections/kraken/kraken/ commit de7140295cce07e1bc1697e51dab4271c8d7a8a6
devteam
parents: 6
diff changeset
112 <tests>
19939bfcf283 planemo upload for repository https://github.com/galaxyproject/tools-devteam/blob/master/tool_collections/kraken/kraken/ commit de7140295cce07e1bc1697e51dab4271c8d7a8a6
devteam
parents: 6
diff changeset
113 <test>
19939bfcf283 planemo upload for repository https://github.com/galaxyproject/tools-devteam/blob/master/tool_collections/kraken/kraken/ commit de7140295cce07e1bc1697e51dab4271c8d7a8a6
devteam
parents: 6
diff changeset
114 <param name="single_paired_selector" value="no"/>
14
a44cdb52201c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/ commit 1590e274eaa41ea77a6017111f9122e0a58aa75d-dirty"
iuc
parents: 13
diff changeset
115 <param name="input_sequences" value="kraken/kraken_test1.fa" ftype="fasta"/>
7
19939bfcf283 planemo upload for repository https://github.com/galaxyproject/tools-devteam/blob/master/tool_collections/kraken/kraken/ commit de7140295cce07e1bc1697e51dab4271c8d7a8a6
devteam
parents: 6
diff changeset
116 <param name="split_reads" value="false"/>
19939bfcf283 planemo upload for repository https://github.com/galaxyproject/tools-devteam/blob/master/tool_collections/kraken/kraken/ commit de7140295cce07e1bc1697e51dab4271c8d7a8a6
devteam
parents: 6
diff changeset
117 <param name="quick" value="no"/>
19939bfcf283 planemo upload for repository https://github.com/galaxyproject/tools-devteam/blob/master/tool_collections/kraken/kraken/ commit de7140295cce07e1bc1697e51dab4271c8d7a8a6
devteam
parents: 6
diff changeset
118 <param name="only-classified-output" value="false"/>
13
96f11a194da9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/kraken/ commit 87dfa1af2f1dd57ffc7290b66218a127cec6757f
iuc
parents: 12
diff changeset
119 <param name="kraken_database" value="old_style_test_entry"/>
14
a44cdb52201c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/ commit 1590e274eaa41ea77a6017111f9122e0a58aa75d-dirty"
iuc
parents: 13
diff changeset
120 <output name="output" file="kraken/kraken_test1_output.tab" ftype="tabular"/>
13
96f11a194da9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/kraken/ commit 87dfa1af2f1dd57ffc7290b66218a127cec6757f
iuc
parents: 12
diff changeset
121 </test>
96f11a194da9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/kraken/ commit 87dfa1af2f1dd57ffc7290b66218a127cec6757f
iuc
parents: 12
diff changeset
122 <test>
96f11a194da9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/kraken/ commit 87dfa1af2f1dd57ffc7290b66218a127cec6757f
iuc
parents: 12
diff changeset
123 <param name="single_paired_selector" value="no"/>
14
a44cdb52201c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/ commit 1590e274eaa41ea77a6017111f9122e0a58aa75d-dirty"
iuc
parents: 13
diff changeset
124 <param name="input_sequences" value="kraken/kraken_test1.fa" ftype="fasta"/>
13
96f11a194da9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/kraken/ commit 87dfa1af2f1dd57ffc7290b66218a127cec6757f
iuc
parents: 12
diff changeset
125 <param name="split_reads" value="false"/>
96f11a194da9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/kraken/ commit 87dfa1af2f1dd57ffc7290b66218a127cec6757f
iuc
parents: 12
diff changeset
126 <param name="quick" value="no"/>
96f11a194da9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/kraken/ commit 87dfa1af2f1dd57ffc7290b66218a127cec6757f
iuc
parents: 12
diff changeset
127 <param name="only-classified-output" value="false"/>
96f11a194da9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/kraken/ commit 87dfa1af2f1dd57ffc7290b66218a127cec6757f
iuc
parents: 12
diff changeset
128 <param name="kraken_database" value="new_style_test_entry"/>
14
a44cdb52201c "planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tool_collections/kraken/ commit 1590e274eaa41ea77a6017111f9122e0a58aa75d-dirty"
iuc
parents: 13
diff changeset
129 <output name="output" file="kraken/kraken_test1_output.tab" ftype="tabular"/>
7
19939bfcf283 planemo upload for repository https://github.com/galaxyproject/tools-devteam/blob/master/tool_collections/kraken/kraken/ commit de7140295cce07e1bc1697e51dab4271c8d7a8a6
devteam
parents: 6
diff changeset
130 </test>
19939bfcf283 planemo upload for repository https://github.com/galaxyproject/tools-devteam/blob/master/tool_collections/kraken/kraken/ commit de7140295cce07e1bc1697e51dab4271c8d7a8a6
devteam
parents: 6
diff changeset
131 </tests>
0
7d6b55e6417e Uploaded
devteam
parents:
diff changeset
132 <help>
7d6b55e6417e Uploaded
devteam
parents:
diff changeset
133 <![CDATA[
2
898ded2d4fff planemo upload for repository https://github.com/galaxyproject/tools-devteam/blob/master/tool_collections/kraken/kraken/ commit cb6ebb843c71dcfc73aa05cc616f8e3229170108-dirty
devteam
parents: 1
diff changeset
134 **What it does**
0
7d6b55e6417e Uploaded
devteam
parents:
diff changeset
135
2
898ded2d4fff planemo upload for repository https://github.com/galaxyproject/tools-devteam/blob/master/tool_collections/kraken/kraken/ commit cb6ebb843c71dcfc73aa05cc616f8e3229170108-dirty
devteam
parents: 1
diff changeset
136 Kraken is a taxonomic sequence classifier that assigns taxonomic labels to short DNA reads. It does this by examining the k-mers within a read and querying a database with those k-mers. This database contains a mapping of every k-mer in Kraken's genomic library to the lowest common ancestor (LCA) in a taxonomic tree of all genomes that contain that k-mer. The set of LCA taxa that correspond to the k-mers in a read are then analyzed to create a single taxonomic label for the read; this label can be any of the nodes in the taxonomic tree. Kraken is designed to be rapid, sensitive, and highly precise.
0
7d6b55e6417e Uploaded
devteam
parents:
diff changeset
137
2
898ded2d4fff planemo upload for repository https://github.com/galaxyproject/tools-devteam/blob/master/tool_collections/kraken/kraken/ commit cb6ebb843c71dcfc73aa05cc616f8e3229170108-dirty
devteam
parents: 1
diff changeset
138 -----
0
7d6b55e6417e Uploaded
devteam
parents:
diff changeset
139
2
898ded2d4fff planemo upload for repository https://github.com/galaxyproject/tools-devteam/blob/master/tool_collections/kraken/kraken/ commit cb6ebb843c71dcfc73aa05cc616f8e3229170108-dirty
devteam
parents: 1
diff changeset
140 **Output Format**
0
7d6b55e6417e Uploaded
devteam
parents:
diff changeset
141
2
898ded2d4fff planemo upload for repository https://github.com/galaxyproject/tools-devteam/blob/master/tool_collections/kraken/kraken/ commit cb6ebb843c71dcfc73aa05cc616f8e3229170108-dirty
devteam
parents: 1
diff changeset
142 Each sequence classified by Kraken results in a single line of output. Output lines contain five tab-delimited fields; from left to right, they are::
0
7d6b55e6417e Uploaded
devteam
parents:
diff changeset
143
2
898ded2d4fff planemo upload for repository https://github.com/galaxyproject/tools-devteam/blob/master/tool_collections/kraken/kraken/ commit cb6ebb843c71dcfc73aa05cc616f8e3229170108-dirty
devteam
parents: 1
diff changeset
144 1. "C"/"U": one letter code indicating that the sequence was either classified or unclassified.
898ded2d4fff planemo upload for repository https://github.com/galaxyproject/tools-devteam/blob/master/tool_collections/kraken/kraken/ commit cb6ebb843c71dcfc73aa05cc616f8e3229170108-dirty
devteam
parents: 1
diff changeset
145 2. The sequence ID, obtained from the FASTA/FASTQ header.
898ded2d4fff planemo upload for repository https://github.com/galaxyproject/tools-devteam/blob/master/tool_collections/kraken/kraken/ commit cb6ebb843c71dcfc73aa05cc616f8e3229170108-dirty
devteam
parents: 1
diff changeset
146 3. The taxonomy ID Kraken used to label the sequence; this is 0 if the sequence is unclassified.
898ded2d4fff planemo upload for repository https://github.com/galaxyproject/tools-devteam/blob/master/tool_collections/kraken/kraken/ commit cb6ebb843c71dcfc73aa05cc616f8e3229170108-dirty
devteam
parents: 1
diff changeset
147 4. The length of the sequence in bp.
898ded2d4fff planemo upload for repository https://github.com/galaxyproject/tools-devteam/blob/master/tool_collections/kraken/kraken/ commit cb6ebb843c71dcfc73aa05cc616f8e3229170108-dirty
devteam
parents: 1
diff changeset
148 5. A space-delimited list indicating the LCA mapping of each k-mer in the sequence. For example, "562:13 561:4 A:31 0:1 562:3" would indicate that:
0
7d6b55e6417e Uploaded
devteam
parents:
diff changeset
149 a) the first 13 k-mers mapped to taxonomy ID #562
7d6b55e6417e Uploaded
devteam
parents:
diff changeset
150 b) the next 4 k-mers mapped to taxonomy ID #561
7d6b55e6417e Uploaded
devteam
parents:
diff changeset
151 c) the next 31 k-mers contained an ambiguous nucleotide
7d6b55e6417e Uploaded
devteam
parents:
diff changeset
152 d) the next k-mer was not in the database
7d6b55e6417e Uploaded
devteam
parents:
diff changeset
153 e) the last 3 k-mers mapped to taxonomy ID #562
7d6b55e6417e Uploaded
devteam
parents:
diff changeset
154 ]]>
7d6b55e6417e Uploaded
devteam
parents:
diff changeset
155 </help>
7d6b55e6417e Uploaded
devteam
parents:
diff changeset
156 <expand macro="citations" />
2
898ded2d4fff planemo upload for repository https://github.com/galaxyproject/tools-devteam/blob/master/tool_collections/kraken/kraken/ commit cb6ebb843c71dcfc73aa05cc616f8e3229170108-dirty
devteam
parents: 1
diff changeset
157 </tool>