-
Notifications
You must be signed in to change notification settings - Fork 25
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
Cleaning failing with Assert Failed db_graph_alloc(): num_of_cols > 0 #47
Comments
Hi @Phelimb, The McCortex clean command guesses out how many colours it can handle at once given the memory constraints and an estimate of the number of kmers. This means it can clean a (for example) 1,000 colour graph by pooling the samples and cleaning this single colour population graph, then cleaning I'm putting together a patch to fix this behaviour. |
Auto-selecting number of colours to use for cleaning should pick >0. Fixes issue #47: Cleaning failing with Assert Failed db_graph_alloc(): num_of_cols > 0
@Phelimb is cleaning a single colour graph, so seems like this is a degenerate case where your calculation/estimate is unnecessary |
Yep - should be fixed on |
Your fix in principle allows the code to choose to clean in 2 colours even in a 1 colour graph though ? |
Thanks @noporpoise. Will give the develop version a try and let you know if it fixes the issue. |
Hi @noporpoise,
I'm running mccortex building and cleaning on a bunch of samples from the ENA and a small percentage are failing on the cleaning step without much information as to why.
Here's a dump of the log. Building works fine but then cleaning dies with
Assert Failed db_graph_alloc(): num_of_cols > 0
Any ideas?
The text was updated successfully, but these errors were encountered: