ZhouQiangwei / dmtools

BS-seq, WGBS, NOMe-Seq, RRBS data storage and analysis tool
https://dmtools-docs.rtfd.io
MIT License
5 stars 0 forks source link

buffer overflow detected during dmtools view #5

Open wu116 opened 1 month ago

wu116 commented 1 month ago

Hello! There was a problem when i use dmtools view and i have no idea about how to solve it:

$ dmtools view -i combined.methratio.dm -r Chromosome5:11579487-11580408
[Mode] ------------- View region Chromosome5:11579487-11580408
*** buffer overflow detected ***: terminated
Aborted (core dumped)

When i reduced the number of the position, dmtools view worked well:

$ dmtools view -i combined.methratio.dm -r Chromosome5:1157948-1158040
[Mode] ------------- View region Chromosome5:1157948-1158040
Chromosome5 1157950 0.000000    45  +   CHH
Chromosome5 1157952 0.000000    45  +   CHH
...
Chromosome5 1158037 0.000000    40  -   CHH
Chromosome5 1158038 0.000000    40  -   CHH
Done and free mem

Even when i increased the number of the coordinate and let them exceed the range of chromosome, dmtools view threw out no error:

$ dmtools view -i combined.methratio.dm -r Chromosome5:21579487-21580408
[Mode] ------------- View region Chromosome5:21579487-21580408
Done and free mem

Could you give me a hand to solve this problem?