Skip to content

Commit

Permalink
Revert "fix vcf_collect when a tool is absent"
Browse files Browse the repository at this point in the history
This reverts commit f5a1c41.
  • Loading branch information
rannick committed Dec 20, 2023
1 parent f5a1c41 commit 0ccea2e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 19 deletions.
12 changes: 0 additions & 12 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,6 @@
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.2 - [date]

### Added

### Changed

### Fixed

- fix VCF_COLLECT handling when a tool is absent from FUSIONREPORT report

### Removed

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

### 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/dev" 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/dev/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
5 changes: 1 addition & 4 deletions bin/vcf_collect.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,11 +346,8 @@ def read_build_fusionreport(fusionreport_file: str) -> pd.DataFrame:

def read_fusionreport_csv(file: str) -> pd.DataFrame:
df = pd.read_csv(file)
columns_to_iterate = ["starfusion", "arriba", "fusioncatcher"]
for column in columns_to_iterate:
if column not in df.columns:
df[column] = ""
df[["starfusion", "arriba", "fusioncatcher"]] = df[["starfusion", "arriba", "fusioncatcher"]].astype("str")
columns_to_iterate = ["starfusion", "arriba", "fusioncatcher"]
for index, row in df.iterrows():
for column in columns_to_iterate:
cell_value = row[column]
Expand Down
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.2dev'
version = '3.0.1'
doi = ''
}

Expand Down

0 comments on commit 0ccea2e

Please sign in to comment.