Skip to content

[query/combiner] Fix import_gvcf_interval's default PGT handling #13364

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

Merged
merged 4 commits into from
Aug 3, 2023

Conversation

chrisvittal
Copy link
Collaborator

PGT is a call field by default for import_vcf, the now former import_gvcfs (old combiner start point). Make import_gvcf_interval also treat PGT as a call field.

PGT is a call field by default for import_vcf, the now former
import_gvcfs (old combiner start point). Make import_gvcf_interval
also treat PGT as a call field.
danking
danking previously requested changes Aug 2, 2023
Copy link
Contributor

@danking danking left a comment

Choose a reason for hiding this comment

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

Do we have a GVCF with PGT? Can you test for this?

@chrisvittal chrisvittal linked an issue Aug 2, 2023 that may be closed by this pull request
@chrisvittal chrisvittal dismissed danking’s stale review August 2, 2023 20:43

We do! Added a quick assertion to an extant test.

@chrisvittal chrisvittal requested a review from danking August 2, 2023 20:49
@@ -39,6 +39,11 @@ def test_combiner_works():
out = os.path.join(tmpdir, 'out.vds')
hl.vds.new_combiner(temp_path=tmpdir, output_path=out, gvcf_paths=paths, intervals=parts, reference_genome='GRCh38').run()
comb = hl.vds.read_vds(out)

# see https://github.com/hail-is/hail/issues/13367 for why these assertions are here
assert 'LPGT' in comb.variant_data
Copy link
Contributor

Choose a reason for hiding this comment

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

I think you need variant_data.entry or something

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

🤦 thanks!

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.

Regression in VDS combiner's handling of PGT
3 participants