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

Handling of missing data with lcWGS #7

Open
K-ayers opened this issue Sep 18, 2023 · 1 comment
Open

Handling of missing data with lcWGS #7

K-ayers opened this issue Sep 18, 2023 · 1 comment

Comments

@K-ayers
Copy link

K-ayers commented Sep 18, 2023

Hi! I am using lcWGS and some of my sites have zero read depth and thus the GL is not computed during calling. I am unsure how to handle these sites when converting to Beagle format. How is NGSremix expecting missing data as input? Because I am doing pairwise comparisons of samples, do I need to filter out the union of these sites for each pair (and thus filter the reference input frequencies as well), or can the GLs be input as 'missing' in some way, eg 0,0,0 or something similar? Thanks for any help.

@GenisGE
Copy link
Collaborator

GenisGE commented Feb 22, 2024

Hi, sorry for the late reply. The way to code missing data in beagle GL format is to give the same genotype likelihood to each genotype, i.e.e code it as 0.333333,0.333333,0.333333 (in the normalized version).

Genis

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

2 participants