corrected p value test. still need to fix parsing of bamfile