Skip to content
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

SER meaurement - merge multiallelic sites first? #66

Open
JosephLalli opened this issue Oct 24, 2023 · 0 comments
Open

SER meaurement - merge multiallelic sites first? #66

JosephLalli opened this issue Oct 24, 2023 · 0 comments

Comments

@JosephLalli
Copy link

JosephLalli commented Oct 24, 2023

When handling multiallelic sites, the best practice is to split multiallelic sites before phasing.

However, I'm not sure how to handle these sites when measuring switch error rate. The posted tutorial seems to leave multiallelic sites as split biallelic sites when measuring SER performance using shapeit5_switch. Is that what users should do when measuring SER in their data sets?

SER = #switches/#of hets. If a 1|2 heterozygous site is split and then erroneously phased , I'd think that is one switch error rate at one heterozygous site, not two errors (0|1 and 1|0) at two sites (see below for an illustration of what I mean). Thus poor performance at multiallelic sites (esp. sites with many alleles like STRs) would artificially inflate the SER.

chr20 1000 A T,C 1/2
split ->
chr20 1000 A T 0/1
chr20 1000 A C 0/1
phase ->
chr20 1000 A T 0|1
chr20 1000 A C 1|0
merge multiallelics, preserve phasing ->
chr20 1000 A T,C 2|1

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

No branches or pull requests

1 participant