Skip to content

Commit b7480f7

Browse files
authored
Merge pull request #1124 from nf-core/ensure_notnull_pseudo
Ensure pseudoaligner is set if pseudoalignment is not skipped
2 parents 79443ec + cfd9270 commit b7480f7

File tree

5 files changed

+19
-11
lines changed

5 files changed

+19
-11
lines changed

CHANGELOG.md

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,22 @@
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-
## dev
6+
## [[3.13.2](https://github.com/nf-core/rnaseq/releases/tag/3.13.2)] - 2023-11-21
77

8-
### Enhancements and fixes
8+
### Credits
9+
10+
Special thanks to the following for their contributions to the release:
11+
12+
- [Jonathan Manning](https://github.com/pinin4fjords)
13+
- [Regina Hertfelder Reynolds](https://github.com/RHReynolds)
14+
- [Matthias Zepper](https://github.com/MatthiasZepper)
15+
16+
### Enhancements & fixes
917

10-
- [[PR #1126](https://github.com/nf-core/rnaseq/pull/1126)] [[#1125](https://github.com/nf-core/rnaseq/issues/1125)] - Pipeline fails if transcript_fasta not provided and `skip_gtf_filter = true`.
11-
- [[PR #1127](https://github.com/nf-core/rnaseq/pull/1127)] - Enlarge sampling to determine the number of columns in `filter_gtf.py` script.
18+
- [PR #1123](https://github.com/nf-core/rnaseq/pull/1123) - Overhaul tximport.r, output length tables
19+
- [PR #1124](https://github.com/nf-core/rnaseq/pull/1124) - Ensure pseudoaligner is set if pseudoalignment is not skipped
20+
- [PR #1126](https://github.com/nf-core/rnaseq/pull/1126) - Pipeline fails if transcript_fasta not provided and `skip_gtf_filter = true`.
21+
- [PR #1127](https://github.com/nf-core/rnaseq/pull/1127) - Enlarge sampling to determine the number of columns in `filter_gtf.py` script.
1222

1323
## [[3.13.1](https://github.com/nf-core/rnaseq/releases/tag/3.13.1)] - 2023-11-17
1424

bin/filter_gtf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def tab_delimited(file: str) -> float:
3030
def filter_gtf(fasta: str, gtf_in: str, filtered_gtf_out: str, skip_transcript_id_check: bool) -> None:
3131
"""Filter GTF file based on FASTA sequence names."""
3232
if tab_delimited(gtf_in) != 8:
33-
raise ValueError("Invalid GTF file: Expected nine tab-separated columns.")
33+
raise ValueError("Invalid GTF file: Expected 9 tab-separated columns.")
3434

3535
seq_names_in_genome = extract_fasta_seq_names(fasta)
3636
logger.info(f"Extracted chromosome sequence names from {fasta}")

conf/modules.config

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1087,7 +1087,6 @@ if (!params.skip_multiqc) {
10871087

10881088
if (!params.skip_pseudo_alignment && params.pseudo_aligner == 'salmon') {
10891089
process {
1090-
10911090
withName: '.*:QUANTIFY_PSEUDO_ALIGNMENT:SALMON_QUANT' {
10921091
ext.args = { params.extra_salmon_quant_args ?: '' }
10931092
publishDir = [
@@ -1112,7 +1111,7 @@ if (!params.skip_pseudo_alignment && params.pseudo_aligner == 'kallisto') {
11121111
}
11131112
}
11141113

1115-
if (!params.skip_pseudo_alignment) {
1114+
if (!params.skip_pseudo_alignment && params.pseudo_aligner) {
11161115
process {
11171116
withName: '.*:QUANTIFY_PSEUDO_ALIGNMENT:TX2GENE' {
11181117
publishDir = [

nextflow.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ manifest {
317317
description = """RNA sequencing analysis pipeline for gene/isoform quantification and extensive quality control."""
318318
mainScript = 'main.nf'
319319
nextflowVersion = '!>=23.04.0'
320-
version = '3.13.1'
320+
version = '3.13.2'
321321
doi = 'https://doi.org/10.5281/zenodo.1400710'
322322
}
323323

workflows/rnaseq.nf

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -816,9 +816,8 @@ workflow RNASEQ {
816816
//
817817
ch_pseudo_multiqc = Channel.empty()
818818
ch_pseudoaligner_pca_multiqc = Channel.empty()
819-
ch_pseudoaligner_clustering_multiqc = Channel.empty()
820-
821-
if (!params.skip_pseudo_alignment) {
819+
ch_pseudoaligner_clustering_multiqc = Channel.empty()
820+
if (!params.skip_pseudo_alignment && params.pseudo_aligner) {
822821

823822
if (params.pseudo_aligner == 'salmon') {
824823
ch_pseudo_index = PREPARE_GENOME.out.salmon_index

0 commit comments

Comments
 (0)