smoove icon indicating copy to clipboard operation
smoove copied to clipboard

Outdated version of bcftools in dockerfile: "Unsorted positions", position 0 vs. 4294967296

Open bartgrantham opened this issue 3 months ago • 0 comments

Version 1.11 of bcftools in the brentp/smoove:bdf809472b6a docker image doesn't support 0 coordinates in bcf properly. It produces the 0 coordinate in the bcf correctly during bcftools annotate, but bcftools view then emits 4294967296 (ie. max uint32) when writing out the final vcf. This then snags on gsort, which gives an "Unsorted positions" error.

This bug of bcftools is documented here:

  • https://github.com/samtools/bcftools/issues/1753
  • https://github.com/samtools/htslib/issues/1475

And is resolved by https://github.com/samtools/htslib/pull/1476.

bartgrantham avatar Mar 12 '24 17:03 bartgrantham