Skip to content

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

Merged
danking merged 4 commits into
hail-is:mainfrom
chrisvittal:vds/combiner/PGT-is-a-call-field
Aug 3, 2023
Merged

[query/combiner] Fix import_gvcf_interval's default PGT handling#13364
danking merged 4 commits into
hail-is:mainfrom
chrisvittal:vds/combiner/PGT-is-a-call-field

Conversation

@chrisvittal

Copy link
Copy Markdown
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

@danking danking left a comment

Copy link
Copy Markdown
Contributor

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
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
Copy Markdown
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
Copy Markdown
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