Skip to content

Commit 6e1e448

Browse files
authored
Merge pull request #923 from nf-core/dev
Dev -> Master for 3.10.1 release
2 parents adce7ce + a147b4e commit 6e1e448

File tree

11 files changed

+90
-50
lines changed

11 files changed

+90
-50
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@
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.10.1](https://github.com/nf-core/rnaseq/releases/tag/3.10.1)] - 2023-01-05
7+
8+
### Enhancements & fixes
9+
10+
- [[#919](https://github.com/nf-core/rnaseq/issues/919)] - Salmon quant not run after FastQ subsampling if index not provided
11+
- [[#922](https://github.com/nf-core/rnaseq/issues/922)] - Passing TrimGalore `--hardtrim3` / `--hardtrim5` via custom config raises missing output filename error
12+
613
## [[3.10](https://github.com/nf-core/rnaseq/releases/tag/3.10)] - 2022-12-21
714

815
### Enhancements & fixes

main.nf

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,17 @@ nextflow.enable.dsl = 2
1717
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1818
*/
1919

20-
params.fasta = WorkflowMain.getGenomeAttribute(params, 'fasta')
21-
params.gtf = WorkflowMain.getGenomeAttribute(params, 'gtf')
22-
params.gff = WorkflowMain.getGenomeAttribute(params, 'gff')
23-
params.gene_bed = WorkflowMain.getGenomeAttribute(params, 'bed12')
24-
params.bbsplit_index = WorkflowMain.getGenomeAttribute(params, 'bbsplit')
25-
params.star_index = WorkflowMain.getGenomeAttribute(params, 'star')
26-
params.hisat2_index = WorkflowMain.getGenomeAttribute(params, 'hisat2')
27-
params.rsem_index = WorkflowMain.getGenomeAttribute(params, 'rsem')
28-
params.salmon_index = WorkflowMain.getGenomeAttribute(params, 'salmon')
20+
params.fasta = WorkflowMain.getGenomeAttribute(params, 'fasta')
21+
params.transcript_fasta = WorkflowMain.getGenomeAttribute(params, 'transcript_fasta')
22+
params.additional_fasta = WorkflowMain.getGenomeAttribute(params, 'additional_fasta')
23+
params.gtf = WorkflowMain.getGenomeAttribute(params, 'gtf')
24+
params.gff = WorkflowMain.getGenomeAttribute(params, 'gff')
25+
params.gene_bed = WorkflowMain.getGenomeAttribute(params, 'bed12')
26+
params.bbsplit_index = WorkflowMain.getGenomeAttribute(params, 'bbsplit')
27+
params.star_index = WorkflowMain.getGenomeAttribute(params, 'star')
28+
params.hisat2_index = WorkflowMain.getGenomeAttribute(params, 'hisat2')
29+
params.rsem_index = WorkflowMain.getGenomeAttribute(params, 'rsem')
30+
params.salmon_index = WorkflowMain.getGenomeAttribute(params, 'salmon')
2931

3032
/*
3133
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

modules.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@
129129
"salmon/index": {
130130
"branch": "master",
131131
"git_sha": "94b06f1683ddf893cf06525f6e7f0573ad8fbf83",
132-
"installed_by": ["modules"]
132+
"installed_by": ["fastq_subsample_fq_salmon"]
133133
},
134134
"salmon/quant": {
135135
"branch": "master",
@@ -192,7 +192,7 @@
192192
},
193193
"trimgalore": {
194194
"branch": "master",
195-
"git_sha": "c8e35eb2055c099720a75538d1b8adb3fb5a464c",
195+
"git_sha": "72ffbd7128015a1d4b65b95ff8d37be8fee2f981",
196196
"installed_by": ["fastq_fastqc_umitools_trimgalore"]
197197
},
198198
"ucsc/bedclip": {
@@ -265,12 +265,12 @@
265265
},
266266
"fastq_fastqc_umitools_trimgalore": {
267267
"branch": "master",
268-
"git_sha": "b51a69e30973c71950225c817ad07a3337d22c40",
268+
"git_sha": "72ffbd7128015a1d4b65b95ff8d37be8fee2f981",
269269
"installed_by": ["subworkflows"]
270270
},
271271
"fastq_subsample_fq_salmon": {
272272
"branch": "master",
273-
"git_sha": "0098bc93f6219c6194f443f0feb089ba83717384",
273+
"git_sha": "82d60046b4519e9dbef4a934371a53fa7666eabc",
274274
"installed_by": ["subworkflows"]
275275
}
276276
}

modules/nf-core/trimgalore/main.nf

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

modules/nf-core/trimgalore/meta.yml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

nextflow.config

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ params {
1414

1515
// References
1616
genome = null
17-
transcript_fasta = null
18-
additional_fasta = null
1917
splicesites = null
2018
gtf_extra_attributes = 'gene_name'
2119
gtf_group_features = 'gene_id'
@@ -256,7 +254,7 @@ manifest {
256254
description = """RNA sequencing analysis pipeline for gene/isoform quantification and extensive quality control."""
257255
mainScript = 'main.nf'
258256
nextflowVersion = '!>=22.10.1'
259-
version = '3.10'
257+
version = '3.10.1'
260258
doi = 'https://doi.org/10.5281/zenodo.1400710'
261259
}
262260

subworkflows/local/prepare_genome.nf

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -230,15 +230,15 @@ workflow PREPARE_GENOME {
230230
// Uncompress Salmon index or generate from scratch if required
231231
//
232232
ch_salmon_index = Channel.empty()
233-
if ('salmon' in prepare_tool_indices) {
234-
if (params.salmon_index) {
235-
if (params.salmon_index.endsWith('.tar.gz')) {
236-
ch_salmon_index = UNTAR_SALMON_INDEX ( [ [:], params.salmon_index ] ).untar.map { it[1] }
237-
ch_versions = ch_versions.mix(UNTAR_SALMON_INDEX.out.versions)
238-
} else {
239-
ch_salmon_index = file(params.salmon_index)
240-
}
233+
if (params.salmon_index) {
234+
if (params.salmon_index.endsWith('.tar.gz')) {
235+
ch_salmon_index = UNTAR_SALMON_INDEX ( [ [:], params.salmon_index ] ).untar.map { it[1] }
236+
ch_versions = ch_versions.mix(UNTAR_SALMON_INDEX.out.versions)
241237
} else {
238+
ch_salmon_index = file(params.salmon_index)
239+
}
240+
} else {
241+
if ('salmon' in prepare_tool_indices) {
242242
ch_salmon_index = SALMON_INDEX ( ch_fasta, ch_transcript_fasta ).index
243243
ch_versions = ch_versions.mix(SALMON_INDEX.out.versions)
244244
}

subworkflows/nf-core/fastq_fastqc_umitools_trimgalore/main.nf

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

subworkflows/nf-core/fastq_subsample_fq_salmon/main.nf

Lines changed: 14 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

subworkflows/nf-core/fastq_subsample_fq_salmon/meta.yml

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

0 commit comments

Comments
 (0)