Closed nh13 closed 1 month ago
I believe this is the HTSlib implementation's way of ensuring BCF's requirement that PASS be encoded as 0. (See the VCF spec §6.2.1, “Dictionary of strings”.)
That is exactly right. HTSlib makes the implicit PASS filter explicit to prevents problems, so this is working as intended.
Thank-you, this is super helpful, especially the link to §6.2.1!
See title.
This comes from using
pysam
:I would expected the
fileformat
line and that's it in the header.But we always get the following filter line:
My best guess is that it comes from
bcf_hdr_init
The following is a work-around:
Any reason why we always need to add this filter (the ship may have sailed, but curiosity killed the cat)?