Skip to content

Commit

Permalink
Update paf2delta.py
Browse files Browse the repository at this point in the history
  • Loading branch information
songtaogui authored Nov 17, 2022
1 parent 2983b65 commit 94f86fc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Call-Asm-Assemblytics/paf2delta.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ def __init__(self, in_r_start, in_r_end, in_q_start, in_q_end, in_cigar, in_stra
self._parse_cigar()

if self.strand == "-":
self.parsed_cigar = self.parsed_cigar[::-1]
# self.parsed_cigar = self.parsed_cigar[::-1]
# note 2022.11.17: this would be a bug since the successor of this script did not have this operation:
# https://github.com/malonge/RagTag/blob/11f670b373fbbd4139df470ac676943665ac0f18/ragtag_paf2delta.py
self.q_start, self.q_end = self.q_end, self.q_start

def _parse_cigar(self):
Expand Down

0 comments on commit 94f86fc

Please sign in to comment.