annotate extract_kraken_reads.xml @ 0:d491c23394f9 draft default tip

"planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
author jvolkening
date Thu, 30 Sep 2021 17:54:31 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
1 <tool id="krakentools_extract_kraken_reads" name="Extract Kraken Reads By ID" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="17.09">
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
2 <description>Extract reads that were classified by the Kraken family at specified taxonomic IDs</description>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
3 <macros>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
4 <import>macros.xml</import>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
5 </macros>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
6 <expand macro="requirements" />
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
7 <expand macro="stdio" />
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
8 <version_command>echo -n @TOOL_VERSION@</version_command>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
9
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
10 <command detect_errors="exit_code"><![CDATA[
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
11
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
12 #if $library.type == 'paired':
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
13 #set input_1 = $library.input_1
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
14 #set input_2 = $library.input_2
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
15 #else if $library.type == 'paired_collection'
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
16 #set input_1 = $library.input_1.forward
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
17 #set input_2 = $library.input_1.reverse
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
18 #else
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
19 #set input_1 = $library.input_1
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
20 #end if
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
21
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
22 ## do not quote $taxid
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
23 extract_kraken_reads.py
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
24
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
25 -k '$results'
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
26 -s '$input_1'
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
27 -o '$output_1'
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
28 --taxid $taxid
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
29 --max '$max'
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
30 $include_parents
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
31 $include_children
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
32 $exclude
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
33 $fastq_output
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
34 #if str( $library.type ) != "single":
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
35 -s2 '$input_2'
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
36 -o2 '$output_2'
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
37 #end if
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
38 #if $include_parents or $include_children:
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
39 --report $report
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
40 #end if
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
41
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
42 ]]></command>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
43 <inputs>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
44
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
45 <!-- Reads -->
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
46 <conditional name="library">
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
47 <param name="type" type="select" label="Single or paired reads?">
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
48 <option value="single">Single</option>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
49 <option value="paired">Paired</option>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
50 <option value="paired_collection">Paired Collection</option>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
51 </param>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
52
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
53 <when value="single">
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
54 <param name="input_1" format="fastq,fastqsanger,fasta" type="data" label="FASTQ/A file" help="FASTQ or FASTQ input reads" />
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
55 </when>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
56
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
57 <when value="paired">
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
58 <param name="input_1" format="fastq,fastqsanger,fasta" type="data" label="FASTQ/A forward file" help="FASTQ or FASTQ input reads" />
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
59 <param name="input_2" format="fastq,fastqsanger,fasta" type="data" label="FASTQ/A reverse file" help="FASTQ or FASTQ input reads" />
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
60 </when>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
61
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
62 <when value="paired_collection">
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
63 <param name="input_1" format="fastq,fastqsanger,fasta" type="data_collection" collection_type="paired" label="Paired Collection" help="FASTQ or FASTA read pair collection" />
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
64 </when>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
65
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
66 </conditional>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
67 <param name="results" argument="-k" format="tabular" type="data" label="Results" help="Results (classification) file from Kraken/KrakenUniq/Kraken2" />
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
68 <param name="report" argument="--report" format="tabular" type="data" label="Report" optional="True" help="Report file from Kraken/KrakenUniq/Kraken2" />
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
69
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
70 <param name="taxid" argument="--taxid" type="text" value="" label="Taxonomic ID(s) to match" help="Space-delimited list of taxonomic IDs for which to extract matching reads">
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
71 <validator type="regex" message="Enter a space-separated list of numeric tax IDs">^\d+[\d ]*$</validator>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
72 </param>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
73 <param name="max" argument="--max" type="integer" value="100000000" min="1" label="Maximum reads to save" help="Maximum number of reads to save for each ID" />
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
74 <param name="exclude" 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" />
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
75 <param name="fastq_output" 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" />
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
76 <param name="include_parents" 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" />
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
77 <param name="include_children" 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" />
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
78
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
79 </inputs>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
80
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
81 <outputs>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
82 <data name="output_1" format="fasta" metadata_source="input_1" label="${tool.name} on ${on_string}: forward reads">
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
83 <change_format>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
84 <when input="fastq_output" value="True" format="fastqsanger" />
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
85 </change_format>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
86 </data>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
87 <data name="output_2" format="fasta" metadata_source="input_2" label="${tool.name} on ${on_string}: reverse reads" >
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
88 <filter>(library['type'] == 'paired' or library['type'] == 'paired_collection')</filter>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
89 <change_format>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
90 <when input="fastq_output" value="True" format="fastqsanger" />
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
91 </change_format>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
92 </data>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
93 </outputs>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
94
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
95 <tests>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
96 <!-- test Kraken2 input, single input -->
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
97 <test>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
98 <param name="input_1" value="R1.fq.gz" ftype="fastqsanger"/>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
99 <param name="library|type" value="single"/>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
100 <param name="results" value="kraken2.results" ftype="tabular"/>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
101 <param name="taxid" value="11176"/>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
102 <output name="output_1" file="out1.k2.11176.fa"/>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
103 </test>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
104 <!-- test paired input -->
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
105 <test>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
106 <param name="input_1" value="R1.fq.gz" ftype="fastqsanger"/>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
107 <param name="input_2" value="R2.fq.gz" ftype="fastqsanger"/>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
108 <param name="library|type" value="paired"/>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
109 <param name="results" value="kraken2.results" ftype="tabular"/>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
110 <param name="taxid" value="11176"/>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
111 <output name="output_1" file="out1.k2.11176.fa"/>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
112 <output name="output_2" file="out2.k2.11176.fa"/>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
113 </test>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
114 <!-- test paired collection input -->
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
115 <test>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
116 <param name="input_1">
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
117 <collection type="paired">
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
118 <element name="forward" value="R1.fq.gz" ftype="fastqsanger"/>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
119 <element name="reverse" value="R2.fq.gz" ftype="fastqsanger"/>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
120 </collection>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
121 </param>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
122 <param name="library|type" value="paired_collection"/>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
123 <param name="results" value="kraken2.results" ftype="tabular"/>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
124 <param name="taxid" value="11176"/>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
125 <output name="output_1" file="out1.k2.11176.fa"/>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
126 <output name="output_2" file="out2.k2.11176.fa"/>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
127 </test>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
128 <!-- test Kraken1 input, include children -->
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
129 <test>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
130 <param name="input_1" value="R1.fq.gz" ftype="fastqsanger"/>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
131 <param name="library|type" value="single"/>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
132 <param name="results" value="kraken1.results" ftype="tabular"/>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
133 <param name="report" value="kraken1.report" ftype="tabular"/>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
134 <param name="taxid" value="11176"/>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
135 <param name="include_children" value="True"/>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
136 <output name="output_1" file="out1.k1.11176.children.fa"/>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
137 </test>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
138 <!-- test exclude -->
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
139 <test>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
140 <param name="input_1" value="R1.fq.gz" ftype="fastqsanger"/>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
141 <param name="library|type" value="single"/>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
142 <param name="results" value="kraken1.results" ftype="tabular"/>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
143 <param name="report" value="kraken1.report" ftype="tabular"/>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
144 <param name="taxid" value="10386"/>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
145 <param name="include_children" value="True"/>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
146 <param name="exclude" value="True"/>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
147 <output name="output_1" file="out1.k1.e10386.children.fa"/>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
148 </test>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
149 <!-- test max -->
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
150 <test>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
151 <param name="input_1" value="R1.fq.gz" ftype="fastqsanger"/>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
152 <param name="library|type" value="single"/>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
153 <param name="results" value="kraken2.results" ftype="tabular"/>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
154 <param name="taxid" value="11176"/>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
155 <param name="max" value="2"/>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
156 <output name="output_1" file="out1.k2.11176.max2.fa"/>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
157 </test>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
158 <!-- test include parents -->
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
159 <test>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
160 <param name="input_1" value="R1.fq.gz" ftype="fastqsanger"/>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
161 <param name="library|type" value="single"/>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
162 <param name="results" value="kraken2.results" ftype="tabular"/>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
163 <param name="taxid" value="11176"/>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
164 <param name="include_parents" value="True"/>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
165 <param name="report" value="kraken2.report" ftype="tabular"/>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
166 <output name="output_1" file="out1.k2.11176.parents.fa"/>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
167 </test>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
168 <!-- test multiple tax IDs-->
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
169 <test>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
170 <param name="input_1" value="R1.fq.gz" ftype="fastqsanger"/>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
171 <param name="library|type" value="single"/>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
172 <param name="results" value="kraken2.results" ftype="tabular"/>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
173 <param name="taxid" value="10386 11176"/>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
174 <param name="exclude" value="True"/>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
175 <param name="include_parents" value="True"/>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
176 <param name="report" value="kraken2.report" ftype="tabular"/>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
177 <output name="output_1" file="out1.k2.exclude_both.fa"/>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
178 </test>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
179 <!-- test multiple tax IDs-->
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
180 <test expect_failure="True">
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
181 <param name="input_1" value="R1.fq.gz" ftype="fastqsanger"/>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
182 <param name="library|type" value="single"/>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
183 <param name="results" value="kraken2.results" ftype="tabular"/>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
184 <param name="taxid" value="10386 f5"/>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
185 </test>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
186 <!-- test FASTQ output -->
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
187 <test>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
188 <param name="input_1" value="R1.fq.gz" ftype="fastqsanger"/>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
189 <param name="library|type" value="single"/>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
190 <param name="results" value="kraken2.results" ftype="tabular"/>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
191 <param name="taxid" value="11176"/>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
192 <param name="fastq_output" value="True"/>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
193 <output name="output_1" file="out1.k2.11176.fq"/>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
194 </test>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
195
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
196 </tests>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
197
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
198 <help><![CDATA[
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
199
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
200 .. class:: infomark
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
201
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
202 **What it does**
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
203
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
204 -------------------
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
205
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
206 After running Kraken, Kraken2, or KrakenUniq, users may use the
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
207 `extract_kraken_reads.py` program to extract the FASTA or FASTQ reads
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
208 classified as a specific taxonomy ID. For example, this program can be used to
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
209 extract all bacterial reads or only reads assigned to Escherichia coli. Users
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
210 must provide (at minimum) the original sequence file(s), at least one taxonomy
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
211 ID, and the Kraken output file.
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
212
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
213 -------------------
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
214
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
215 **Command-line arguments**
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
216
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
217 -------------------
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
218
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
219 The following command-line usage corresponds with the Galaxy wrapper
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
220 parameters::
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
221
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
222 usage: extract_kraken_reads.py [-h] -k KRAKEN_FILE -s SEQ_FILE1
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
223 [-s2 SEQ_FILE2] -t TAXID [TAXID ...] -o
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
224 OUTPUT_FILE [-o2 OUTPUT_FILE2] [--append]
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
225 [--noappend] [--max MAX_READS] [-r REPORT_FILE]
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
226 [--include-parents] [--include-children]
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
227 [--exclude] [--fastq-output]
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
228
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
229 optional arguments:
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
230 -h, --help show this help message and exit
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
231 -k KRAKEN_FILE Kraken output file to parse
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
232 -s SEQ_FILE1, -s1 SEQ_FILE1, -1 SEQ_FILE1, -U SEQ_FILE1
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
233 FASTA/FASTQ File containing the raw sequence letters.
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
234 -s2 SEQ_FILE2, -2 SEQ_FILE2
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
235 2nd FASTA/FASTQ File containing the raw sequence
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
236 letters (paired).
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
237 -t TAXID [TAXID ...], --taxid TAXID [TAXID ...]
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
238 Taxonomy ID[s] of reads to extract (space-delimited)
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
239 -o OUTPUT_FILE, --output OUTPUT_FILE
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
240 Output FASTA/Q file containing the reads and sample
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
241 IDs
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
242 -o2 OUTPUT_FILE2, --output2 OUTPUT_FILE2
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
243 Output FASTA/Q file containig the second pair of reads
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
244 [required for paired input]
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
245 --max MAX_READS Maximum number of reads to save [default: 100,000,000]
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
246 -r REPORT_FILE, --report REPORT_FILE
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
247 Kraken report file. [required only if --include-
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
248 parents/children is specified]
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
249 --include-parents Include reads classified at parent levels of the
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
250 specified taxids
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
251 --include-children Include reads classified more specifically than the
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
252 specified taxids
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
253 --exclude Instead of finding reads matching specified taxids,
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
254 finds all reads NOT matching specified taxids
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
255 --fastq-output Print output FASTQ reads [requires input FASTQ,
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
256 default: output is FASTA]
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
257
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
258 --------------------
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
259
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
260 **More Information**
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
261
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
262 --------------------
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
263
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
264 Author: Jennifer Lu
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
265
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
266 See the `online documentation`_
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
267
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
268 .. _`online documentation`: https://ccb.jhu.edu/software/krakentools/index.shtml?t=extractreads
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
269
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
270 --------------------
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
271
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
272 **Galaxy Wrapper Development**
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
273
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
274 --------------------
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
275
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
276 Author: Jeremy Volkening
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
277
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
278 ]]></help>
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
279
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
280 <expand macro="citations" />
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
281
d491c23394f9 "planemo upload for repository https://github.com/jvolkening/galaxy-tools/tree/master/tools/krakentools"
jvolkening
parents:
diff changeset
282 </tool>