Skip to content

Commit 1c86d07

Browse files
authored
Merge branch 'dev' into python3
2 parents 35cb3fe + 754d7c6 commit 1c86d07

13 files changed

+29
-24
lines changed

CHANGELOG.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
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-
## v4.0.0 - [date]
6+
## v3.0.1 - [2023-11-29]
77

88
### Added
99

@@ -13,6 +13,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1313

1414
### Fixed
1515

16+
- software-version.yml and in general version track-keeping was incomplete [#451](https://github.com/nf-core/rnafusion/pull/451)
17+
1618
### Removed
1719

1820
## v3.0.0 - [2023-11-27]

assets/multiqc_config.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
report_comment: >
2-
This report has been generated by the <a href="https://github.com/nf-core/rnafusion/releases/tag/dev" target="_blank">nf-core/rnafusion</a>
2+
This report has been generated by the <a href="https://github.com/nf-core/rnafusion/releases/tag/3.0.1" target="_blank">nf-core/rnafusion</a>
33
analysis pipeline. For information about how to interpret these results, please see the
4-
<a href="https://nf-co.re/rnafusion/dev/docs/output" target="_blank">documentation</a>.
4+
<a href="https://nf-co.re/rnafusion/3.0.1/docs/output" target="_blank">documentation</a>.
55
66
report_section_order:
77
nf-core-rnafusion-methods-description:

modules/local/fusioncatcher/detect/main.nf

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ process FUSIONCATCHER {
3939
4040
cat <<-END_VERSIONS > versions.yml
4141
"${task.process}":
42-
fusioncatcher: \$(echo \$(fusioncatcher --version 2>&1)| sed 's/fusioncatcher.py //')
42+
fusioncatcher: \$(echo \$(fusioncatcher.py --version 2>&1)| sed 's/fusioncatcher.py //')
4343
END_VERSIONS
4444
"""
4545

@@ -52,7 +52,7 @@ process FUSIONCATCHER {
5252
touch ${prefix}.fusioncatcher.log
5353
cat <<-END_VERSIONS > versions.yml
5454
"${task.process}":
55-
fusioncatcher: \$(echo \$(fusioncatcher --version 2>&1)| sed 's/fusioncatcher.py //')
55+
fusioncatcher: \$(echo \$(fusioncatcher.py --version 2>&1)| sed 's/fusioncatcher.py //')
5656
END_VERSIONS
5757
"""
5858
}

nextflow.config

+1-1
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ manifest {
290290
description = """Nextflow rnafusion analysis pipeline, part of the nf-core community."""
291291
mainScript = 'main.nf'
292292
nextflowVersion = '!>=23.04.0'
293-
version = '4.0.0dev'
293+
version = '3.0.1'
294294
doi = ''
295295
}
296296

subworkflows/local/arriba_workflow.nf

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,6 @@ workflow ARRIBA_WORKFLOW {
5959
emit:
6060
fusions = ch_arriba_fusions
6161
fusions_fail = ch_arriba_fusion_fail
62-
versions = ch_versions.ifEmpty(null)
62+
versions = ch_versions
6363
}
6464

subworkflows/local/fusioncatcher_workflow.nf

+2-1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ workflow FUSIONCATCHER_WORKFLOW {
1919
params.fusioncatcher_ref
2020
)
2121
ch_fusioncatcher_fusions = FUSIONCATCHER.out.fusions
22+
ch_versions = ch_versions.mix(FUSIONCATCHER.out.versions)
2223
}
2324
}
2425
else {
@@ -28,6 +29,6 @@ workflow FUSIONCATCHER_WORKFLOW {
2829

2930
emit:
3031
fusions = ch_fusioncatcher_fusions
31-
versions = ch_versions.ifEmpty(null)
32+
versions = ch_versions
3233
}
3334

subworkflows/local/fusioninspector_workflow.nf

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,6 @@ workflow FUSIONINSPECTOR_WORKFLOW {
6060

6161
emit:
6262
ch_arriba_visualisation
63-
versions = ch_versions.ifEmpty(null)
63+
versions = ch_versions
6464
}
6565

subworkflows/local/fusionreport_workflow.nf

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ workflow FUSIONREPORT_WORKFLOW {
3434
}
3535

3636
emit:
37-
versions = ch_versions.ifEmpty(null)
37+
versions = ch_versions
3838
fusion_list = ch_fusion_list
3939
fusion_list_filtered = ch_fusion_list_filtered
4040
report = ch_report.ifEmpty(null)

subworkflows/local/qc_workflow.nf

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ workflow QC_WORKFLOW {
3333

3434

3535
emit:
36-
versions = ch_versions.ifEmpty(null)
36+
versions = ch_versions
3737
rnaseq_metrics = ch_rnaseq_metrics
3838
duplicate_metrics = ch_duplicate_metrics
3939
insertsize_metrics = ch_insertsize_metrics

subworkflows/local/starfusion_workflow.nf

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ workflow STARFUSION_WORKFLOW {
6060
star_gene_count = ch_star_gene_count
6161
ch_bam_sorted = ch_align.ifEmpty([[],[]])
6262
ch_bam_sorted_indexed = bam_sorted_indexed.ifEmpty([[],[],[]])
63-
versions = ch_versions.ifEmpty(null)
63+
versions = ch_versions
6464

6565
}
6666

subworkflows/local/stringtie_workflow.nf

+3-1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ workflow STRINGTIE_WORKFLOW {
2020
.transcript_gtf
2121
.map { it -> it[1] }
2222
.set { stringtie_gtf }
23+
ch_versions = ch_versions.mix(STRINGTIE_STRINGTIE.out.versions)
24+
2325

2426
STRINGTIE_MERGE (stringtie_gtf, ch_chrgtf.map { meta, gtf -> [ gtf ]})
2527
ch_versions = ch_versions.mix(STRINGTIE_MERGE.out.versions)
@@ -28,7 +30,7 @@ workflow STRINGTIE_WORKFLOW {
2830

2931
emit:
3032
stringtie_gtf = ch_stringtie_gtf.ifEmpty(null)
31-
versions = ch_versions.ifEmpty(null)
33+
versions = ch_versions
3234

3335
}
3436

subworkflows/local/trim_workflow.nf

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,6 @@ workflow TRIM_WORKFLOW {
3737
ch_fastp_html
3838
ch_fastp_json
3939
ch_fastqc_trimmed
40-
versions = ch_versions.ifEmpty(null)
40+
versions = ch_versions
4141
}
4242

workflows/rnafusion.nf

+10-10
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ workflow RNAFUSION {
149149
.reads
150150
.mix(ch_fastq.single)
151151
.set { ch_cat_fastq }
152-
ch_versions = ch_versions.mix(CAT_FASTQ.out.versions.first().ifEmpty(null))
152+
ch_versions = ch_versions.mix(CAT_FASTQ.out.versions)
153153

154154

155155
//
@@ -158,14 +158,14 @@ workflow RNAFUSION {
158158
FASTQC (
159159
ch_cat_fastq
160160
)
161-
ch_versions = ch_versions.mix(FASTQC.out.versions.first())
161+
ch_versions = ch_versions.mix(FASTQC.out.versions)
162162

163163
TRIM_WORKFLOW (
164164
ch_cat_fastq
165165
)
166166
ch_reads_fusioncatcher = TRIM_WORKFLOW.out.ch_reads_fusioncatcher
167167
ch_reads_all = TRIM_WORKFLOW.out.ch_reads_all
168-
168+
ch_versions = ch_versions.mix(TRIM_WORKFLOW.out.versions)
169169

170170
// Run STAR alignment and Arriba
171171
ARRIBA_WORKFLOW (
@@ -177,7 +177,7 @@ workflow RNAFUSION {
177177
ch_arriba_ref_known_fusions,
178178
ch_arriba_ref_protein_domains
179179
)
180-
ch_versions = ch_versions.mix(ARRIBA_WORKFLOW.out.versions.first().ifEmpty(null))
180+
ch_versions = ch_versions.mix(ARRIBA_WORKFLOW.out.versions)
181181

182182

183183
//Run STAR fusion
@@ -187,22 +187,22 @@ workflow RNAFUSION {
187187
ch_starindex_ref,
188188
ch_fasta
189189
)
190-
ch_versions = ch_versions.mix(STARFUSION_WORKFLOW.out.versions.first().ifEmpty(null))
190+
ch_versions = ch_versions.mix(STARFUSION_WORKFLOW.out.versions)
191191

192192

193193
//Run fusioncatcher
194194
FUSIONCATCHER_WORKFLOW (
195195
ch_reads_fusioncatcher
196196
)
197-
ch_versions = ch_versions.mix(FUSIONCATCHER_WORKFLOW.out.versions.first().ifEmpty(null))
197+
ch_versions = ch_versions.mix(FUSIONCATCHER_WORKFLOW.out.versions)
198198

199199

200200
//Run stringtie
201201
STRINGTIE_WORKFLOW (
202202
STARFUSION_WORKFLOW.out.ch_bam_sorted,
203203
ch_chrgtf
204204
)
205-
ch_versions = ch_versions.mix(STRINGTIE_WORKFLOW.out.versions.first().ifEmpty(null))
205+
ch_versions = ch_versions.mix(STRINGTIE_WORKFLOW.out.versions)
206206

207207

208208
//Run fusion-report
@@ -213,7 +213,7 @@ workflow RNAFUSION {
213213
STARFUSION_WORKFLOW.out.fusions,
214214
FUSIONCATCHER_WORKFLOW.out.fusions
215215
)
216-
ch_versions = ch_versions.mix(FUSIONREPORT_WORKFLOW.out.versions.first().ifEmpty(null))
216+
ch_versions = ch_versions.mix(FUSIONREPORT_WORKFLOW.out.versions)
217217

218218

219219
//Run fusionInpector
@@ -230,7 +230,7 @@ workflow RNAFUSION {
230230
ch_hgnc_ref,
231231
ch_hgnc_date
232232
)
233-
ch_versions = ch_versions.mix(FUSIONINSPECTOR_WORKFLOW.out.versions.first().ifEmpty(null))
233+
ch_versions = ch_versions.mix(FUSIONINSPECTOR_WORKFLOW.out.versions)
234234

235235

236236
//QC
@@ -243,7 +243,7 @@ workflow RNAFUSION {
243243
ch_fai,
244244
ch_rrna_interval
245245
)
246-
ch_versions = ch_versions.mix(QC_WORKFLOW.out.versions.first().ifEmpty(null))
246+
ch_versions = ch_versions.mix(QC_WORKFLOW.out.versions)
247247

248248
CUSTOM_DUMPSOFTWAREVERSIONS (
249249
ch_versions.unique().collectFile(name: 'collated_versions.yml')

0 commit comments

Comments
 (0)