annotate hydra.xml @ 1:1abf6b32ecfd draft

planemo upload for repository https://github.com/phac-nml/quasitools commit 1a2c7bac09d21d92533bc2ef31dd05c7ac41b39f
author nml
date Wed, 13 Dec 2017 10:28:31 -0500
parents 71976cfc9022
children a7093d5933a8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
1 <tool id="hydra" name="Hydra pipeline" version="0.1.0">
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
2 <description>Identifies drug resistance within an NGS dataset</description>
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
3 <requirements>
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
4 <requirement type="package" version="0.2.2">quasitools</requirement>
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
5 </requirements>
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
6 <command detect_errors="exit_code"><![CDATA[
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
7
1
1abf6b32ecfd planemo upload for repository https://github.com/phac-nml/quasitools commit 1a2c7bac09d21d92533bc2ef31dd05c7ac41b39f
nml
parents: 0
diff changeset
8 quasitools hydra
1abf6b32ecfd planemo upload for repository https://github.com/phac-nml/quasitools commit 1a2c7bac09d21d92533bc2ef31dd05c7ac41b39f
nml
parents: 0
diff changeset
9
1abf6b32ecfd planemo upload for repository https://github.com/phac-nml/quasitools commit 1a2c7bac09d21d92533bc2ef31dd05c7ac41b39f
nml
parents: 0
diff changeset
10 ## Preparing file input.
1abf6b32ecfd planemo upload for repository https://github.com/phac-nml/quasitools commit 1a2c7bac09d21d92533bc2ef31dd05c7ac41b39f
nml
parents: 0
diff changeset
11 #if $data_type.type == "paired":
1abf6b32ecfd planemo upload for repository https://github.com/phac-nml/quasitools commit 1a2c7bac09d21d92533bc2ef31dd05c7ac41b39f
nml
parents: 0
diff changeset
12
1abf6b32ecfd planemo upload for repository https://github.com/phac-nml/quasitools commit 1a2c7bac09d21d92533bc2ef31dd05c7ac41b39f
nml
parents: 0
diff changeset
13 '$data_type.fastq_input1'
1abf6b32ecfd planemo upload for repository https://github.com/phac-nml/quasitools commit 1a2c7bac09d21d92533bc2ef31dd05c7ac41b39f
nml
parents: 0
diff changeset
14 '$data_type.fastq_input2'
0
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
15
1
1abf6b32ecfd planemo upload for repository https://github.com/phac-nml/quasitools commit 1a2c7bac09d21d92533bc2ef31dd05c7ac41b39f
nml
parents: 0
diff changeset
16 #elif $data_type.type == "collection":
1abf6b32ecfd planemo upload for repository https://github.com/phac-nml/quasitools commit 1a2c7bac09d21d92533bc2ef31dd05c7ac41b39f
nml
parents: 0
diff changeset
17
1abf6b32ecfd planemo upload for repository https://github.com/phac-nml/quasitools commit 1a2c7bac09d21d92533bc2ef31dd05c7ac41b39f
nml
parents: 0
diff changeset
18 '$data_type.fastq_input1.forward'
1abf6b32ecfd planemo upload for repository https://github.com/phac-nml/quasitools commit 1a2c7bac09d21d92533bc2ef31dd05c7ac41b39f
nml
parents: 0
diff changeset
19 '$data_type.fastq_input1.reverse'
1abf6b32ecfd planemo upload for repository https://github.com/phac-nml/quasitools commit 1a2c7bac09d21d92533bc2ef31dd05c7ac41b39f
nml
parents: 0
diff changeset
20
1abf6b32ecfd planemo upload for repository https://github.com/phac-nml/quasitools commit 1a2c7bac09d21d92533bc2ef31dd05c7ac41b39f
nml
parents: 0
diff changeset
21 #elif $data_type.type == "single":
1abf6b32ecfd planemo upload for repository https://github.com/phac-nml/quasitools commit 1a2c7bac09d21d92533bc2ef31dd05c7ac41b39f
nml
parents: 0
diff changeset
22
1abf6b32ecfd planemo upload for repository https://github.com/phac-nml/quasitools commit 1a2c7bac09d21d92533bc2ef31dd05c7ac41b39f
nml
parents: 0
diff changeset
23 '$data_type.fastq_input1'
1abf6b32ecfd planemo upload for repository https://github.com/phac-nml/quasitools commit 1a2c7bac09d21d92533bc2ef31dd05c7ac41b39f
nml
parents: 0
diff changeset
24
0
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
25 #end if
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
26
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
27 #if $mutation_db:
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
28 -m '$mutation_db'
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
29 #end if
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
30
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
31 #if $reporting_threshold:
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
32 -rt '$reporting_threshold'
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
33 #end if
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
34
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
35 #if $consensus_pct:
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
36 -cp '$consensus_pct'
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
37 #end if
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
38
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
39 #if $length_cutoff:
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
40 -lc '$length_cutoff'
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
41 #end if
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
42
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
43 #if $score_cutoff:
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
44 -sc '$score_cutoff'
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
45 #end if
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
46
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
47 #if $error_rate:
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
48 -e '$error_rate'
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
49 #end if
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
50
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
51 #if $min_qual:
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
52 -mq '$min_qual'
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
53 #end if
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
54
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
55 #if $min_depth:
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
56 -md '$min_depth'
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
57 #end if
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
58
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
59 #if $min_ac:
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
60 -ma '$min_ac'
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
61 #end if
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
62
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
63 #if $min_freq:
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
64 -mf '$min_freq'
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
65 #end if
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
66
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
67 #if $generate_consensus:
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
68 --generate_consensus
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
69 #end if
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
70
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
71 #if $filter_ns:
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
72 --ns
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
73 #end if
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
74
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
75 -o output
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
76
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
77 ]]></command>
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
78 <inputs>
1
1abf6b32ecfd planemo upload for repository https://github.com/phac-nml/quasitools commit 1a2c7bac09d21d92533bc2ef31dd05c7ac41b39f
nml
parents: 0
diff changeset
79 <conditional name="data_type">
1abf6b32ecfd planemo upload for repository https://github.com/phac-nml/quasitools commit 1a2c7bac09d21d92533bc2ef31dd05c7ac41b39f
nml
parents: 0
diff changeset
80 <param name="type" type="select" label="Specify the read type.">
1abf6b32ecfd planemo upload for repository https://github.com/phac-nml/quasitools commit 1a2c7bac09d21d92533bc2ef31dd05c7ac41b39f
nml
parents: 0
diff changeset
81 <option value="single">Single-end Data</option>
1abf6b32ecfd planemo upload for repository https://github.com/phac-nml/quasitools commit 1a2c7bac09d21d92533bc2ef31dd05c7ac41b39f
nml
parents: 0
diff changeset
82 <option value="paired">Paired-end Data</option>
1abf6b32ecfd planemo upload for repository https://github.com/phac-nml/quasitools commit 1a2c7bac09d21d92533bc2ef31dd05c7ac41b39f
nml
parents: 0
diff changeset
83 <option value="collection">Collection Paired-end Data</option>
1abf6b32ecfd planemo upload for repository https://github.com/phac-nml/quasitools commit 1a2c7bac09d21d92533bc2ef31dd05c7ac41b39f
nml
parents: 0
diff changeset
84 </param>
1abf6b32ecfd planemo upload for repository https://github.com/phac-nml/quasitools commit 1a2c7bac09d21d92533bc2ef31dd05c7ac41b39f
nml
parents: 0
diff changeset
85 <when value="single">
1abf6b32ecfd planemo upload for repository https://github.com/phac-nml/quasitools commit 1a2c7bac09d21d92533bc2ef31dd05c7ac41b39f
nml
parents: 0
diff changeset
86 <param name="fastq_input1" type="data" format="fastq" label="Single end read file(s)"/>
1abf6b32ecfd planemo upload for repository https://github.com/phac-nml/quasitools commit 1a2c7bac09d21d92533bc2ef31dd05c7ac41b39f
nml
parents: 0
diff changeset
87 </when>
1abf6b32ecfd planemo upload for repository https://github.com/phac-nml/quasitools commit 1a2c7bac09d21d92533bc2ef31dd05c7ac41b39f
nml
parents: 0
diff changeset
88 <when value="paired">
1abf6b32ecfd planemo upload for repository https://github.com/phac-nml/quasitools commit 1a2c7bac09d21d92533bc2ef31dd05c7ac41b39f
nml
parents: 0
diff changeset
89 <param name="fastq_input1" type="data" format="fastq" label="Forward paired-end read file"/>
1abf6b32ecfd planemo upload for repository https://github.com/phac-nml/quasitools commit 1a2c7bac09d21d92533bc2ef31dd05c7ac41b39f
nml
parents: 0
diff changeset
90 <param name="fastq_input2" type="data" format="fastq" label="Reverse paired-end read file"/>
1abf6b32ecfd planemo upload for repository https://github.com/phac-nml/quasitools commit 1a2c7bac09d21d92533bc2ef31dd05c7ac41b39f
nml
parents: 0
diff changeset
91 </when>
1abf6b32ecfd planemo upload for repository https://github.com/phac-nml/quasitools commit 1a2c7bac09d21d92533bc2ef31dd05c7ac41b39f
nml
parents: 0
diff changeset
92 <when value="collection">
1abf6b32ecfd planemo upload for repository https://github.com/phac-nml/quasitools commit 1a2c7bac09d21d92533bc2ef31dd05c7ac41b39f
nml
parents: 0
diff changeset
93 <param name="fastq_input1" type="data_collection" label="Paired-end reads collection" optional="false" format="fastq" collection_type="paired" />
1abf6b32ecfd planemo upload for repository https://github.com/phac-nml/quasitools commit 1a2c7bac09d21d92533bc2ef31dd05c7ac41b39f
nml
parents: 0
diff changeset
94 </when>
1abf6b32ecfd planemo upload for repository https://github.com/phac-nml/quasitools commit 1a2c7bac09d21d92533bc2ef31dd05c7ac41b39f
nml
parents: 0
diff changeset
95 </conditional>
0
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
96 <param name="mutation_db" type="data" format="tsv" optional="true" label="Mutation DB" help="Defaults to HIV mutation database." />
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
97 <param name="reporting_threshold" type="integer" optional="true" min="1" max="100" value="1" label="Reporting threshold. Defaults to 1." help="Minimum mutation frequency to report." />
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
98 <param name="consensus_pct" type="integer" optional="true" min="1" max="20" value="20" label="Reporting threshold" help="Minimum mutation frequency to report. Defaults to 20." />
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
99 <param name="length_cutoff" type="integer" optional="true" min="0" max="1000" label="Length cutoff" value="100" help="Reads which fall short of the specified length will be filtered out. Defaults to 100." />
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
100 <param name="score_cutoff" type="integer" optional="true" min="0" max="40" label="Score cutoff" value="30" help="Reads whose average quality score is less than the specified score will be filtered out. Defaults to 30." />
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
101 <param name="error_rate" type="float" optional="true" min="0" max="1" label="Error rate" value="0.0021" help="Estimated sequencing error rate. Defaults to 0.0021."/>
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
102 <param name="min_qual" type="integer" optional="true" min="1" max="100" label="Minimum quality" value="30" help="Minimum required quality for variant to be considered later on in the pipeline. Defaults to 30." />
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
103 <param name="min_depth" type="integer" optional="true" min="0" max="5000" label="Minimum depth" value="100" help="Minimum required depth for variant to be considered later on in the pipeline. Defaults to 100." />
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
104 <param name="min_ac" type="integer" optional="true" min="0" max="5000" label="Minimum allele count" value="5" help="Minimum required allele count for variant to be considered later on in the pipeline. Defaults to 5." />
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
105 <param name="min_freq" type="float" optional="true" min="0" max="1" label="Minimum frequency" value="0.01" help="Minimum required frequency for variant to be considered later on in the pipeline. Defaults to 0.01." />
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
106 <param name="generate_consensus" type="boolean" truevalue="--generate_consensus" falsevalue="" checked="False" label="Generate consensus" />
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
107 <param name="filter_ns" type="boolean" truevalue="--ns" falsevalue="" checked="False" label="Filter out n's" />
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
108 </inputs>
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
109 <outputs>
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
110 <data format="bam" label="HyDRA: alignment bam output" name="output_bam" from_work_dir="output/align.bam" />
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
111 <data format="bam" label="HyDRA: bam.bai output" name="output_bam_bai" from_work_dir="output/align.bam.bai" />
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
112 <data format="csv" label="HyDRA: coverage output" name="output_coverage" from_work_dir="output/coverage_file.csv" />
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
113 <data format="csv" label="HyDRA: drug resistance output" name="output_dr" from_work_dir="output/dr_report.csv" />
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
114 <data format="fastq" label="HyDRA: filtered reads output" name="output_filtered" from_work_dir="output/filtered.fastq" />
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
115 <data format="vcf" label="HyDRA: variants output" name="output_hydra" from_work_dir="output/hydra.vcf" />
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
116 <data format="vcf" label="HyDRA: aa mutations output" name="output_aa_mt" from_work_dir="output/mutation_report.hmcf" />
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
117 <data format="txt" label="HyDRA: stats output" name="output_stats" from_work_dir="output/stats.txt" />
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
118 </outputs>
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
119 <tests>
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
120 <test>
1
1abf6b32ecfd planemo upload for repository https://github.com/phac-nml/quasitools commit 1a2c7bac09d21d92533bc2ef31dd05c7ac41b39f
nml
parents: 0
diff changeset
121 <param name="type" value="single"/>
1abf6b32ecfd planemo upload for repository https://github.com/phac-nml/quasitools commit 1a2c7bac09d21d92533bc2ef31dd05c7ac41b39f
nml
parents: 0
diff changeset
122 <param name="fastq_input1" value="forward.fastq" />
0
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
123 <output name="output_coverage">
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
124 <assert_contents>
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
125 <has_text text="frame: 0" />
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
126 <has_text text="1,0" />
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
127 <has_text text="948,0" />
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
128 </assert_contents>
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
129 </output>
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
130 <output name="output_dr">
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
131 <assert_contents>
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
132 <has_text text="Chromosome,Gene,Category,Surveillance,Wildtype,Position,Mutation,Mutation Frequency,Coverage" />
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
133 <has_text text="hxb2_pol,RT,NNRTI,Yes,K,101,P,14.23,1574" />
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
134 <has_text text="hxb2_pol,RT,NNRTI,Yes,K,103,N,5.49,1912" />
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
135 <has_text text="hxb2_pol,RT,NNRTI,Yes,Y,181,C,24.07,4557" />
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
136 <has_text text="hxb2_pol,RT,NNRTI,Yes,Y,181,I,18.04,4557" />
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
137 <has_text text="hxb2_pol,RT,NNRTI,Yes,Y,181,V,20.08,4557" />
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
138 <has_text text="hxb2_pol,RT,NNRTI,Yes,Y,188,C,2.81,3454" />
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
139 <has_text text="hxb2_pol,RT,NNRTI,Yes,G,190,A,5.20,3233" />
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
140 <has_text text="hxb2_pol,RT,NNRTI,Yes,G,190,S,6.68,3233" />
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
141 </assert_contents>
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
142 </output>
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
143 <output name="output_hydra">
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
144 <assert_contents>
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
145 <has_text_matching expression="#CHROM\tPOS\tID\tREF\tALT\tQUAL\tFILTER\tINFO"/>
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
146 <has_text_matching expression="hxb2_pol\s576\s.\sa\sg\s100\sPASS\sDP=805;AC=245;AF=0.3043" />
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
147 <has_text_matching expression="hxb2_pol\s958\s.\sc\sa\s100\sPASS\sDP=2503;AC=28;AF=0.0112" />
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
148 </assert_contents>
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
149 </output>
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
150 <output name="output_aa_mt">
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
151 <assert_contents>
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
152 <has_text_matching expression="#CHROM\sGENE\sTYPE\sWILDTYPE\sPOS\sMUTANT\sFILTER\sMUTANT_FREQ\sCOVERAGE\sINFO"/>
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
153 <has_text_matching expression="hxb2_pol\sRT\smutation\sK\s101\sP\sPASS\s0.1423\s1574\sWC=aaa;MC=CCa;MCF=0.1423;CAT=NNRTI;SRVL=Yes" />
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
154 <has_text_matching expression="hxb2_pol\sRT\smutation\sH\s221\sN\sPASS\s0.0113\s2475\sWC=cat;MC=Aat;MCF=0.0113;CAT=.;SRVL=." />
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
155 </assert_contents>
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
156 </output>
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
157 <output name="output_stats">
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
158 <assert_contents>
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
159 <has_text text="Input Size: 25000"/>
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
160 <has_text text="Number of reads filtered due to length: 15074"/>
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
161 <has_text text="Number of reads filtered due to average quality score: 501"/>
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
162 <has_text text="Number of reads filtered due to presence of Ns: 0"/>
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
163 <has_text text="Number of reads filtered due to excess coverage: 0"/>
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
164 <has_text text="Number of reads filtered due to poor mapping: 12"/>
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
165 <has_text text="Percentage of reads filtered: 62.35"/>
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
166 </assert_contents>
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
167 </output>
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
168 </test>
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
169 </tests>
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
170 <help><![CDATA[
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
171
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
172 HyDRA - HIV Drug Resistance Analyzer
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
173 ====================================
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
174
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
175 The HyDRA pipeline provides a pipeline for identifying drug resistance within a Next Generation Sequencing dataset. The pipeline takes as input the raw reads produced by a Next Generation Sequencer and produces a report detailing found drug resistance per sample.
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
176
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
177 Authors
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
178 -------
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
179
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
180 The HyDRA pipeline was developed by Eric Enns and David Peddle.
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
181
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
182 Stages
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
183 ------
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
184
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
185 The HyDRA pipleine proceeds through the following stages:
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
186
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
187 1. Quality Control/Filtering
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
188 2. Reference mapping using bowtie2.
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
189 3. Variant Calling and filtering using a Poisson distribution.
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
190 4. AA Mutation Calling and filtering.
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
191 5. Drug Resistance report generation.
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
192
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
193 Details
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
194 -------
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
195
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
196 The following is an example for running the pipeline, using our included test dataset:
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
197 * Output directory name: "/tmp/hydra_out"
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
198 * Forward reads: "reads_w_K103N.fastq"
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
199
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
200 ### Output ###
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
201
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
202 The detailed output directory tree looks as follows:
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
203
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
204 /tmp/hydra_out/
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
205 * align.bam
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
206 * align.bam.bai
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
207 * coverage_file.csv
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
208 * dr_report.csv
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
209 * filtered.fastq
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
210 * hydra.vcf
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
211 * mutation_report.hmcf
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
212 * stats.txt
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
213
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
214 The description of each of these directories/files are as follows:
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
215
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
216 * __run.conf__: The configuration used when this output was produced.
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
217 * __reads_w_K103N/__: The results directory for the input file reads_w_K103N.fastq
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
218 * __align.bam__: The alignment file in bam format.
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
219 * __align.bam.bai__: The index to the alignment file.
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
220 * __coverage_file.csv__: A file with one entry per line with the AA position and the coverage at the position.
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
221 * __dr_report.csv__: A report detailing the drug resistant mutations found, above the reporting threshold (default: 1%).
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
222 * __filtered.fastq__: The reads remaining after the filtering stage.
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
223 * __hydra.vcf__: The variants found by the pipeline.
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
224 * __mutation_report.hmcf__: The AA mutations found by the pipeline.
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
225 * __stats.txt__: A log file detailing size after filtering and major stages.
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
226
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
227 The __dr_report.csv__ file lists all found drug resistant mutations (mutations included in the mutation database) which have frequency greater than the reporting threshold. An example of this file is given below.
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
228
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
229 Example: __dr_report.csv__
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
230
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
231 Gene,Category,Surveillance,Wildtype,Position,Mutation,Mutation Frequency,Coverage
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
232 RT,NNRTI,Yes,K,103,N,9.03,155
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
233
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
234 The __mutation_report.hmcf__ files is our custom VCF like file which details all of the AA mutations found by the pipeline. An example if this file is given below.
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
235
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
236 Example: __mutation_report.hmcf__
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
237
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
238 ##fileformat=HMCFv1
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
239 ##fileDate=20150008
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
240 ##source=HyDRA
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
241 ##reference=/home/ericenns/hydra/var/hxb2_pol.fas
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
242 ##INFO=<ID=MC,Number=.,Description="String">
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
243 ##INFO=<ID=MCF,Number=.,Description="String">
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
244 ##INFO=<ID=WC,Number=.,Description="String">
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
245 ##FILTER=<ID=mf0.01,Description="Mutant freq below 0.01">
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
246 #GENE CATEGORY SURVEILLANCE TYPE WILDTYPE POS MUTANT FILTER MUTANT_FREQ COVERAGE INFO
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
247 RT NNRTI Yes mutation K 103 N PASS 0.0903 155 WC=aaa;MC=aaC;MCF=0.0903
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
248
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
249 ]]></help>
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
250 <citations>
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
251 </citations>
71976cfc9022 planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff changeset
252 </tool>