Skip to content

Commit

Permalink
Merge pull request #620 from KuthuruTejaswini/docs/update-fusionrepor…
Browse files Browse the repository at this point in the history
…t-score

docs: update fusionreport score calculation documentation Resolves #555
  • Loading branch information
atrigila authored Feb 26, 2025
2 parents b9d8337 + 214b70b commit 85d171a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Add nf-test to local subworkflow: `STARFUSION_WORKFLOW`. [#597](https://github.com/nf-core/rnafusion/pull/597)
- Add nf-test to local module: `FUSIONINSPECTOR`. [#601](https://github.com/nf-core/rnafusion/pull/601)
- Add nf-test to local subworkflow: `FUSIONREPORT_WORKFLOW`. [#607](https://github.com/nf-core/rnafusion/pull/607)
- Updated documentation for fusion-report score calculation to reflect 80/20 weight distribution between tool detection and database hits [#620](https://github.com/nf-core/rnafusion/pull/620)

### Changed

Expand Down
15 changes: 10 additions & 5 deletions docs/output.md
Original file line number Diff line number Diff line change
Expand Up @@ -264,13 +264,18 @@ The weights for databases are as follows:
- MITELMAN (50)
- FusionGDB2 (0)

The final formula for calculating score is:
The score is calculated using two components:

$$
score = 0.5 * \sum_{tool}^{tools} f(fusion, tool)*w(tool) + 0.5 * \sum_{db}^{dbs} g(fusion, db)*w(db)
$$
1. Tool Detection (80% of total score)

All tools have the same weight.
- Calculated as: (number of tools detecting the fusion) / (number of tools actually used)
- This reflects how many of the active tools found the fusion

2. Database Hits (20% of total score)
- Based on database matches using weights above
- Calculated as: (number of database hits) / (total possible database hits)

Final score = (0.8 × Tool Detection Score) + (0.2 × Database Hits Score)

### Salmon

Expand Down

0 comments on commit 85d171a

Please sign in to comment.