Hi,
When I do samtools faidx file.fa.gz and then try to use the same file.fa.gz file for pyfaidx, I get an error saying that file.fa.gz is not a valid BGZF file. But when I delete the file.fa.gz.fai and then use pyfaidx, the error disappears. I believe this is because the .fai pyfaidx creates is different from .fai samtools creates.
If this behavior is real, Is it possible to unify the .fai of pyfaidx and samtools? Thoughts?
Kind regards,
Kwat