fixing weird signed vs. unsigned issues in bam alignments. check for duplicate reads