gymreklab / GangSTR

A tool for profiling long STRs from short reads
GNU General Public License v2.0
85 stars 16 forks source link

str::out_of_range #106

Open mvcakir opened 3 years ago

mvcakir commented 3 years ago

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)

nainai77 commented 1 year ago

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

mvcakir commented 1 year ago

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.