-
Notifications
You must be signed in to change notification settings - Fork 143
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
Config Error: difference in unique keys and item number #917
Comments
Crap. This looks bad, and it should have never happened as anvi'o says. Based on your message I realize this only happened due to the use of custom HMMs. Can you confirm that? |
Watching this, also getting the same error now. Not sure if it's related to me using the BUSCO hmms or not. It doesn't look like they have the same gene IDs but maybe it's not their IDs that is the issue...? |
Yes, @meren |
Thank you very much, @jvhagey. This is very helpful. I will look into this this evening! |
@jvhagey, I've been running custom HMMs and I don't seem to be able to reproduce this problem :( Would you mind sending your test HMM directory with one model and list the exact command lines you use to run into this error? |
@meren here ya go! #making the database #Adding hmms #Here are the Hmms currently in the database:
The config error now states that: While there are 94886 items in this table, there are only 94879 unique keys. The difference between these two numbers is 7, which is the same number of raw hits that the custom hmm found. Looks like unique keys aren't being made for the hits? I can't see the structure of the sql tables to dig further since we don't have sql on our server currently. genes.hmm.gz |
Thanks for sending these, @jvhagey. But regardless of what I do, I can't reproduce this error neither in master or |
@meren after some playing around it seems that the issue might be with running multiple anvi-run-hmm scripts at the same time. I was running the default hmms (single copy genes) at the same time as the custom when I got the error. When I wait for each hmm set to stop running before I start the next I don't get the error. In the future I will just run one at a time to avoid the issue. Thanks for checking this out. |
This makes a lot of sense! We probably need to think of a better way to check for that. Thank you very much for looking into this further! |
Hi Anvi'o team!
Seems like we have been talking to ya'll a lot these days :), so thanks for making such a cool tool!
I ran into a new bug:
After having issues with my custom hmm database when running anvi-summarize I just decided to remake the whole thing with a smaller database. I am using anvio5.1 that installed into a conda environment and am running it on Ubuntu 16.04.4 LTS (GNU/Linux 4.4.0-127-generic x86_64).
anvi-self-test --version gives:
After building the contig database I added Cogs and then taxonomy via kaiju. A custom hmm database is currently running. When I started another run of a different custom hmm set I got the following error:
So that doesn't seem good. I noticed in the default hmm output that is was running says this...
Don't know if that is related or not.
Here is the db info:
anvi-db-info fixed.contigsV5_1000.db
What should I do about this config error? Thanks for your help!
The text was updated successfully, but these errors were encountered: