Verification and validation of bioinformatics software without a gold standard: A case study of BWA and Bowtie (#51)
Background: Bioinformatics software quality assurance is essential in genomic medicine. Systematic verification and validation of bioinformatics is difficult because it is often not possible to obtain a realistic “gold standard” for systematic evaluation. Here we apply a technique that originates from the software testing literature, namely Metamorphic Testing (MT), to systematically test three widely used short read sequence alignment programs.
Results: MT alleviates the problems associated with the lack of gold standard by checking that the results from multiple executions of a program satisfy a set of expected or desirable properties that can be derived from the software specification or user expectations. We tested BWA, Bowtie and Bowtie2 using simulated data and one HapMap dataset. It is interesting to observe that multiple execution of the same aligner using slightly modified input FASTQ sequence file, such as randomly re-ordering of the reads, may affect alignment results. Furthermore, we found that the list of variant calls can be affected unless strict quality control is applied during variant calling.
Conclusion: Thorough testing of bioinformatics software is important in delivering clinical genomic medicine. This paper demonstrates a different framework to test a program that involve checking its properties, thus greatly expanding the number and repertoire of test cases we can apply in practice.