gaoyubang / nanom6A

MIT License
19 stars 11 forks source link

0-based or 1-based in predict_sites.py read2genome2 function? #5

Closed XINYAN2 closed 3 years ago

XINYAN2 commented 3 years ago

Hello, In predict_sites.py script, https://github.com/gaoyubang/nanom6A/blob/main/predict_sites.py#L177 (line 177-182). I think idspos from extract.sort.bam.tsv.gz column 4 should be 0-based. However, when converting idspos on negative strand to positive strand, it became 1-based. Could you please check if this is an error or not? Thanks.

gaoyubang commented 3 years ago

This bug has been solved.