GangSTR icon indicating copy to clipboard operation
GangSTR copied to clipboard

str::out_of_range

Open mvcakir opened this issue 3 years ago • 2 comments

For some samples I have this error. I don't know the reason and how to fix it. Here is the error message:

terminate called after throwing an instance of 'std::out_of_range' what(): basic_string::substr: __pos (which is 145) > this->size() (which is 105)

mvcakir avatar May 10 '21 17:05 mvcakir

Excuse me, have you solved it? I also encountered this problem.

nainai77 avatar Aug 31 '23 08:08 nainai77

It's been a long time and I'm not working with the tool anymore but as far as I remember I solved the issue by filtering out the shorter reads ( like shorter than 50 bp or so depending on your data ). I'm not sure why they are related or why this problem happens.

mvcakir avatar Sep 04 '23 06:09 mvcakir