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

[vds/combiner] use get_lgt for PGT handling as well #13829

Merged
merged 2 commits into from Oct 17, 2023

Conversation

chrisvittal
Copy link
Collaborator

resolves #13828

def get_lgt(e, n_alleles, has_non_ref, row):
index = e.GT.unphased_diploid_gt_index()
def get_lgt(gt, n_alleles, has_non_ref, row):
index = gt.unphased_diploid_gt_index()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this function valid on phased GTs? Do we need to unphase it first?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we do thanks for checking

@danking danking merged commit 9817797 into hail-is:main Oct 17, 2023
8 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.

[query] VDS combiner converts PGT to LPGT *but does not actually locally index it*
2 participants