diff --git a/bs_seeker2-call_methylation.py b/bs_seeker2-call_methylation.py index 7a141e7..84816ac 100755 --- a/bs_seeker2-call_methylation.py +++ b/bs_seeker2-call_methylation.py @@ -283,7 +283,8 @@ def context_calling(seq, position): # for pr in col.pileups: # print pr - if pysam.__version__ > "0.8.0" : + #if pysam.__version__ > "0.8.0" : + if [int(i) for i in pysam.__version__.split(".")] > [0, 7, 7] : pr_qpos = pr.query_position else : pr_qpos =pr.qpos