-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix bug #19
Fix bug #19
Conversation
Fix bug issue ding-lab#19
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
HGVSc change does not seem to have any effect... need to further evaluate
If override = True, the ref and alt for genomic variants would be wrongly changed for minus strand transcripts. Because in splitHGVSc, it only replaced the ref and alt without considering the strand. There is no need to replace the ref and alt here. |
For insertion and deletion, the start, stop, ref and alt were transformed in the readVCF: Lines 257 to 265 in b4a13b1
In the getMacClinVarTSV, the variants should be processed in the same way to match. |
Changes include: - Fixed parseMacPathogenicity() to handle variants with multiple submitters that received both benign and pathogenic classifications, but no conflict is reported (i.e. `isPathogenic == 1 and isBenign == 1 and isConflicted == 0`) - Fixed bug reported in pull request #19: var.splitHGVSc, which doesn't consider strand information. When override = True, the ref and alt for genomic variants would be wrongly changed for minus strand transcripts. Changed to override = False - Fixed bug reported in pull request #19: fixed corrdinates in getMacClinVarTSV() to match readVCF().
Issues fixed in release v0.5.3 |
minPathogenicScore could be equal.
var.splitHGVSc
doesn't consider strand information. Whenoverride = True
, the ref and alt for genomic variants would be wrongly changed for minus strand transcripts.