Skip to content

change condition hypermutated to >500k sage variant - #83

Merged
qclayssen merged 2 commits into
mainfrom
hypermutation
Nov 24, 2024
Merged

qclayssen merged 2 commits into
mainfrom
hypermutation

Conversation

@qclayssen

Copy link
Copy Markdown
Contributor

Modifies the condition for determining if a sample is hypermutated.
Previously, hypermutation was inferred based on a difference between sage and annotated counts, was there a particular reason ?
The new condition is more explicit, marking a sample as hypermutated if sage count exceeds 500,000.

@qclayssen qclayssen added the enhancement New feature or request label Nov 11, 2024
@qclayssen qclayssen self-assigned this Nov 11, 2024
@pdiakumis

Copy link
Copy Markdown
Member

I'll let Stephen comment on this one.

@scwatts

scwatts commented Nov 11, 2024

Copy link
Copy Markdown
Member

Thanks for taking a look at this!

Yes, the idea here was to avoid re-evaluating hypermutated sample status with an explicit threshold outside of bolt and instead implicitly detect when the condition had been triggered. This would prevent inconsistent behaviour where the threshold was changed in bolt but not in gpgr or vice versa. Evaluating hypermutated sample status multiple times across codebases is manageable wrt maintenance but does expose us to the above - another solution would be to categorically flag that the sample is hypermutated in the bolt outputs.

Had you been able to test your fix on a hypermutated and typical sample?

@qclayssen

Copy link
Copy Markdown
Contributor Author

Ok it make sense. For now, I only tested hypermutated sample. I can have look to flag it in bolt output

@scwatts

scwatts commented Nov 11, 2024

Copy link
Copy Markdown
Member

I think this approach is totally fine, the other solution was to help with framing around the explanation though please go ahead and assess if you are interested in pursuing

@scwatts scwatts left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants