Reference bwa aln implementation for Agave API