Debian Codegraph @

pytools/template/readqc_body_template.html

raw symbols SCIP
1 <div>
2 <span class="notice">Read QC analysis is generated by subsampling fastq to [_SUBSAMPLE-RATE_]% of the reads.</span> <br />
3 <span class="notice">Average Base Quality, Average Read Quality, Read GC and Cycle Nucleotide Composition are generated by the BBTools reformat.sh command.</span>
4 </div>
5 <h2 class="section-title">Average Base Quality</h2>
6 <div class="section">
7 <ul>
8 <!--li>Overall base average quality score and the average quality score of base with quality score >= Q30.</li-->
9 <li>The table contains the percentage of bases with a given quality score.</li>
10 </ul>
11 <table>
12 <tr>
13 <td><span class="title-level-3">Overall Base Quality Score: </span><br /></td>
14 <td><span class="title-level-3">[_BASE-QUALITY-SCORE_] &plusmn; [_BASE-QUALITY-SCORE-STD_]</span></td>
15 </tr>
16 <tr>
17 <td><span class="title-level-3">Q30 Base Quality Score: </span></td>
18 <td><span class="title-level-3">[_Q30-BASE-QUALITY-SCORE_] &plusmn; [_Q30-BASE-QUALITY-SCORE-STD_]</span></td>
19 </tr>
20 </table>
21
22 <table class='data'>
23 <tr>
24 <th>Quality Value Threshold</th>
25 <th>&ge;Q30</th>
26 <th>&ge;Q25</th>
27 <th>&ge;Q20</th>
28 <th>&ge;Q15</th>
29 <th>&ge;Q10</th>
30 <th>&ge;Q5</th>
31 </tr>
32 <tr>
33 <th>Count of Bases</th>
34 <td>[_COUNT-OF-BAESE-Q30_]</td>
35 <td>[_COUNT-OF-BAESE-Q25_]</td>
36 <td>[_COUNT-OF-BAESE-Q20_]</td>
37 <td>[_COUNT-OF-BAESE-Q15_]</td>
38 <td>[_COUNT-OF-BAESE-Q10_]</td>
39 <td>[_COUNT-OF-BAESE-Q5_]</td>
40 </tr>
41 <tr>
42 <th>Percentage %</th>
43 <td>[_PCT-OF-BAESE-Q30_]</td>
44 <td>[_PCT-OF-BAESE-Q25_]</td>
45 <td>[_PCT-OF-BAESE-Q20_]</td>
46 <td>[_PCT-OF-BAESE-Q15_]</td>
47 <td>[_PCT-OF-BAESE-Q10_]</td>
48 <td>[_PCT-OF-BAESE-Q5_]</td>
49 </tr>
50 </table>
51 </div>
52
53 <h2 class="section-title">Average Read Quality</h2>
54 <div class="section">
55 <ul>
56 <li>The data file contains the percentage of reads with a given average read quality.</li>
57 <li>The plot is a histogram of average read quality.</li>
58 <!--li>[_SUBSAMPLE-RATE_]% randomly sampled reads are used for this analysis.</li-->
59 </ul>
60 <table class='data'>
61 <tr>
62 <th>Quality Value Threshold</th>
63 <th>&ge;Q30</th>
64 <th>&ge;Q25</th>
65 <th>&ge;Q20</th>
66 <th>&ge;Q15</th>
67 <th>&ge;Q10</th>
68 <th>&ge;Q5</th>
69 </tr>
70 <tr>
71 <th>Percentage of Reads %</th>
72 <td>[_PCT-OF-READS-Q30_]</td>
73 <td>[_PCT-OF-READS-Q25_]</td>
74 <td>[_PCT-OF-READS-Q20_]</td>
75 <td>[_PCT-OF-READS-Q15_]</td>
76 <td>[_PCT-OF-READS-Q10_]</td>
77 <td>[_PCT-OF-READS-Q5_]</td>
78 </tr>
79 </table>
80 <br />
81 <table class="plot">
82 <tr><td style="text-align: center; font-family: sans-serif; font-size: 12px; border: none">Average Read Quality Histogram ([_AVG-READ-QUAL-HISTO-DATA_], [_AVG-READ-QUAL-HOSTO-D3_] )</td></tr>
83 <tr><td><img src="[_AVG-READ-QUALITY-HISTOGRAM_]" alt="Average Read Quality Histogram Not Available"></td></tr>
84 </table>
85 </div>
86
87 <h2 class="section-title">Average Base Position Quality</h2>
88 <div class="section">
89 <ul>
90 <li>The data file contains the percentage of reads with a given average read quality.</li>
91 <li>The plot shows average quality at each base position/cycle.</li>
92 <!--li>[_SUBSAMPLE-RATE_]% randomly sampled reads are used for this analysis.</li-->
93 </ul>
94 <span class="title-level-3">Q20 for Read 1: [_READ_Q20_READ1_]</span> <br />
95 <span class="title-level-3">Q20 for Read 2: [_READ_Q20_READ1_]</span>
96 <table class="plot">
97 <tr><td style="text-align: center; font-family: sans-serif; font-size: 12px; border: none">Average Base Position Quality Plot ( [_AVG-BASE-POS-QUAL-HISTO-DATA_], [_AVG-BASE-POS-QUAL-HISTO-D3_] )</td></tr>
98 <tr><td><img src="[_AVG-BASE-POSITION-QUALITY_]" alt="Average Base Position Quality Not Available"></td></tr>
99 </table>
100 </div>
101
102 <h2 class="section-title">Insert Size</h2>
103 <div class="section">
104 <ul>
105 <li>BBTools bbmerge.sh is used to perform this analysis. bbmerge merges paired reads into single reads by overlap detection. With sufficient coverage, bbmerge can also merge nonoverlapping reads using gapped kmers.</li>
106 <li>The "percentage reads joined" is calculated by (number of joined reads/total number of reads * 100).</li>
107 <li>Raw reads are used for the insert size calculation (no trimming or filtering).</li>
108 </ul>
109 <table>
110 <tr><td style="text-align: center; font-family: sans-serif; font-size: 12px; border: none">
111 Insert Size Statistics
112 </td></tr>
113 <tr><td style="border: none">
114 <table class="data">
115 <tr>
116 <th>Percentage Reads Joined</th>
117 <th>Average</th>
118 <th>Stddev</th>
119 <th>Mode</th>
120 </tr>
121 <tr>
122 <td>[_PCT-READS-JOINED_]</td>
123 <td>[_PCT-READS-JOINED-AVG_]</td>
124 <td>[_PCT-READS-JOINED-STDDEV_]</td>
125 <td>[_PCT-READS-JOINED-MODE_]</td>
126 </tr>
127 </table>
128 </td></tr>
129 </table>
130 <br />
131 <table class="plot">
132 <tr><td style="text-align: center; font-family: sans-serif; font-size: 12px;">Insert size histogram ( [_INSERT-SIZE-HISTO-DATA_], [_INSERT-SIZE-HISTO-D3_] )</td></tr>
133 <tr><td><img src="[_INSERT-SIZE-HISTOGRAM_]" alt="Insert Size Histogram Not Available"></td></tr>
134 </table>
135 </div>
136
137 <!-- <h3>End-of-read Illumina Adapter Check</h3>
138 <div class="block">
139 <span style="text-align: left; font-family: sans-serif; font-size: 12px;">The plot shows the location of Illumina adapters in reads</span>
140 <br />
141 <table>
142 <tr><td style="text-align: center; font-family: sans-serif; font-size: 12px;">End-of-read Illumina Adapter Check (data file, interactive plot )</td></tr>
143 <tr><td><img src="[_END-OF-READ-ILLUMINA-ADAPTER_]" alt="End-Of-Read Illumina Adapter Not Available"></td></tr>
144 </table>
145 </div>-->
146
147 <h2 class="section-title">Read GC</h2>
148 <div class="section">
149 <ul>
150 <li>Histogram of GC percents for subsampled reads.</li>
151 <!--li>[_SUBSAMPLE-RATE_]% randomly sampled reads are used for this analysis.</li-->
152 </ul>
153
154 <span class="title-level-3">Average Read GC: [_READ-GC-AVG_] &plusmn; [_READ-GC-STDDEV_]%</span>
155 <br />
156 <br />
157 <table class="plot">
158 <tr><td style="text-align: center; font-family: sans-serif; font-size: 14px;border: none">Read GC Histogram ([_READ-QC-HISTO-DATA_], [_READ-QC-HISTO-D3_] )</td></tr>
159 <tr><td><img src="[_READ-GC-HIST_]" alt="Read GC Not Available"></td></tr>
160 </table>
161 </div>
162
163 <h2 class="section-title">Cycle Nucleotide Composition</h2>
164 <div class="section">
165 <ul>
166 <li>The plot(s) show nucleotide counts at each cycle position.</li>
167 <li>1 plot is created for each read.</li>
168 <!--li>[_SUBSAMPLE-RATE_]% randomly sampled reads are used for this analysis.</li-->
169 </ul>
170 <br />
171 <table class="plot">
172 <tr>
173 <td style="text-align: center; font-family: sans-serif; font-size: 12px;">Read 1 Nucleotide Composition Frequency Plot ([_NUC-COMP-FREQ-R1-DATA_], [_NUC-COMP-FREQ-R1-D3_])</td>
174 <td style="text-align: center; font-family: sans-serif; font-size: 12px;">Read 2 Nucleotide Composition Frequency Plot ([_NUC-COMP-FREQ-R2-DATA_], [_NUC-COMP-FREQ-R2-D3_])</td>
175 </tr>
176 <tr>
177 <td><img src="[_CYCLE-NUCL-COMPOSITION-READ1_]" alt="Cycle Nucleotide Composition Read 1 Not Available"></td>
178 <td><img src="[_CYCLE-NUCL-COMPOSITION-READ2_]" alt="Cycle Nucleotide Composition Read 2 Not Available"></td>
179 </tr>
180 </table>
181 </div>
182
183 <h2 class="section-title">Percentage of Common Contaminants</h2>
184 <div class="section">
185 <ul>
186 <li>The percentage of common contaminants in the randomly sampled reads are calculated using BBTools seal.sh and reported in the table.
187 Phix: PhiX control sequence.</li>
188 <!--li>Artifacts: Illumina sequencing artifacts and adapters not including DNA or RNA spike-in JGI Contaminants: Illumina sequencing adapters and artifacts and other various contaminants</li>
189 <li>For "Artifacts (first 50bp)", The 1st 50bp (20bp for smRNA) of 2.68% randomly sampled reads are aligned to each other using seal.</li>
190 <li>Non-synthetic Contaminants: prokaryotic and eukaryotic systematic contaminants</li>
191 <li>Synthetic Contaminants: synthetic seqs used in library construction appearing as systematic contaminants</li>
192 <li>Adapters: Illumina sequencing adapters Non-Synthetic Contaminants: common microbial contamination found in the sequencing process</li>
193 <li>Additional info: <a href='https://docs.google.com/document/d/16A_bAIWjhQSM5_oIPlJJgNny8wU4hvKgVbBLGrI7x3w/edit#heading=h.ibfh0cow3oh2' targe='_blank'>Microbe Read Filtering: SOP 1077</a></li-->
194
195 </ul>
196 <!-- DO WE NEED TO CHECK illumina_read_percent_contamination_artifact not defined here? -->
197 <table id="tag" class="data">
198 <tr><th>Contaminant</th><th>Value</th><th>Contamination DB Description</th></tr>
199
200 <tr><th>Artifacts</th><td class="right"><a href='[_CONTAM-ART-SEAL_]' target='_blank'>[_CONTAM-ART-SEA-PCT_]&#37; </a></td>
201 <td class="left">Illumina sequencing artifacts and adapters not including DNA or RNA spike-ins</td>
202 </tr>
203
204 [_CONTAN-ART-SEAL-FIRST-BP_]
205
206 <tr><th>DNA spike-ins</th><td class="right"><a href='[_DNA-SPIKEIN-SEAL_]' target='_blank'>[_DNA-SPIKEIN-SEAL_PCT_]&#37; </a></td>
207 <td class="left">DNA spike-in sequences</td>
208 </tr>
209 <tr><th>RNA spike-ins</th><td class="right"><a href='[_RNA-SPIKEIN-SEAL_]' target='_blank'>[_RNA-SPIKEIN-SEAL_PCT_]&#37; </a></td>
210 <td class="left">RNA spike-in sequences</td>
211 </tr>
212
213 <tr><th>Fosmid</th><td class="right"><a href='[_CONTAM-FOSMID-SEAL_]' target='_blank'>[_CONTAM-FOSMID-SEAL-PCT_]&#37; </a></td>
214 <td class="left">fosmid sequences</td>
215 </tr>
216 <tr><th>Mitochondria</th><td class="right"><a href='[_CONTAM-MITO-SEAL_]' target='_blank'>[_CONTAM-MITO-SEAL-PCT_]&#37; </a></td>
217 <td class="left">mitochondria sequences</td>
218 </tr>
219 <tr><th>Chloroplast</th><td class="right"><a href='[_CONTAM-CHLO-SEAL_]' target='_blank'>[_CONTAM-CHLO-SEAL-PCT_]&#37; </a></td>
220 <td class="left">chloroplast sequences</td>
221 </tr>
222 <tr><th>PhiX</th><td class="right"><a href='[_CONTAM-PHIX-SEAL_]' target='_blank'>[_CONTAM-PHIX-SEAL-PCT_]&#37; </a></td>
223 <td class="left">control sequences</td>
224 </tr>
225 <tr><th>rRNA</th><td class="right"><a href='[_CONTAM-RRNA-SEAL_]' target='_blank'>[_CONTAM-RRNA-SEAL-PCT_]&#37; </a></td>
226 <td class="left">ribosomal RNA sequences</td>
227 </tr>
228
229
230 <tr><th>Non-synthetic Contaminants</th><td class="right"><a href='[_CONTAM-NON-SYN-SEAL_]' target='_blank'>[_CONTAM-NON-SYN-SEAL-PCT_]&#37; </a></td>
231 <td class="left">common microbial contamination found in the sequencing process</td>
232 </tr>
233
234 <tr><th class="left">Synthetic Contaminants</th><td class="right"><a href='[_CONTAM-SYN-SEAL_]' target='_blank'>[_CONTAM-SYN-SEAL-PCT_]&#37; </a></td>
235 <td class="left">synthetic sequencess used in library construction appearing as systematic contaminants</td>
236 </tr>
237
238 <!--tr><th>Adapters</th><td class="right"><a href='[_CONTAM-ADAPTER-SEAL_]' target='_blank'>[_CONTAM-ADAPTER-PCT_]&#37; </a></td>
239 <td>etc</td-->
240 </tr>
241
242 </table>
243 </div>
244
245 [_SKETCH-TABLE_]