Script to calculate score for repeats using coverage