ratschlab / mmr

A tool for Read Multi-Mapper Resolution
http://bioweb.me/mmr
Other
24 stars 0 forks source link

Error: "terminate called after throwing an instance of 'std::out_of_range'" #2

Closed tdido closed 8 years ago

tdido commented 8 years ago

I'm getting an error when using mmr on a particular BAM file (it's worked fine with others). I'm trying to figure out the cause and would appreciate any help.

Command line I used: mmr -v -t 6 -b -o mmr.bam sample.bam

Output is available in the attached file.

Sample BAM file is available here.

OS is Ubuntu 12.04.5 LTS (GNU/Linux 3.2.0-75-generic x86_64)

akahles commented 8 years ago

Hi Tomás, The input file needs to be sorted by read ID. The provided sample file is sorted by position. Cheers, Andre

tdido commented 8 years ago

You're right, that was the cause. Thanks.