samtools " Assertion `iter->curr_off == iter->off[iter->i].v' failed". "
2
0
Entering edit mode
5.2 years ago
liushang • 0

Hi, I meet a problem when I run samtools. The error message is

 "bam_index.c:695: bam_iter_read: Assertion `iter->curr_off == iter->off[iter->i].v' failed".

I would like to ask how the question happened and how to resolve it. Thank you !

samtools • 927 views
ADD COMMENT
0
Entering edit mode

is your bam sorted ? is your bai file up-to-date ?

ADD REPLY
0
Entering edit mode

Please provide the exact command your were using.

Also what version of samtools do you have?

ADD REPLY
1
Entering edit mode
5.2 years ago

That error message indicates that you are using samtools 0.1.19. This was released almost six years ago, and still using it is a problem in itself…

ADD COMMENT
0
Entering edit mode
5.2 years ago
liushang • 0

Thank you very much ! The problem has been solved. I edit the bam header and then the command can run.

ADD COMMENT
1
Entering edit mode

Could you please provide more information about what was the problem with your header and how you have fixed it.

Doing this, you can help other people facing the same problem to solve it.

Thanks!

fin swimmer

ADD REPLY

Login before adding your answer.

Traffic: 2131 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6