Skip to content

Commit

Permalink
Merge branch 'dev' into remove-unused-params-in-email-template
Browse files Browse the repository at this point in the history
  • Loading branch information
pinin4fjords authored Dec 17, 2024
2 parents c4fb145 + 4749877 commit 08d8a2a
Show file tree
Hide file tree
Showing 60 changed files with 5,346 additions and 360 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,11 @@ jobs:
- name: Check out pipeline code
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4

- uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4
with:
distribution: "temurin"
java-version: "17"

- name: Set up Nextflow
uses: nf-core/setup-nextflow@v2
with:
Expand Down
89 changes: 59 additions & 30 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,35 @@
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

# 3.18.0dev - xxxx-xx-xx

### Credits

Special thanks to the following for their contributions to the release:

- [Caitlin Winkler](https://github.com/oligomyeggo)
- [Siddhartha Bagaria](https://github.com/siddharthab)

### Enhancements & fixes

- [PR #1369](https://github.com/nf-core/rnaseq/pull/1369) - Add umicollapse as an alternative to umi-tools
- [PR #1461](https://github.com/nf-core/rnaseq/pull/1461) - Add FASTQ linting during preprocessing
- [PR #1463](https://github.com/nf-core/rnaseq/pull/1463) - Move channel operations outside of the onComplete() block
- [PR #1467](https://github.com/nf-core/rnaseq/pull/1467) - Add test suite for UMI handling functionality
- [PR #1466](https://github.com/nf-core/rnaseq/pull/1466) - Factor out UMI handling

### Software dependencies

| Dependency | Old version | New version |
| ------------- | ----------- | ----------- |
| `UMICollapse` | | 1.1.0 |

> **NB:** Dependency has been **updated** if both old and new version information is present.
>
> **NB:** Dependency has been **added** if just the new version information is present.
>
> **NB:** Dependency has been **removed** if new version information isn't present.
## [[3.17.0](https://github.com/nf-core/rnaseq/releases/tag/3.17.0)] - 2024-10-23

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

### Parameters

| Old parameter | New parameter |
| --------------------------- | -------------------------------------- |
| `--fc_extra_attributes` | `--gtf_extra_attributes` |
|  `--fc_group_features` |  `--gtf_group_features` |
|  `--fc_count_type` |  `--gtf_count_type` |
|  `--fc_group_features_type` |  `--gtf_group_features_type` |
|   |  `--singularity_pull_docker_container` |
|  `--skip_featurecounts` |   |
| Old parameter | New parameter |
| -------------------------- | ------------------------------------- |
| `--fc_extra_attributes` | `--gtf_extra_attributes` |
| `--fc_group_features` | `--gtf_group_features` |
| `--fc_count_type` | `--gtf_count_type` |
| `--fc_group_features_type` | `--gtf_group_features_type` |
| | `--singularity_pull_docker_container` |
| `--skip_featurecounts` | |

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

#### Updated

| Old parameter | New parameter |
| ----------------------------- | --------------------------- |
| `--reads` | `--input` |
|  `--igenomesIgnore` |  `--igenomes_ignore` |
|  `--removeRiboRNA` |  `--remove_ribo_rna` |
|  `--rRNA_database_manifest` |  `--ribo_database_manifest` |
|  `--save_nonrRNA_reads` |  `--save_non_ribo_reads` |
|  `--saveAlignedIntermediates` |  `--save_align_intermeds` |
|  `--saveReference` |  `--save_reference` |
|  `--saveTrimmed` |  `--save_trimmed` |
|  `--saveUnaligned` |  `--save_unaligned` |
|  `--skipAlignment` |  `--skip_alignment` |
|  `--skipBiotypeQC` |  `--skip_biotype_qc` |
|  `--skipDupRadar` |  `--skip_dupradar` |
|  `--skipFastQC` |  `--skip_fastqc` |
|  `--skipMultiQC` |  `--skip_multiqc` |
|  `--skipPreseq` |  `--skip_preseq` |
|  `--skipQC` |  `--skip_qc` |
|  `--skipQualimap` |  `--skip_qualimap` |
|  `--skipRseQC` |  `--skip_rseqc` |
|  `--skipTrimming` |  `--skip_trimming` |
|  `--stringTieIgnoreGTF` |  `--stringtie_ignore_gtf` |
| Old parameter | New parameter |
| ---------------------------- | -------------------------- |
| `--reads` | `--input` |
| `--igenomesIgnore` | `--igenomes_ignore` |
| `--removeRiboRNA` | `--remove_ribo_rna` |
| `--rRNA_database_manifest` | `--ribo_database_manifest` |
| `--save_nonrRNA_reads` | `--save_non_ribo_reads` |
| `--saveAlignedIntermediates` | `--save_align_intermeds` |
| `--saveReference` | `--save_reference` |
| `--saveTrimmed` | `--save_trimmed` |
| `--saveUnaligned` | `--save_unaligned` |
| `--skipAlignment` | `--skip_alignment` |
| `--skipBiotypeQC` | `--skip_biotype_qc` |
| `--skipDupRadar` | `--skip_dupradar` |
| `--skipFastQC` | `--skip_fastqc` |
| `--skipMultiQC` | `--skip_multiqc` |
| `--skipPreseq` | `--skip_preseq` |
| `--skipQC` | `--skip_qc` |
| `--skipQualimap` | `--skip_qualimap` |
| `--skipRseQC` | `--skip_rseqc` |
| `--skipTrimming` | `--skip_trimming` |
| `--stringTieIgnoreGTF` | `--stringtie_ignore_gtf` |

#### Added

Expand Down
15 changes: 15 additions & 0 deletions docs/output.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ The pipeline is built using [Nextflow](https://www.nextflow.io/) and processes d
- [Pipeline overview](#pipeline-overview)
- [Preprocessing](#preprocessing)
- [cat](#cat)
[fq lint](#fq-lint)
- [FastQC](#fastqc)
- [UMI-tools extract](#umi-tools-extract)
- [TrimGalore](#trimgalore)
Expand Down Expand Up @@ -73,6 +74,20 @@ The pipeline is built using [Nextflow](https://www.nextflow.io/) and processes d

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.

# fq lint

<details markdown="1">
<summary>Output files</summary>

- `fq_lint/*`
- `*.fq_lint.txt`: Linting report per library from `fq lint`.

> **NB:** You will see subdirectories here based on the stage of preprocessing for the files that have been linted, for example `raw`, `trimmed`.
</details>

[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.

### FastQC

<details markdown="1">
Expand Down
6 changes: 6 additions & 0 deletions docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ CONTROL_REP1,AEG588A1_S1_L003_R1_001.fastq.gz,AEG588A1_S1_L003_R2_001.fastq.gz,a
CONTROL_REP1,AEG588A1_S1_L004_R1_001.fastq.gz,AEG588A1_S1_L004_R2_001.fastq.gz,auto
```

### Linting

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.

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`).

### Strandedness Prediction

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:
Expand Down
34 changes: 28 additions & 6 deletions modules.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@
"git_sha": "666652151335353eef2fcd58880bcef5bc2928e1",
"installed_by": ["fastq_fastqc_umitools_fastp", "fastq_fastqc_umitools_trimgalore"]
},
"fq/lint": {
"branch": "master",
"git_sha": "2c0260ed80daeca9c6dfa477a4daf04ff336dc37",
"installed_by": ["fastq_qc_trim_filter_setstrandedness", "modules"]
},
"fq/subsample": {
"branch": "master",
"git_sha": "a1abf90966a2a4016d3c3e41e228bfcbd4811ccc",
Expand Down Expand Up @@ -198,6 +203,7 @@
"branch": "master",
"git_sha": "b13f07be4c508d6ff6312d354d09f2493243e208",
"installed_by": [
"bam_dedup_stats_samtools_umicollapse",
"bam_dedup_stats_samtools_umitools",
"bam_markduplicates_picard",
"bam_sort_stats_samtools"
Expand All @@ -206,7 +212,7 @@
"samtools/sort": {
"branch": "master",
"git_sha": "b7800db9b069ed505db3f9d91b8c72faea9be17b",
"installed_by": ["bam_sort_stats_samtools"]
"installed_by": ["bam_dedup_umi", "bam_sort_stats_samtools"]
},
"samtools/stats": {
"branch": "master",
Expand Down Expand Up @@ -266,9 +272,14 @@
"git_sha": "49f4e50534fe4b64101e62ea41d5dc43b1324358",
"installed_by": ["bedgraph_bedclip_bedgraphtobigwig"]
},
"umicollapse": {
"branch": "master",
"git_sha": "0b27602842d3d79fd0e8db79f4afa764967fc3d1",
"installed_by": ["bam_dedup_stats_samtools_umicollapse"]
},
"umitools/dedup": {
"branch": "master",
"git_sha": "666652151335353eef2fcd58880bcef5bc2928e1",
"git_sha": "0b27602842d3d79fd0e8db79f4afa764967fc3d1",
"installed_by": ["bam_dedup_stats_samtools_umitools"]
},
"umitools/extract": {
Expand All @@ -279,7 +290,7 @@
"umitools/prepareforrsem": {
"branch": "master",
"git_sha": "666652151335353eef2fcd58880bcef5bc2928e1",
"installed_by": ["modules"]
"installed_by": ["bam_dedup_umi", "modules"]
},
"untar": {
"branch": "master",
Expand All @@ -290,9 +301,19 @@
},
"subworkflows": {
"nf-core": {
"bam_dedup_stats_samtools_umicollapse": {
"branch": "master",
"git_sha": "0b27602842d3d79fd0e8db79f4afa764967fc3d1",
"installed_by": ["bam_dedup_umi", "subworkflows"]
},
"bam_dedup_stats_samtools_umitools": {
"branch": "master",
"git_sha": "763d4b5c05ffda3ac1ac969dc67f7458cfb2eb1d",
"git_sha": "0b27602842d3d79fd0e8db79f4afa764967fc3d1",
"installed_by": ["bam_dedup_umi", "subworkflows"]
},
"bam_dedup_umi": {
"branch": "master",
"git_sha": "b5828f47c17c41ce3a4c70b863c99207e3f6d37c",
"installed_by": ["subworkflows"]
},
"bam_markduplicates_picard": {
Expand All @@ -308,12 +329,13 @@
"bam_sort_stats_samtools": {
"branch": "master",
"git_sha": "763d4b5c05ffda3ac1ac969dc67f7458cfb2eb1d",
"installed_by": ["fastq_align_hisat2"]
"installed_by": ["bam_dedup_umi", "fastq_align_hisat2"]
},
"bam_stats_samtools": {
"branch": "master",
"git_sha": "763d4b5c05ffda3ac1ac969dc67f7458cfb2eb1d",
"installed_by": [
"bam_dedup_stats_samtools_umicollapse",
"bam_dedup_stats_samtools_umitools",
"bam_markduplicates_picard",
"bam_sort_stats_samtools"
Expand Down Expand Up @@ -341,7 +363,7 @@
},
"fastq_qc_trim_filter_setstrandedness": {
"branch": "master",
"git_sha": "9082d6440bdffbb4f5d9bd9d753361933b3febcb",
"git_sha": "2c0260ed80daeca9c6dfa477a4daf04ff336dc37",
"installed_by": ["subworkflows"]
},
"fastq_subsample_fq_salmon": {
Expand Down
5 changes: 5 additions & 0 deletions modules/nf-core/fq/lint/environment.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

44 changes: 44 additions & 0 deletions modules/nf-core/fq/lint/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

43 changes: 43 additions & 0 deletions modules/nf-core/fq/lint/meta.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 08d8a2a

Please sign in to comment.