Refactored coordinate computation logic; added option to specify minimum number of bases that should differ between trimmed portion of read and the genome sequence at that location