-
Notifications
You must be signed in to change notification settings - Fork 145
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
Filter HMMs update #1881
base: master
Are you sure you want to change the base?
Filter HMMs update #1881
Conversation
Hey Matt, yes, it certainly will require a migration script. But are you sure if I can propose these variable names for consistency (as an example for two sources):
|
Thanks for the suggestion @meren!
What are the next steps for making a migration script? |
(plus we never import anvio libs like that)
I'm testing this with the contigs-db in the infant gut dataset, but this is what I'm getting:
After which I find these files in the output directory:
And then,
The same happens for any of the other output files. What am I doing wrong? By the way, I think the help menu for Please also see the changes I just made :) |
@meren and I spoke about his comment above offline and here are the actions items to address it:
|
…cript-filter-hmm-hits-table
@meren I attempted to make the sanity check that compares the genes in the incoming domain-hits-table and the HMM_hits table in the contigsDB being filtered. Please let me know what you think. Here's a test below with infant gut where the domain-hits-table is from rm -rf HMM_OUTPUT_hmmsearch; \
anvi-run-hmms -c CONTIGS.db -I Archaea_76 -T 4 --domain-hits-table --hmmer-output-dir HMM_OUTPUT_hmmsearch --hmmer-program hmmsearch --just-do-it; \
anvi-script-filter-hmm-hits-table -c CONTIGS.db --hmm-source Bacteria_71 --domain-hits-table HMM_OUTPUT_hmmsearch/hmm.domtable --target-coverage 0.9 --query-coverage 0.9
Config Error: The genes in HMM_OUTPUT_hmmsearch/hmm.domtable don't seem to be in the hmm_hits
table from your contigsDB: CONTIGS.db. Please double check you are filtering
with the same HMM_source that you used to create
HMM_OUTPUT_hmmsearch/hmm.domtable when you ran anvi-run-hmms. |
In the output message the number of weak hits removed by the parser is 0 when it is actually 143 according to the previous line. |
This warning was coming from an issue,
That is now fixed by the last two comments. Please take a look at the reports on how many hits are filtered and so on. |
I found a bug. You run |
Hi Everyone,
I would like to add a new
self
attribute called "HMM_hits_domain_table_was_filtered" tocontigsDBs
after they have been process byanvi-script-filter-hmm-hits-table
. I believe this will be important for keeping track of how thehmm_hits
table was changed. Additionally, it will prevent cases whereanvi-script-filter-hmm-hits-table
is re-run in snakemake workflows.Will this require a migration script?
Cheers,
Matt