Skip to content

Suggestion for Adjusting Scoring Logic in long_read_assigner.py (extra_left and extra_right) #270

@biosalt-cc

Description

@biosalt-cc

Hi, IsoQuant is an incredible tool that has significantly streamlined long-read transcriptome analysis.

Issue Description:
While using IsoQuant, I noticed a potential improvement in the logic for calculating extra_left and extra_right in src/long_read_assigner.py.

File and Lines:
src/long_read_assigner.py, lines 187–188

Original Code:

extra_left = 1 if read_region[0] + self.params.delta < transcript_start else 0
extra_right = 1 if read_region[0] - self.params.delta > transcript_end else 0

Suggested Update:

extra_left = 0.5 if read_region[0] + self.params.delta < transcript_start else 0
extra_right = 0.5 if read_region[1] - self.params.delta > transcript_end else 0

Please let me know if this suggestion aligns with the intended design.

Metadata

Metadata

Assignees

No one assigned

    Labels

    algorithmIssue requires algorithmic improvementbugSomething isn't workingenhancementNew feature or requestfixed in releaseIssue resolved and the fix is released, waiting for approval

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions