[BAM]Implement: Improved code estructure. Better BAM filtering. Implemented function to process haplotypes scores.