Thank you for this project. I have however reached a barrier I can't seem to cross and need your help.
Error report:
Traceback (most recent call last):
File "/home/l/backup1/software/BSseeker2-2.1.1/bs_seeker2-call_methylation.py", line 289, in
pr_qpos =pr.qpos
AttributeError: 'pysam.libcalignedsegment.PileupRead' object has no attribute 'qpos'
Here is the question, when I read the source code in line 289, It says:
#
for pr in col.pileups:
But the version of my pysam is "0.14.0". why "pr_qpos =pr.qpos"
P.S. When I delete the if-else and retain "pr_qpos = pr.query_position", it seems work.
Thank you for this project. I have however reached a barrier I can't seem to cross and need your help. Error report: Traceback (most recent call last): File "/home/l/backup1/software/BSseeker2-2.1.1/bs_seeker2-call_methylation.py", line 289, in
pr_qpos =pr.qpos
AttributeError: 'pysam.libcalignedsegment.PileupRead' object has no attribute 'qpos'
Here is the question, when I read the source code in line 289, It says: # for pr in col.pileups:
print pr
But the version of my pysam is "0.14.0". why "pr_qpos =pr.qpos" P.S. When I delete the if-else and retain "pr_qpos = pr.query_position", it seems work.