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

fix deconstruct so empty GTs always have same ploidy as non-empty #4497

Merged
merged 1 commit into from
Jan 17, 2025

Conversation

glennhickey
Copy link
Contributor

Changelog Entry

To be copied to the draft changelog by merger:

  • Fix vg deconstruct bug where GTs from the same sample and chromosome could have inconsistent ploidy.

Description

For HPRC this would arise when deconstructing a single sex chromosome (not whole genome). For X, for example, male samples could get empty GT fields as ., whereas non empty fields would be .|1 etc, and this ploidy inconsistency could upset downstream tools. This is now fixed so that the empty GTs get consistent ploidy (.|.) in this example.

@glennhickey glennhickey merged commit a45d11e into master Jan 17, 2025
2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants