Skip to content

Commit 08d8a2a

Browse files
authored
Merge branch 'dev' into remove-unused-params-in-email-template
2 parents c4fb145 + 4749877 commit 08d8a2a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+5346
-360
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,11 @@ jobs:
6868
- name: Check out pipeline code
6969
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4
7070

71+
- uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4
72+
with:
73+
distribution: "temurin"
74+
java-version: "17"
75+
7176
- name: Set up Nextflow
7277
uses: nf-core/setup-nextflow@v2
7378
with:

CHANGELOG.md

Lines changed: 59 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,35 @@
33
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
44
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
55

6+
# 3.18.0dev - xxxx-xx-xx
7+
8+
### Credits
9+
10+
Special thanks to the following for their contributions to the release:
11+
12+
- [Caitlin Winkler](https://github.com/oligomyeggo)
13+
- [Siddhartha Bagaria](https://github.com/siddharthab)
14+
15+
### Enhancements & fixes
16+
17+
- [PR #1369](https://github.com/nf-core/rnaseq/pull/1369) - Add umicollapse as an alternative to umi-tools
18+
- [PR #1461](https://github.com/nf-core/rnaseq/pull/1461) - Add FASTQ linting during preprocessing
19+
- [PR #1463](https://github.com/nf-core/rnaseq/pull/1463) - Move channel operations outside of the onComplete() block
20+
- [PR #1467](https://github.com/nf-core/rnaseq/pull/1467) - Add test suite for UMI handling functionality
21+
- [PR #1466](https://github.com/nf-core/rnaseq/pull/1466) - Factor out UMI handling
22+
23+
### Software dependencies
24+
25+
| Dependency | Old version | New version |
26+
| ------------- | ----------- | ----------- |
27+
| `UMICollapse` | | 1.1.0 |
28+
29+
> **NB:** Dependency has been **updated** if both old and new version information is present.
30+
>
31+
> **NB:** Dependency has been **added** if just the new version information is present.
32+
>
33+
> **NB:** Dependency has been **removed** if new version information isn't present.
34+
635
## [[3.17.0](https://github.com/nf-core/rnaseq/releases/tag/3.17.0)] - 2024-10-23
736

837
### Credits
@@ -1007,14 +1036,14 @@ Note, since the pipeline is now using Nextflow DSL2, each process will be run wi
10071036

10081037
### Parameters
10091038

1010-
| Old parameter | New parameter |
1011-
| --------------------------- | -------------------------------------- |
1012-
| `--fc_extra_attributes` | `--gtf_extra_attributes` |
1013-
|  `--fc_group_features` |  `--gtf_group_features` |
1014-
|  `--fc_count_type` |  `--gtf_count_type` |
1015-
|  `--fc_group_features_type` |  `--gtf_group_features_type` |
1016-
|   |  `--singularity_pull_docker_container` |
1017-
|  `--skip_featurecounts` |   |
1039+
| Old parameter | New parameter |
1040+
| -------------------------- | ------------------------------------- |
1041+
| `--fc_extra_attributes` | `--gtf_extra_attributes` |
1042+
| `--fc_group_features` | `--gtf_group_features` |
1043+
| `--fc_count_type` | `--gtf_count_type` |
1044+
| `--fc_group_features_type` | `--gtf_group_features_type` |
1045+
| | `--singularity_pull_docker_container` |
1046+
| `--skip_featurecounts` | |
10181047

10191048
> **NB:** Parameter has been **updated** if both old and new parameter information is present.
10201049
> **NB:** Parameter has been **added** if just the new parameter information is present.
@@ -1092,28 +1121,28 @@ Note, since the pipeline is now using Nextflow DSL2, each process will be run wi
10921121

10931122
#### Updated
10941123

1095-
| Old parameter | New parameter |
1096-
| ----------------------------- | --------------------------- |
1097-
| `--reads` | `--input` |
1098-
|  `--igenomesIgnore` |  `--igenomes_ignore` |
1099-
|  `--removeRiboRNA` |  `--remove_ribo_rna` |
1100-
|  `--rRNA_database_manifest` |  `--ribo_database_manifest` |
1101-
|  `--save_nonrRNA_reads` |  `--save_non_ribo_reads` |
1102-
|  `--saveAlignedIntermediates` |  `--save_align_intermeds` |
1103-
|  `--saveReference` |  `--save_reference` |
1104-
|  `--saveTrimmed` |  `--save_trimmed` |
1105-
|  `--saveUnaligned` |  `--save_unaligned` |
1106-
|  `--skipAlignment` |  `--skip_alignment` |
1107-
|  `--skipBiotypeQC` |  `--skip_biotype_qc` |
1108-
|  `--skipDupRadar` |  `--skip_dupradar` |
1109-
|  `--skipFastQC` |  `--skip_fastqc` |
1110-
|  `--skipMultiQC` |  `--skip_multiqc` |
1111-
|  `--skipPreseq` |  `--skip_preseq` |
1112-
|  `--skipQC` |  `--skip_qc` |
1113-
|  `--skipQualimap` |  `--skip_qualimap` |
1114-
|  `--skipRseQC` |  `--skip_rseqc` |
1115-
|  `--skipTrimming` |  `--skip_trimming` |
1116-
|  `--stringTieIgnoreGTF` |  `--stringtie_ignore_gtf` |
1124+
| Old parameter | New parameter |
1125+
| ---------------------------- | -------------------------- |
1126+
| `--reads` | `--input` |
1127+
| `--igenomesIgnore` | `--igenomes_ignore` |
1128+
| `--removeRiboRNA` | `--remove_ribo_rna` |
1129+
| `--rRNA_database_manifest` | `--ribo_database_manifest` |
1130+
| `--save_nonrRNA_reads` | `--save_non_ribo_reads` |
1131+
| `--saveAlignedIntermediates` | `--save_align_intermeds` |
1132+
| `--saveReference` | `--save_reference` |
1133+
| `--saveTrimmed` | `--save_trimmed` |
1134+
| `--saveUnaligned` | `--save_unaligned` |
1135+
| `--skipAlignment` | `--skip_alignment` |
1136+
| `--skipBiotypeQC` | `--skip_biotype_qc` |
1137+
| `--skipDupRadar` | `--skip_dupradar` |
1138+
| `--skipFastQC` | `--skip_fastqc` |
1139+
| `--skipMultiQC` | `--skip_multiqc` |
1140+
| `--skipPreseq` | `--skip_preseq` |
1141+
| `--skipQC` | `--skip_qc` |
1142+
| `--skipQualimap` | `--skip_qualimap` |
1143+
| `--skipRseQC` | `--skip_rseqc` |
1144+
| `--skipTrimming` | `--skip_trimming` |
1145+
| `--stringTieIgnoreGTF` | `--stringtie_ignore_gtf` |
11171146

11181147
#### Added
11191148

docs/output.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ The pipeline is built using [Nextflow](https://www.nextflow.io/) and processes d
1919
- [Pipeline overview](#pipeline-overview)
2020
- [Preprocessing](#preprocessing)
2121
- [cat](#cat)
22+
[fq lint](#fq-lint)
2223
- [FastQC](#fastqc)
2324
- [UMI-tools extract](#umi-tools-extract)
2425
- [TrimGalore](#trimgalore)
@@ -73,6 +74,20 @@ The pipeline is built using [Nextflow](https://www.nextflow.io/) and processes d
7374

7475
If multiple libraries/runs have been provided for the same sample in the input samplesheet (e.g. to increase sequencing depth) then these will be merged at the very beginning of the pipeline in order to have consistent sample naming throughout the pipeline. Please refer to the [usage documentation](https://nf-co.re/rnaseq/usage#samplesheet-input) to see how to specify these samples in the input samplesheet.
7576

77+
# fq lint
78+
79+
<details markdown="1">
80+
<summary>Output files</summary>
81+
82+
- `fq_lint/*`
83+
- `*.fq_lint.txt`: Linting report per library from `fq lint`.
84+
85+
> **NB:** You will see subdirectories here based on the stage of preprocessing for the files that have been linted, for example `raw`, `trimmed`.
86+
87+
</details>
88+
89+
[fq lint](https://github.com/stjude-rust-labs/fq) runs several checks on input FASTQ files. It will fail with a non-zero error code when issues are found, which will terminate the workflow execution. In the absence of this, the successful linting produces the logs you will find here.
90+
7691
### FastQC
7792

7893
<details markdown="1">

docs/usage.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@ CONTROL_REP1,AEG588A1_S1_L003_R1_001.fastq.gz,AEG588A1_S1_L003_R2_001.fastq.gz,a
2727
CONTROL_REP1,AEG588A1_S1_L004_R1_001.fastq.gz,AEG588A1_S1_L004_R2_001.fastq.gz,auto
2828
```
2929

30+
### Linting
31+
32+
By default, the pipeline will run [fq lint](https://github.com/stjude-rust-labs/fq) on all input FASTQ files, both at the start of preprocessing and after each preprocessing step that manipulates FASTQ files. If errors are found, and error will be reported and the workflow will stop.
33+
34+
The `extra_fqlint_args` parameter can be manipulated to disable [any validator](https://github.com/stjude-rust-labs/fq?tab=readme-ov-file#validators) from `fq` you wish. For example, we have found that checks on the names of paired reads are prone to failure, so that check is disabled by default (setting `extra_fqlint_args` to `--disable-validator P001`).
35+
3036
### Strandedness Prediction
3137

3238
If you set the strandedness value to `auto`, the pipeline will sub-sample the input FastQ files to 1 million reads, use Salmon Quant to automatically infer the strandedness, and then propagate this information through the rest of the pipeline. This behavior is controlled by the `--stranded_threshold` and `--unstranded_threshold` parameters, which are set to 0.8 and 0.1 by default, respectively. This means:

modules.json

Lines changed: 28 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,11 @@
5757
"git_sha": "666652151335353eef2fcd58880bcef5bc2928e1",
5858
"installed_by": ["fastq_fastqc_umitools_fastp", "fastq_fastqc_umitools_trimgalore"]
5959
},
60+
"fq/lint": {
61+
"branch": "master",
62+
"git_sha": "2c0260ed80daeca9c6dfa477a4daf04ff336dc37",
63+
"installed_by": ["fastq_qc_trim_filter_setstrandedness", "modules"]
64+
},
6065
"fq/subsample": {
6166
"branch": "master",
6267
"git_sha": "a1abf90966a2a4016d3c3e41e228bfcbd4811ccc",
@@ -198,6 +203,7 @@
198203
"branch": "master",
199204
"git_sha": "b13f07be4c508d6ff6312d354d09f2493243e208",
200205
"installed_by": [
206+
"bam_dedup_stats_samtools_umicollapse",
201207
"bam_dedup_stats_samtools_umitools",
202208
"bam_markduplicates_picard",
203209
"bam_sort_stats_samtools"
@@ -206,7 +212,7 @@
206212
"samtools/sort": {
207213
"branch": "master",
208214
"git_sha": "b7800db9b069ed505db3f9d91b8c72faea9be17b",
209-
"installed_by": ["bam_sort_stats_samtools"]
215+
"installed_by": ["bam_dedup_umi", "bam_sort_stats_samtools"]
210216
},
211217
"samtools/stats": {
212218
"branch": "master",
@@ -266,9 +272,14 @@
266272
"git_sha": "49f4e50534fe4b64101e62ea41d5dc43b1324358",
267273
"installed_by": ["bedgraph_bedclip_bedgraphtobigwig"]
268274
},
275+
"umicollapse": {
276+
"branch": "master",
277+
"git_sha": "0b27602842d3d79fd0e8db79f4afa764967fc3d1",
278+
"installed_by": ["bam_dedup_stats_samtools_umicollapse"]
279+
},
269280
"umitools/dedup": {
270281
"branch": "master",
271-
"git_sha": "666652151335353eef2fcd58880bcef5bc2928e1",
282+
"git_sha": "0b27602842d3d79fd0e8db79f4afa764967fc3d1",
272283
"installed_by": ["bam_dedup_stats_samtools_umitools"]
273284
},
274285
"umitools/extract": {
@@ -279,7 +290,7 @@
279290
"umitools/prepareforrsem": {
280291
"branch": "master",
281292
"git_sha": "666652151335353eef2fcd58880bcef5bc2928e1",
282-
"installed_by": ["modules"]
293+
"installed_by": ["bam_dedup_umi", "modules"]
283294
},
284295
"untar": {
285296
"branch": "master",
@@ -290,9 +301,19 @@
290301
},
291302
"subworkflows": {
292303
"nf-core": {
304+
"bam_dedup_stats_samtools_umicollapse": {
305+
"branch": "master",
306+
"git_sha": "0b27602842d3d79fd0e8db79f4afa764967fc3d1",
307+
"installed_by": ["bam_dedup_umi", "subworkflows"]
308+
},
293309
"bam_dedup_stats_samtools_umitools": {
294310
"branch": "master",
295-
"git_sha": "763d4b5c05ffda3ac1ac969dc67f7458cfb2eb1d",
311+
"git_sha": "0b27602842d3d79fd0e8db79f4afa764967fc3d1",
312+
"installed_by": ["bam_dedup_umi", "subworkflows"]
313+
},
314+
"bam_dedup_umi": {
315+
"branch": "master",
316+
"git_sha": "b5828f47c17c41ce3a4c70b863c99207e3f6d37c",
296317
"installed_by": ["subworkflows"]
297318
},
298319
"bam_markduplicates_picard": {
@@ -308,12 +329,13 @@
308329
"bam_sort_stats_samtools": {
309330
"branch": "master",
310331
"git_sha": "763d4b5c05ffda3ac1ac969dc67f7458cfb2eb1d",
311-
"installed_by": ["fastq_align_hisat2"]
332+
"installed_by": ["bam_dedup_umi", "fastq_align_hisat2"]
312333
},
313334
"bam_stats_samtools": {
314335
"branch": "master",
315336
"git_sha": "763d4b5c05ffda3ac1ac969dc67f7458cfb2eb1d",
316337
"installed_by": [
338+
"bam_dedup_stats_samtools_umicollapse",
317339
"bam_dedup_stats_samtools_umitools",
318340
"bam_markduplicates_picard",
319341
"bam_sort_stats_samtools"
@@ -341,7 +363,7 @@
341363
},
342364
"fastq_qc_trim_filter_setstrandedness": {
343365
"branch": "master",
344-
"git_sha": "9082d6440bdffbb4f5d9bd9d753361933b3febcb",
366+
"git_sha": "2c0260ed80daeca9c6dfa477a4daf04ff336dc37",
345367
"installed_by": ["subworkflows"]
346368
},
347369
"fastq_subsample_fq_salmon": {

modules/nf-core/fq/lint/environment.yml

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

modules/nf-core/fq/lint/main.nf

Lines changed: 44 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

modules/nf-core/fq/lint/meta.yml

Lines changed: 43 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)