When opening a BAM file that lists reference sequences in the binary header’s reference dictionary but omits…
When opening a BAM file that lists reference sequences in the binary header’s reference dictionary but omits…: a task in LegoFlow-SWE (Harbor dataset). The bug manifests as: after reading such a file, the references are either lost entirely or cause errors when the header is subsequently used for…
The task
The bug manifests as: after reading such a file, the references are either lost entirely or cause errors when the header is subsequently used for reading or writing. For example, a BAM file containing five chromosomes (`CHROMOSOME_I` through `CHROMOSOME_V`) with lengths 1009800, 5000, 5000, 5000, 5000 in the binary…
Part of Lego-X/LegoFlow-SWE.