brentp / smoove

structural variant calling and genotyping with existing tools, but, smoothly.
Apache License 2.0
222 stars 21 forks source link

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

Open bartgrantham opened 3 months ago

bartgrantham commented 3 months ago

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:

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