Open mvvugt opened 11 months ago
Hi,
As the problems seems to arise while reading genotype data, ([E::bgzf_read_block] Invalid BGZF header at offset 706792049
) you might want to check that both files:
-input chr22.exome_array.full.sorted.bcf --scaffold chr22.exome_array.shapeit5.common_0.001.bcf
are not corrupted.
My first guess is that actually phase_common failed or somehow generated a bcf file that is not well formatted somehow. Let me know if that is the case
Simone
Dear Simone,
Thanks for the response!
I tested the input files by performing bcftools stats
on them, and this worked as expected. Also, only a minority of the chunks fail with this error, so there are also chunks with the same input that do successfully complete the rare phasing.
I would therefore suggest the files are not corrupt, would you agree? Do you have any other idea? Thanks! Marion
Dear @srubinacci,
Thanks again for your response and great work. I was just wondering if you had any suggestions or updates on this issue?
Thanks in advance! Kind regards, Marion
Hi,
I'm trying to phase rare variants, which goes well for the greatest part. I used the files and instructions you provided in the documentation and GitHub. As mentioned, the majority works very well but some rare phasing chunks fail, as I show in this example below. Do you have any idea why this might be?
The commands for common and rare phasing I use are as follows:
Thanks in advance!