Skip to content

Commit

Permalink
extra comments
Browse files Browse the repository at this point in the history
  • Loading branch information
David Kelley authored Sep 16, 2017
1 parent 597e528 commit 044dded
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/bam_cov.py
Original file line number Diff line number Diff line change
Expand Up @@ -978,9 +978,10 @@ def read_bam(self, bam_file, genome_sorted=False):
align_shift_reverse = self.shift_reverse
else:
if self.shift == 0:
# don't shift anyone
# don't shift
align_shift_forward = 0
else:
# assuming we want the fragment center
if align.is_proper_pair:
# shift proper pairs according to mate
align_shift_forward = abs(align.template_length) // 2
Expand Down

0 comments on commit 044dded

Please sign in to comment.