Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed assert in stream_encoding.h:152 #6

Open
Colelyman opened this issue Aug 7, 2017 · 2 comments
Open

Failed assert in stream_encoding.h:152 #6

Colelyman opened this issue Aug 7, 2017 · 2 comments

Comments

@Colelyman
Copy link

Colelyman commented Aug 7, 2017

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
Copy link
Author

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
Copy link
Author

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant