Skip to content

Fix genomic coordinate incorrectly used as array index in quality array update - #162

Merged
joshfactorial merged 1 commit into
ncsa:developfrom
chenyenchung:qual_slice
Oct 2, 2025
Merged

Fix genomic coordinate incorrectly used as array index in quality array update#162
joshfactorial merged 1 commit into
ncsa:developfrom
chenyenchung:qual_slice

Conversation

@chenyenchung

Copy link
Copy Markdown
Contributor

In read_simulator.utils, apply_mutations passed the genomic coordinates instead of the relative location of the mutation in the simulated read to update_quality_array, causing wrong or no quality scores to be updated. This commit corrects it by passing the relative location.

In `read_simulator.utils`, `apply_mutations` passed the genomic
coordinates instead of the relative location of the mutation
in the simulated read to `update_quality_array`, causing wrong
or no quality scores to be updated. This commit corrects it by
passing the relative location.

@joshfactorial joshfactorial left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please change the target to develop. Once we've retested develop, we'll pull changes into main.

@joshfactorial joshfactorial self-assigned this Oct 2, 2025
@joshfactorial
joshfactorial changed the base branch from main to develop October 2, 2025 18:30
@joshfactorial
joshfactorial merged commit aae58d4 into ncsa:develop Oct 2, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants