Skip to content

Commit

Permalink
Merge pull request #453 from nf-core/dev
Browse files Browse the repository at this point in the history
Release 3.0.1
  • Loading branch information
fevac authored Nov 29, 2023
2 parents f5ecf8d + 0d189d2 commit 98f02be
Show file tree
Hide file tree
Showing 14 changed files with 41 additions and 24 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,20 @@
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).

## v3.0.1 - [2023-11-29]

### Added

### Changed

- python3 explicit in vcf_collect [#452](https://github.com/nf-core/rnafusion/pull/452)

### Fixed

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

### Removed

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

### Added
Expand Down
4 changes: 2 additions & 2 deletions assets/multiqc_config.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
report_comment: >
This report has been generated by the <a href="https://github.com/nf-core/rnafusion/releases/tag/3.0.0" target="_blank">nf-core/rnafusion</a>
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>
analysis pipeline. For information about how to interpret these results, please see the
<a href="https://nf-co.re/rnafusion/3.0.0/docs/output" target="_blank">documentation</a>.
<a href="https://nf-co.re/rnafusion/3.0.1/docs/output" target="_blank">documentation</a>.
report_section_order:
nf-core-rnafusion-methods-description:
Expand Down
2 changes: 1 addition & 1 deletion bin/vcf_collect.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

import argparse
import logging
Expand Down
4 changes: 2 additions & 2 deletions modules/local/fusioncatcher/detect/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ process FUSIONCATCHER {
cat <<-END_VERSIONS > versions.yml
"${task.process}":
fusioncatcher: \$(echo \$(fusioncatcher --version 2>&1)| sed 's/fusioncatcher.py //')
fusioncatcher: \$(echo \$(fusioncatcher.py --version 2>&1)| sed 's/fusioncatcher.py //')
END_VERSIONS
"""

Expand All @@ -52,7 +52,7 @@ process FUSIONCATCHER {
touch ${prefix}.fusioncatcher.log
cat <<-END_VERSIONS > versions.yml
"${task.process}":
fusioncatcher: \$(echo \$(fusioncatcher --version 2>&1)| sed 's/fusioncatcher.py //')
fusioncatcher: \$(echo \$(fusioncatcher.py --version 2>&1)| sed 's/fusioncatcher.py //')
END_VERSIONS
"""
}
2 changes: 1 addition & 1 deletion nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ manifest {
description = """Nextflow rnafusion analysis pipeline, part of the nf-core community."""
mainScript = 'main.nf'
nextflowVersion = '!>=23.04.0'
version = '3.0.0'
version = '3.0.1'
doi = ''
}

Expand Down
2 changes: 1 addition & 1 deletion subworkflows/local/arriba_workflow.nf
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,6 @@ workflow ARRIBA_WORKFLOW {
emit:
fusions = ch_arriba_fusions
fusions_fail = ch_arriba_fusion_fail
versions = ch_versions.ifEmpty(null)
versions = ch_versions
}

3 changes: 2 additions & 1 deletion subworkflows/local/fusioncatcher_workflow.nf
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ workflow FUSIONCATCHER_WORKFLOW {
params.fusioncatcher_ref
)
ch_fusioncatcher_fusions = FUSIONCATCHER.out.fusions
ch_versions = ch_versions.mix(FUSIONCATCHER.out.versions)
}
}
else {
Expand All @@ -28,6 +29,6 @@ workflow FUSIONCATCHER_WORKFLOW {

emit:
fusions = ch_fusioncatcher_fusions
versions = ch_versions.ifEmpty(null)
versions = ch_versions
}

2 changes: 1 addition & 1 deletion subworkflows/local/fusioninspector_workflow.nf
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,6 @@ workflow FUSIONINSPECTOR_WORKFLOW {

emit:
ch_arriba_visualisation
versions = ch_versions.ifEmpty(null)
versions = ch_versions
}

2 changes: 1 addition & 1 deletion subworkflows/local/fusionreport_workflow.nf
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ workflow FUSIONREPORT_WORKFLOW {
}

emit:
versions = ch_versions.ifEmpty(null)
versions = ch_versions
fusion_list = ch_fusion_list
fusion_list_filtered = ch_fusion_list_filtered
report = ch_report.ifEmpty(null)
Expand Down
2 changes: 1 addition & 1 deletion subworkflows/local/qc_workflow.nf
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ workflow QC_WORKFLOW {


emit:
versions = ch_versions.ifEmpty(null)
versions = ch_versions
rnaseq_metrics = ch_rnaseq_metrics
duplicate_metrics = ch_duplicate_metrics
insertsize_metrics = ch_insertsize_metrics
Expand Down
2 changes: 1 addition & 1 deletion subworkflows/local/starfusion_workflow.nf
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ workflow STARFUSION_WORKFLOW {
star_gene_count = ch_star_gene_count
ch_bam_sorted = ch_align.ifEmpty([[],[]])
ch_bam_sorted_indexed = bam_sorted_indexed.ifEmpty([[],[],[]])
versions = ch_versions.ifEmpty(null)
versions = ch_versions

}

4 changes: 3 additions & 1 deletion subworkflows/local/stringtie_workflow.nf
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ workflow STRINGTIE_WORKFLOW {
.transcript_gtf
.map { it -> it[1] }
.set { stringtie_gtf }
ch_versions = ch_versions.mix(STRINGTIE_STRINGTIE.out.versions)


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

emit:
stringtie_gtf = ch_stringtie_gtf.ifEmpty(null)
versions = ch_versions.ifEmpty(null)
versions = ch_versions

}

2 changes: 1 addition & 1 deletion subworkflows/local/trim_workflow.nf
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ workflow TRIM_WORKFLOW {
ch_fastp_html
ch_fastp_json
ch_fastqc_trimmed
versions = ch_versions.ifEmpty(null)
versions = ch_versions
}

20 changes: 10 additions & 10 deletions workflows/rnafusion.nf
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ workflow RNAFUSION {
.reads
.mix(ch_fastq.single)
.set { ch_cat_fastq }
ch_versions = ch_versions.mix(CAT_FASTQ.out.versions.first().ifEmpty(null))
ch_versions = ch_versions.mix(CAT_FASTQ.out.versions)


//
Expand All @@ -158,14 +158,14 @@ workflow RNAFUSION {
FASTQC (
ch_cat_fastq
)
ch_versions = ch_versions.mix(FASTQC.out.versions.first())
ch_versions = ch_versions.mix(FASTQC.out.versions)

TRIM_WORKFLOW (
ch_cat_fastq
)
ch_reads_fusioncatcher = TRIM_WORKFLOW.out.ch_reads_fusioncatcher
ch_reads_all = TRIM_WORKFLOW.out.ch_reads_all

ch_versions = ch_versions.mix(TRIM_WORKFLOW.out.versions)

// Run STAR alignment and Arriba
ARRIBA_WORKFLOW (
Expand All @@ -177,7 +177,7 @@ workflow RNAFUSION {
ch_arriba_ref_known_fusions,
ch_arriba_ref_protein_domains
)
ch_versions = ch_versions.mix(ARRIBA_WORKFLOW.out.versions.first().ifEmpty(null))
ch_versions = ch_versions.mix(ARRIBA_WORKFLOW.out.versions)


//Run STAR fusion
Expand All @@ -187,22 +187,22 @@ workflow RNAFUSION {
ch_starindex_ref,
ch_fasta
)
ch_versions = ch_versions.mix(STARFUSION_WORKFLOW.out.versions.first().ifEmpty(null))
ch_versions = ch_versions.mix(STARFUSION_WORKFLOW.out.versions)


//Run fusioncatcher
FUSIONCATCHER_WORKFLOW (
ch_reads_fusioncatcher
)
ch_versions = ch_versions.mix(FUSIONCATCHER_WORKFLOW.out.versions.first().ifEmpty(null))
ch_versions = ch_versions.mix(FUSIONCATCHER_WORKFLOW.out.versions)


//Run stringtie
STRINGTIE_WORKFLOW (
STARFUSION_WORKFLOW.out.ch_bam_sorted,
ch_chrgtf
)
ch_versions = ch_versions.mix(STRINGTIE_WORKFLOW.out.versions.first().ifEmpty(null))
ch_versions = ch_versions.mix(STRINGTIE_WORKFLOW.out.versions)


//Run fusion-report
Expand All @@ -213,7 +213,7 @@ workflow RNAFUSION {
STARFUSION_WORKFLOW.out.fusions,
FUSIONCATCHER_WORKFLOW.out.fusions
)
ch_versions = ch_versions.mix(FUSIONREPORT_WORKFLOW.out.versions.first().ifEmpty(null))
ch_versions = ch_versions.mix(FUSIONREPORT_WORKFLOW.out.versions)


//Run fusionInpector
Expand All @@ -230,7 +230,7 @@ workflow RNAFUSION {
ch_hgnc_ref,
ch_hgnc_date
)
ch_versions = ch_versions.mix(FUSIONINSPECTOR_WORKFLOW.out.versions.first().ifEmpty(null))
ch_versions = ch_versions.mix(FUSIONINSPECTOR_WORKFLOW.out.versions)


//QC
Expand All @@ -243,7 +243,7 @@ workflow RNAFUSION {
ch_fai,
ch_rrna_interval
)
ch_versions = ch_versions.mix(QC_WORKFLOW.out.versions.first().ifEmpty(null))
ch_versions = ch_versions.mix(QC_WORKFLOW.out.versions)

CUSTOM_DUMPSOFTWAREVERSIONS (
ch_versions.unique().collectFile(name: 'collated_versions.yml')
Expand Down

0 comments on commit 98f02be

Please sign in to comment.