Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test setup nextflow #1462

Closed
wants to merge 61 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
fc13650
Add umicollapse as an alternative to umi-tools
siddharthab Sep 3, 2024
761c56d
Keep umitools as the default
siddharthab Sep 4, 2024
314bd76
add DE_analys folder
LorenzoS96 Oct 29, 2024
72e6e2e
prettier check
LorenzoS96 Oct 29, 2024
acd8f65
Merge branch 'dev' into umicollapse
siddharthab Oct 29, 2024
e86e9a6
update umicollapse to 1.1.0
siddharthab Oct 29, 2024
28b10ac
update CHANGELOG
siddharthab Oct 29, 2024
6d0ebe5
change name DE folder
LorenzoS96 Oct 30, 2024
73fb0e7
modify md files
LorenzoS96 Oct 31, 2024
e8d8061
prettier check
LorenzoS96 Oct 31, 2024
e5d9d4b
actually update umicollapse
siddharthab Nov 5, 2024
05513ee
Apply suggestions from code review
siddharthab Nov 6, 2024
aa35d37
Update docs/usage/DEanalysis/index.md
LorenzoS96 Nov 7, 2024
b1ec267
Update docs/usage/DEanalysis/interpretation.md
LorenzoS96 Nov 7, 2024
659c86b
Update docs/usage/DEanalysis/rnaseq.md
LorenzoS96 Nov 7, 2024
f2b34d0
Update docs/usage/DEanalysis/rnaseq.md
LorenzoS96 Nov 7, 2024
c8c7ef8
Update docs/usage/DEanalysis/rnaseq.md
LorenzoS96 Nov 7, 2024
ae16c2c
update index.md
LorenzoS96 Nov 7, 2024
000e228
update images
LorenzoS96 Nov 7, 2024
dfa8a04
update interpretation
LorenzoS96 Nov 7, 2024
aa55fe5
update rnaseq
LorenzoS96 Nov 7, 2024
f7e3c97
update theory
LorenzoS96 Nov 7, 2024
dbc5260
update de_rstudio
LorenzoS96 Nov 7, 2024
08efda6
correct formula in theory
LorenzoS96 Nov 7, 2024
6be4d82
prettier check
LorenzoS96 Nov 7, 2024
da5f135
Merge pull request #1447 from LorenzoS96/dev
LorenzoS96 Nov 8, 2024
ee2dde2
Merge branch 'dev' into umicollapse
pinin4fjords Nov 12, 2024
b372821
[automated] Fix code linting
nf-core-bot Nov 12, 2024
88d6411
Update tests for UMICollapse module.
MatthiasZepper Nov 29, 2024
15116a3
Update umi-tools dedup tests at well.
MatthiasZepper Nov 29, 2024
3bbd907
Update tests in subworkflows as well.
MatthiasZepper Nov 29, 2024
2e4e98c
Add linting-enabled preprocessing subworkflow and wire in
pinin4fjords Dec 2, 2024
bacbecb
Update CHANGELOG
pinin4fjords Dec 2, 2024
dd98da7
Add fq/lint
pinin4fjords Dec 2, 2024
de301d2
Add output previxes for linting
pinin4fjords Dec 2, 2024
d5a14a8
Tweaks
pinin4fjords Dec 3, 2024
380f760
Link in new subworkflow config
pinin4fjords Dec 3, 2024
839e21e
Let's skip the name validation by default, it seems to be problematic
pinin4fjords Dec 3, 2024
611e228
Correct config
pinin4fjords Dec 3, 2024
5e1d465
separate linting reports by directory rather than prefix
pinin4fjords Dec 3, 2024
b178bc0
update schema
pinin4fjords Dec 3, 2024
51a7238
Add stub to fq lint
pinin4fjords Dec 3, 2024
25e3f9d
update docs
pinin4fjords Dec 3, 2024
97f241a
update snaps
pinin4fjords Dec 3, 2024
ae42032
exclude lint reports from snapshots
pinin4fjords Dec 3, 2024
83967a7
update module/ subworkflow
pinin4fjords Dec 3, 2024
e69971a
Add CI Java fix
pinin4fjords Dec 3, 2024
6a6e946
Fix java ci issue
pinin4fjords Dec 3, 2024
376296b
Fix subworkflow test
pinin4fjords Dec 3, 2024
2cf53ab
Fix salmon test
pinin4fjords Dec 3, 2024
d8649fb
Merge branch 'swf_rnaseq_prepro_lint' of https://github.com/nf-core/r…
pinin4fjords Dec 3, 2024
7ec665d
fix changelog and versions
pinin4fjords Dec 3, 2024
c0f027a
Update CHANGELOG.md
pinin4fjords Dec 3, 2024
803c424
fix version snap
pinin4fjords Dec 3, 2024
b8b5aa2
Merge branch 'swf_rnaseq_prepro_lint' of https://github.com/nf-core/r…
pinin4fjords Dec 3, 2024
0247f7b
Merge pull request #1461 from nf-core/swf_rnaseq_prepro_lint
pinin4fjords Dec 3, 2024
79d52f6
Merge branch 'dev' into umicollapse
maxulysse Dec 4, 2024
450b5b9
Restore truncated CHANGELOG.md with 3.0 and prior releases.
MatthiasZepper Dec 4, 2024
a2dac87
[automated] Fix code linting
nf-core-bot Dec 4, 2024
2986385
Merge pull request #1369 from siddharthab/umicollapse
MatthiasZepper Dec 4, 2024
1a3da42
Make text-only change to confirm tests are broken
ewels Dec 4, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
2 changes: 1 addition & 1 deletion .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Check out pipeline code
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4

- name: Install Nextflow
- name: Install Nextflow test
uses: nf-core/setup-nextflow@v2

- uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5
Expand Down
86 changes: 56 additions & 30 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,32 @@
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

### 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 +1033,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 +1118,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
Loading
Loading