Merged Alexander's pull request and changed variable mapq to alignmentScore, as I cannot compute the real mapq (probability that the alignment at that position is wrong)