You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This problem is not specific to bcftools sort but to a round trip through BCF via htslib. The format stores 0-based position in hts_pos_t type and 0 coordinate overflows. This needs to be fixed in htslib.
The 0 coordinate is valid in VCF specification, but the round-trip
VCF -> BCF -> VCF turns MT:0 into MT:4294967296. Add a check to
detect this overflow.
See samtools#1475 and samtools/bcftools#1753
The 0 coordinate is valid in VCF specification, but the round-trip
VCF -> BCF -> VCF turns MT:0 into MT:4294967296. Add a check to
detect this overflow.
See samtools#1475 and samtools/bcftools#1753
As stated here: samtools/bcftools#1753. There is an overflow issue when treating a VCF file with zero positions. Here is an example:
Unsorted VCF
Commands
Sorted VCF
Note how the
0
from3110098432:1
has been wrongly changed to4294967296
.As described by @pd3 in samtools/bcftools#1753 (comment):
@daviesrob, could you check this out?
The text was updated successfully, but these errors were encountered: