Commit 2e0ae2f
feat(subworkflows/fastq_qc_trim_filter_setstrandedness): emit reads_raw, reads_pre_bbsplit (#12103)
* feat(subworkflows/fastq_qc_trim_filter_setstrandedness): emit reads_raw and reads_pre_bbsplit channel snapshots
Add two new emit channels for pipelines that need reads at different
preprocessing stages:
- reads_raw: snapshot of reads before adapter trimming (useful for
contaminant screening comparison at the raw-read stage)
- reads_pre_bbsplit: snapshot after trimming but before BBSplit/rRNA
removal
Both channels are zero-cost aliases (no copying or re-processing) and
do not affect any existing outputs or behavior.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* Update subworkflows/nf-core/fastq_qc_trim_filter_setstrandedness/main.nf
Co-authored-by: Jonathan Manning <pininforthefjords@gmail.com>
* Update subworkflows/nf-core/fastq_qc_trim_filter_setstrandedness/main.nf
Co-authored-by: Jonathan Manning <pininforthefjords@gmail.com>
* Update subworkflows/nf-core/fastq_qc_trim_filter_setstrandedness/main.nf
Co-authored-by: Jonathan Manning <pininforthefjords@gmail.com>
* Update subworkflows/nf-core/fastq_qc_trim_filter_setstrandedness/meta.yml
Co-authored-by: Jonathan Manning <pininforthefjords@gmail.com>
* Update subworkflows/nf-core/fastq_qc_trim_filter_setstrandedness/meta.yml
Co-authored-by: Jonathan Manning <pininforthefjords@gmail.com>
* feat(subworkflows/fastq_qc_trim_filter_setstrandedness): emit reads_raw and reads_pre_bbsplit channel snapshots
Rename outputs to match per-stage naming convention:
- reads_raw -> reads_cat (snapshot after CAT_FASTQ, before trimming)
- reads_pre_bbsplit -> reads_trimmed (snapshot after trimming, before BBSplit/rRNA removal)
Add intermediate_reads snapshot assertions to all 5 test cases using
the linesGzip/md5 pattern, with unique per-test snapshot IDs to avoid
collisions. Regenerate snapshots.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: Jonathan Manning <pininforthefjords@gmail.com>1 parent 429d56a commit 2e0ae2f
4 files changed
Lines changed: 237 additions & 18 deletions
File tree
- subworkflows/nf-core/fastq_qc_trim_filter_setstrandedness
- tests
Lines changed: 9 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
| 192 | + | |
| 193 | + | |
192 | 194 | | |
193 | 195 | | |
194 | 196 | | |
| |||
291 | 293 | | |
292 | 294 | | |
293 | 295 | | |
| 296 | + | |
| 297 | + | |
294 | 298 | | |
295 | 299 | | |
296 | 300 | | |
| |||
426 | 430 | | |
427 | 431 | | |
428 | 432 | | |
429 | | - | |
430 | | - | |
431 | | - | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
432 | 438 | | |
433 | 439 | | |
434 | 440 | | |
| |||
Lines changed: 20 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
177 | 197 | | |
178 | 198 | | |
179 | 199 | | |
| |||
Lines changed: 25 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
133 | | - | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
134 | 138 | | |
135 | 139 | | |
136 | 140 | | |
| |||
223 | 227 | | |
224 | 228 | | |
225 | 229 | | |
226 | | - | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
227 | 235 | | |
228 | 236 | | |
229 | 237 | | |
| |||
316 | 324 | | |
317 | 325 | | |
318 | 326 | | |
319 | | - | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
320 | 332 | | |
321 | 333 | | |
322 | 334 | | |
| |||
413 | 425 | | |
414 | 426 | | |
415 | 427 | | |
416 | | - | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
417 | 433 | | |
418 | 434 | | |
419 | 435 | | |
| |||
590 | 606 | | |
591 | 607 | | |
592 | 608 | | |
593 | | - | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
594 | 614 | | |
595 | 615 | | |
596 | 616 | | |
| |||
Lines changed: 183 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
2 | 72 | | |
3 | 73 | | |
4 | 74 | | |
| |||
9 | 79 | | |
10 | 80 | | |
11 | 81 | | |
| 82 | + | |
12 | 83 | | |
13 | 84 | | |
14 | 85 | | |
15 | | - | |
16 | | - | |
| 86 | + | |
17 | 87 | | |
18 | 88 | | |
19 | 89 | | |
| |||
25 | 95 | | |
26 | 96 | | |
27 | 97 | | |
| 98 | + | |
28 | 99 | | |
29 | 100 | | |
30 | 101 | | |
31 | | - | |
32 | | - | |
| 102 | + | |
33 | 103 | | |
34 | 104 | | |
35 | 105 | | |
| |||
41 | 111 | | |
42 | 112 | | |
43 | 113 | | |
| 114 | + | |
44 | 115 | | |
45 | 116 | | |
46 | 117 | | |
47 | | - | |
48 | | - | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
49 | 152 | | |
50 | 153 | | |
51 | 154 | | |
| |||
57 | 160 | | |
58 | 161 | | |
59 | 162 | | |
| 163 | + | |
60 | 164 | | |
61 | 165 | | |
62 | 166 | | |
63 | | - | |
64 | | - | |
| 167 | + | |
65 | 168 | | |
66 | 169 | | |
67 | 170 | | |
| |||
70 | 173 | | |
71 | 174 | | |
72 | 175 | | |
| 176 | + | |
73 | 177 | | |
74 | 178 | | |
75 | 179 | | |
76 | | - | |
77 | | - | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
78 | 251 | | |
79 | 252 | | |
0 commit comments