dbgfm icon indicating copy to clipboard operation
dbgfm copied to clipboard

Failed assert in stream_encoding.h:152

Open Colelyman opened this issue 8 years ago • 2 comments

I have encountered this failed assertion (assert(currBit / 8 < output.size());, stream_encoding.h:152) when loading a genome. It happens with the Drosophila melanogaster genome (FASTA download link). I have inspected the file and I can't find anything strange going on.

Does anyone have any ideas what would trigger this assertion to fail? Furthermore, any ideas for how I can fix it?

Thank you

Colelyman avatar Aug 07 '17 16:08 Colelyman

I have split up the genome and discovered that the failed assertion comes from somewhere in the X chromosome. I will split up the file further in order to find the culprit.

Colelyman avatar Aug 15 '17 20:08 Colelyman

So I deleted three bases (an arbitrary number) off of the end of the X chromosome (which are TAC), and the assert no longer fails.

Could this behavior possibly be explained by the length of the X chromosome?

Colelyman avatar Aug 21 '17 17:08 Colelyman