annotate extract_kraken_reads.xml @ 0:519e0835abd7 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
author iuc
date Wed, 15 Mar 2023 18:18:27 +0000
parents
children f329328da134
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
1 <tool id="krakentools_extract_kraken_reads" name="Krakentools: Extract Kraken Reads By ID" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
2 <description>
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
3 Extract reads that were classified by the Kraken family at specified taxonomic IDs
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
4 </description>
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
5 <macros>
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
6 <import>macros.xml</import>
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
7 </macros>
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
8 <expand macro="requirements">
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
9 <requirement type="package" version="1.12">gzip</requirement>
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
10 </expand>
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
11 <command detect_errors="exit_code">
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
12 <![CDATA[
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
13
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
14 ##set input
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
15 #if $library.type == 'paired':
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
16 #set input_1 = $library.input_1
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
17 #set input_2 = $library.input_2
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
18 #else if $library.type == 'paired_collection'
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
19 #set input_1 = $library.input_1.forward
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
20 #set input_2 = $library.input_1.reverse
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
21 #else
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
22 #set input_1 = $library.input_1
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
23 #end if
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
24
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
25 ## name output according to --fastq_output param
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
26 ## tests fails if file does not have correct ending
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
27 #if str($fastq_output) == '':
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
28 #set temp_output_1 = 'output_1.fasta'
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
29 #set temp_output_2 = 'output_2.fasta'
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
30 #else:
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
31 #set temp_output_1 = 'output_1.fastq'
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
32 #set temp_output_2 = 'output_2.fastq'
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
33 #end if
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
34
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
35 ## do not quote $taxid
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
36 extract_kraken_reads.py
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
37 -k '$results'
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
38 -s '$input_1'
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
39 -o '$temp_output_1'
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
40 --taxid $taxid
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
41 --max '$max'
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
42 $include_parents
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
43 $include_children
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
44 $exclude
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
45 $fastq_output
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
46
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
47 #if str( $library.type ) != "single":
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
48 -s2 '$input_2'
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
49 -o2 '$temp_output_2'
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
50 #end if
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
51 #if $include_parents or $include_children:
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
52 --report '$report'
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
53 #end if
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
54
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
55 ##compress output
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
56 && gzip -cvf '$temp_output_1' > output_1.gz
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
57
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
58 #if str( $library.type ) != "single":
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
59 && gzip -cvf '$temp_output_2' > output_2.gz
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
60 #end if
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
61
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
62 ]]>
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
63 </command>
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
64 <inputs>
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
65 <!-- Reads -->
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
66 <conditional name="library">
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
67 <param name="type" type="select" label="Single or paired reads?">
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
68 <option value="single">
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
69 Single
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
70 </option>
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
71 <option value="paired">
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
72 Paired
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
73 </option>
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
74 <option value="paired_collection">
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
75 Paired Collection
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
76 </option>
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
77 </param>
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
78 <when value="single">
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
79 <param name="input_1" format="fastq,fasta" type="data" label="FASTQ/A file" help="FASTQ or FASTQ input reads (may be gzipped)" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
80 </when>
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
81 <when value="paired">
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
82 <param name="input_1" format="fastq,fasta" type="data" label="FASTQ/A forward file" help="FASTQ or FASTQ input reads (may be gzipped)" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
83 <param name="input_2" format="fastq,fasta" type="data" label="FASTQ/A reverse file" help="FASTQ or FASTQ input reads (for paired reads, may be gzipped)" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
84 </when>
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
85 <when value="paired_collection">
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
86 <param name="input_1" format="fastq,fasta" type="data_collection" collection_type="paired" label="Paired Collection" help="FASTQ or FASTA read pair collection (may be gzipped)" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
87 </when>
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
88 </conditional>
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
89 <param name="results" argument="-k" format="tabular" type="data" label="Results" help="Results (classification) file from Kraken/KrakenUniq/Kraken2" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
90 <param argument="--report" format="tabular" type="data" label="Report" optional="true" help="Report file from Kraken/KrakenUniq/Kraken2" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
91 <param argument="--taxid" type="text" value="" label="Taxonomic ID(s) to match" help="Space-delimited list of taxonomic IDs for which to extract matching reads">
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
92 <validator type="regex" message="Enter a space-separated list of numeric tax IDs">^\d+[\d ]*$</validator>
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
93 </param>
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
94 <param argument="--max" type="integer" value="100000000" min="1" label="Maximum reads to save" help="Maximum number of reads to save for each ID" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
95 <param argument="--exclude" type="boolean" value="False" truevalue="--exclude" falsevalue="" label="Invert output" help="Instead of finding reads that match given taxonomic IDs, find all reads that DO NOT match given IDs" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
96 <param argument="--fastq_output" type="boolean" value="False" truevalue="--fastq-output" falsevalue="" label="Output as FASTQ" help="Write output as FASTQ instead of the default FASTA" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
97 <param argument="--include_parents" type="boolean" value="False" truevalue="--include-parents" falsevalue="" label="Include parents" help="Include reads classified at parent levels of the specified tax IDs" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
98 <param argument="--include_children" type="boolean" value="False" truevalue="--include-children" falsevalue="" label="Include children" help="Include reads classified more specifically than the specified tax IDs" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
99 </inputs>
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
100 <outputs>
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
101 <data name="output_1" format="fasta.gz" from_work_dir="output_1.gz" metadata_source="input_1" label="${tool.name} on ${on_string}: forward reads">
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
102 <filter>
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
103 (library['type'] == 'single' or library['type'] == 'paired')
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
104 </filter>
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
105 <change_format>
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
106 <when input="fastq_output" value="--fastq-output" format="fastq.gz" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
107 </change_format>
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
108 </data>
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
109 <data name="output_2" format="fasta.gz" from_work_dir="output_2.gz" metadata_source="input_2" label="${tool.name} on ${on_string}: reverse reads">
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
110 <filter>
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
111 (library['type'] == 'paired')
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
112 </filter>
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
113 <change_format>
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
114 <when input="fastq_output" value="--fastq-output" format="fastq.gz" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
115 </change_format>
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
116 </data>
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
117 <collection type="paired" name="output_collection" label="${tool.name} on ${on_string}: collection">
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
118 <filter>(library['type'] == 'paired_collection')</filter>
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
119 <data name="forward" format="fasta.gz" metadata_source="input_1" from_work_dir="output_1.gz" >
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
120 <change_format>
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
121 <when input="fastq_output" value="--fastq-output" format="fastq.gz" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
122 </change_format>
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
123 </data>
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
124 <data name="reverse" format="fasta.gz" metadata_source="input_2" from_work_dir="output_2.gz" >
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
125 <change_format>
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
126 <when input="fastq_output" value="--fastq-output" format="fastq.gz" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
127 </change_format>
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
128 </data>
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
129 </collection>
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
130 </outputs>
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
131 <tests>
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
132 <!-- test Kraken2 input, single input -->
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
133 <test expect_num_outputs="1">
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
134 <param name="input_1" value="extract_kraken_reads/R1.fq.gz" ftype="fastqsanger" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
135 <param name="library|type" value="single" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
136 <param name="results" value="extract_kraken_reads/kraken2.results" ftype="tabular" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
137 <param name="taxid" value="11176" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
138 <output name="output_1" file="extract_kraken_reads/out1.k2.11176.fa" decompress="true" ftype="fasta.gz" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
139 </test>
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
140 <!-- test paired input -->
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
141 <test expect_num_outputs="2">
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
142 <param name="input_1" value="extract_kraken_reads/R1.fq.gz" ftype="fastqsanger" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
143 <param name="input_2" value="extract_kraken_reads/R2.fq.gz" ftype="fastqsanger" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
144 <param name="library|type" value="paired" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
145 <param name="results" value="extract_kraken_reads/kraken2.results" ftype="tabular" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
146 <param name="taxid" value="11176" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
147 <output name="output_1" file="extract_kraken_reads/out1.k2.11176.fa" decompress="true" ftype="fasta.gz" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
148 <output name="output_2" file="extract_kraken_reads/out2.k2.11176.fa" decompress="true" ftype="fasta.gz" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
149 </test>
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
150 <!-- test paired collection input -->
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
151 <test expect_num_outputs="3">
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
152 <param name="input_1">
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
153 <collection type="paired">
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
154 <element name="forward" value="extract_kraken_reads/R1.fq.gz" ftype="fastqsanger" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
155 <element name="reverse" value="extract_kraken_reads/R2.fq.gz" ftype="fastqsanger" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
156 </collection>
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
157 </param>
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
158 <param name="library|type" value="paired_collection" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
159 <param name="results" value="extract_kraken_reads/kraken2.results" ftype="tabular" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
160 <param name="taxid" value="11176" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
161 <output_collection name="output_collection" type="paired">
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
162 <element name="forward" file="extract_kraken_reads/out1.k2.11176.fa" decompress="true" ftype="fasta.gz" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
163 <element name="reverse" file="extract_kraken_reads/out2.k2.11176.fa" decompress="true" ftype="fasta.gz" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
164 </output_collection>
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
165 </test>
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
166 <!-- test Kraken1 input, include children -->
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
167 <test expect_num_outputs="1">
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
168 <param name="input_1" value="extract_kraken_reads/R1.fq.gz" ftype="fastqsanger" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
169 <param name="library|type" value="single" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
170 <param name="results" value="extract_kraken_reads/kraken1.results" ftype="tabular" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
171 <param name="report" value="extract_kraken_reads/kraken1.report" ftype="tabular" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
172 <param name="taxid" value="11176" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
173 <param name="include_children" value="True" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
174 <output name="output_1" file="extract_kraken_reads/out1.k1.11176.children.fa" decompress="true" ftype="fasta.gz" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
175 </test>
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
176 <!-- test exclude -->
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
177 <test expect_num_outputs="1">
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
178 <param name="input_1" value="extract_kraken_reads/R1.fq.gz" ftype="fastqsanger" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
179 <param name="library|type" value="single" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
180 <param name="results" value="extract_kraken_reads/kraken1.results" ftype="tabular" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
181 <param name="report" value="extract_kraken_reads/kraken1.report" ftype="tabular" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
182 <param name="taxid" value="10386" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
183 <param name="include_children" value="True" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
184 <param name="exclude" value="True" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
185 <output name="output_1" file="extract_kraken_reads/out1.k1.e10386.children.fa" decompress="true" ftype="fasta.gz" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
186 </test>
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
187 <!-- test max -->
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
188 <test expect_num_outputs="1">
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
189 <param name="input_1" value="extract_kraken_reads/R1.fq.gz" ftype="fastqsanger" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
190 <param name="library|type" value="single" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
191 <param name="results" value="extract_kraken_reads/kraken2.results" ftype="tabular" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
192 <param name="taxid" value="11176" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
193 <param name="max" value="2" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
194 <output name="output_1" file="extract_kraken_reads/out1.k2.11176.max2.fa" decompress="true" ftype="fasta.gz" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
195 </test>
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
196 <!-- test include parents -->
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
197 <test expect_num_outputs="1">
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
198 <param name="input_1" value="extract_kraken_reads/R1.fq.gz" ftype="fastqsanger" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
199 <param name="library|type" value="single" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
200 <param name="results" value="extract_kraken_reads/kraken2.results" ftype="tabular" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
201 <param name="taxid" value="11176" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
202 <param name="include_parents" value="True" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
203 <param name="report" value="extract_kraken_reads/kraken2.report" ftype="tabular" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
204 <output name="output_1" file="extract_kraken_reads/out1.k2.11176.parents.fa" decompress="true" ftype="fasta.gz" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
205 </test>
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
206 <!-- test multiple tax IDs -->
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
207 <test expect_num_outputs="1">
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
208 <param name="input_1" value="extract_kraken_reads/R1.fq.gz" ftype="fastqsanger" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
209 <param name="library|type" value="single" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
210 <param name="results" value="extract_kraken_reads/kraken2.results" ftype="tabular" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
211 <param name="taxid" value="10386 11176" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
212 <param name="exclude" value="True" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
213 <param name="include_parents" value="True" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
214 <param name="report" value="extract_kraken_reads/kraken2.report" ftype="tabular" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
215 <output name="output_1" file="extract_kraken_reads/out1.k2.exclude_both.fa" decompress="true" ftype="fasta.gz" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
216 </test>
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
217 <!-- test multiple tax IDs -->
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
218 <test expect_failure="true">
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
219 <param name="input_1" value="extract_kraken_reads/R1.fq.gz" ftype="fastqsanger" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
220 <param name="library|type" value="single" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
221 <param name="results" value="extract_kraken_reads/kraken2.results" ftype="tabular" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
222 <param name="taxid" value="10386 f5" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
223 </test>
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
224 <!-- test FASTQ output -->
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
225 <test expect_num_outputs="1">
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
226 <param name="input_1" value="extract_kraken_reads/R1.fq.gz" ftype="fastqsanger" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
227 <param name="library|type" value="single" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
228 <param name="results" value="extract_kraken_reads/kraken2.results" ftype="tabular" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
229 <param name="taxid" value="11176" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
230 <param name="fastq_output" value="true" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
231 <output name="output_1" file="extract_kraken_reads/out1.k2.11176.fq" decompress="true" ftype="fastq.gz" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
232 </test>
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
233 </tests>
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
234 <help>
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
235 <![CDATA[
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
236 **What it does**
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
237 -------------------
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
238 After running Kraken, Kraken2, or KrakenUniq, users may use the
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
239 `extract_kraken_reads.py` program to extract the FASTA or FASTQ reads
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
240 classified as a specific taxonomy ID. For example, this program can be used to
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
241 extract all bacterial reads or only reads assigned to Escherichia coli. Users
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
242 must provide (at minimum) the original sequence file(s), at least one taxonomy
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
243 ID, and the Kraken output file.
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
244 ]]>
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
245 </help>
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
246 <expand macro="citations" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
247 <creator>
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
248 <person givenName="Jeremy" familyName="Volkening" url="https://github.com/jvolkening" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
249 <person givenName="Paul" familyName="Zierep" email="zierep@informatik.uni-freiburg.de" />
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
250 </creator>
519e0835abd7 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/krakentools commit 92c58a65005708fbd56b27b86969c01a1258ddb9
iuc
parents:
diff changeset
251 </tool>