Genomicus / bedtools

Automatically exported from code.google.com/p/bedtools
0 stars 0 forks source link

bamToBed emits error if bam's RNAME is * #143

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. run tophat and get accepted_hits.bam
2. bamToBed -i accepted_hits.bam -split > out.bed
3. When bamToBed meets bam entry whose RNAME is *, bamToBed aborts.

What is the expected output? What do you see instead?
terminate called after throwing an instance of 'std::out_of_range'
  what():  vector::_M_range_check

What version of the product are you using? On what operating system?
CentOS Linux x86_64

Original issue reported on code.google.com by cielarti...@gmail.com on 23 Nov 2012 at 7:01