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

Don't count phase==True toward genotypes #34

Merged
merged 6 commits into from
Jun 21, 2022
Merged

Don't count phase==True toward genotypes #34

merged 6 commits into from
Jun 21, 2022

Conversation

wsdewitt
Copy link
Collaborator

@wsdewitt wsdewitt commented Jun 20, 2022

Addresses the latest incarnation of #30

@wsdewitt wsdewitt requested a review from mrvollger June 20, 2022 23:11
@wsdewitt wsdewitt changed the title Don't count phase=True toward genotypes Don't count phase==True toward genotypes Jun 20, 2022
@@ -231,8 +231,6 @@ def targets(args):
def spectra(args):
"""subroutine for spectra subcommand."""

# NOTE: vcf must be instantiated with gts012=False (the default) due to cyvcf2
# num_unknown property bug https://github.com/brentp/cyvcf2/issues/236
Copy link
Contributor

Choose a reason for hiding this comment

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

I would vote for leaving this or setting the minimum version of cyvcf2 to be a version that includes the fix. but you can ignore if you disagree.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Good call—I've added cyvcf2 version enforcement to setup.py

Copy link
Contributor

@mrvollger mrvollger left a comment

Choose a reason for hiding this comment

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

Looks good to me, I made a comment about a comment but that is up to you.

@wsdewitt wsdewitt merged commit 639fc20 into master Jun 21, 2022
@wsdewitt wsdewitt deleted the 30-phasing branch June 21, 2022 04:21
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