Correct errors in BWA index wrapper