2 ms·
I helped build a cloud product that parsed BAM and VCF files (Google Cloud Genomics). When we first started I looked around for various open source BAM parsers
by dekhn 5y ago
I helped build a cloud product that parsed BAM and VCF files (Google Cloud Genomics). When we first started I looked around for various open source BAM parsers so we didn't have to write our own. I showed the parsers to my engineer, who came back a day later with 10 files that caused the parsers to crash (common problem: if you put a negative length in a field that's supposed to be positive, it will reverse index into a string).
We contacted all the BAM parser developers (academic) and they all said they had no interest in identifying and fixing bugs in their parsers. We wrote an industrial strength BAM parser in Go.
I think a year or two later one of the major sequencing centers got hozed by a malicious BAM file and that was when all the open source BAM developers got security religion.