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

v2.8.1: diploid input, haploid output #1492

Open
dmjask opened this issue Oct 1, 2024 · 3 comments
Open

v2.8.1: diploid input, haploid output #1492

dmjask opened this issue Oct 1, 2024 · 3 comments

Comments

@dmjask
Copy link

dmjask commented Oct 1, 2024

Hi,
I'm running cactus-pangenome with diploid data as input: two files per individual (14 fasta files), named as described in the docs. For 6 of the 7 individuals the vcf output is diploid, but one individual is entirely haploid. This individual is homozygous, but is not the only homozygous in the data.

And idea or suggestion what may be causing this?

@glennhickey
Copy link
Collaborator

If you are giving only 14 fasta files, one must be the reference for the vcf. that leaves 13 sample columns (6 diploid + 1 haploid). Could this be what's happening, or are you giving 7 diploid + 1 reference genome?

@dmjask
Copy link
Author

dmjask commented Oct 1, 2024

Yes, sorry about the lack of clarity, I'm providing 14 samples and an additional reference for a total of 15 files listed in the seqfile.

@glennhickey
Copy link
Collaborator

Something that would cause this is that missing haplotype not aligning anywhere. If it's not in the graph it will show up as haploid in the VCF. You might want to verify with vg paths that it's in the graph as expected.

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

No branches or pull requests

2 participants