OpenGene / VisualMSI

Detect and visualize microsatellite instability(MSI) from NGS data
MIT License
31 stars 11 forks source link

terminate called after throwing an instance of 'std::out_of_range' #3

Open NGSworkder opened 4 years ago

NGSworkder commented 4 years ago

Hi Pro Chen, when I use the VisualMsi software, I accure the problem like this terminate called after throwing an instance of 'std::out_of_range' what(): basic_string::substr

the command is like this: visualmsi -i case.bam -n ctrl.bam -r hg19.fa -t visual_msi.tsv -j json -h html

NGSworkder commented 3 years ago

I have solved this problem, the script pair.cpp mergedSeq = leftSeq.substr(0, lbreak) + rightSeq.substr(rbreak, rightSeq.length() - rbreak); out of string need to modify