Repository navigation
change condition hypermutated to >500k sage variant - #83
Conversation
|
I'll let Stephen comment on this one. |
|
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? |
|
Ok it make sense. For now, I only tested hypermutated sample. I can have look to flag it in bolt output |
|
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 |
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.