Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

bcftools concensus -H for non-diploid/polyploids? #1892

Closed
peterdfields opened this issue Mar 25, 2023 · 2 comments
Closed

bcftools concensus -H for non-diploid/polyploids? #1892

peterdfields opened this issue Mar 25, 2023 · 2 comments

Comments

@peterdfields
Copy link

peterdfields commented Mar 25, 2023

Hi,

I was just wondering if there is any way to apply bcftools concensus in order to output distinct haplotypes with IUPAC codes for for unphased sites when dealing with non-diploid data? Specifically, when I set -H 3 or -H 4 the approach works fine, but if I try -H 3pIu or -H 4pIu I get an error like the following:
Error: Could not parse --haplotype 4pIu, expected numeric argument
Maybe there's a simple fix to allow the same behavior as -H 1pIu or 2pIu?

@pd3 pd3 closed this as completed in e3dda27 Mar 28, 2023
@pd3
Copy link
Member

pd3 commented Mar 28, 2023

This is now supported. Thank you for the issue

@peterdfields
Copy link
Author

@pd3 thank you for the modification!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants