Skip to content

Commit

Permalink
cleaned up code
Browse files Browse the repository at this point in the history
  • Loading branch information
SooLee committed Feb 15, 2017
1 parent befd9c2 commit 02d73c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pairsqc.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def calculate_contact_probability_per_chr(self, s, bin_size):
self.allpossible_count_per_chr[chrom] = 0
self.prob_per_chr[chrom] = 0
else:
self.prob_per_chr[chrom] = self.count_per_chr[chrom] / self.allpossible_count_per_chr[chrom] / bin_size
self.prob_per_chr[chrom] = self.count_per_chr[chrom] / self.allpossible_count_per_chr[chrom] / bin_size
self.log10prob_per_chr[chrom] = math.log10(self.prob_per_chr[chrom] + self.pseudocount)

def calculate_contact_probability(self, s, bin_size):
Expand Down

0 comments on commit 02d73c6

Please sign in to comment.