I noticed that `NR` is off by the size of a VCF header, as if `NR` was set before header is removed (the header normally doesn't print with `-c vcf` flag). This means if my VCF has header of 10 lines, the first variant is at `NR==11`, which is not expected.
I noticed that
NRis off by the size of a VCF header, as ifNRwas set before header is removed (the header normally doesn't print with-c vcfflag).This means if my VCF has header of 10 lines, the first variant is at
NR==11, which is not expected.