-
Notifications
You must be signed in to change notification settings - Fork 1
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
Jason dev #92
base: main
Are you sure you want to change the base?
Jason dev #92
Conversation
This is for cluster mode |
0.999 = (289, 61) Your results are consistent with the old behavior - in that it would still filter with 0.1 or 0.9 it would just not be any different because they're both less than 1 |
Ah, I realized the issue. I was changing I do think it may be a bit confusing to have both of these parameters named as-is, though I realize they accomplish slightly different things |
Changes the behavior of the `min_filter` parameter when the filter is set too high; previously, an error message was printed to console, but the snakemake workflow will continue running until the missing input files are detected in the next rule. This has been changed to terminate with an error immediately instead. Thus, the workflow will not attempt to run subsequent rules that are invalid past the `min_filter` step.
Made changes to raise I do still think the Also, with the current behavior, I think something like |
OK - I've changed filtering so it now uses a single global parameter "kmer_include_filter" - but has backwards compatibility with "min_filter" since I realized I just set that in stone in the manuscript (whoops). The filtering for model and cluster are all done in the kmerize rule and I removed the (partially) redundant filtering that was specific to cluster. So no more cluster/min_rep and I removed cluster/max_rep (but we should probably replace it in the future). |
I'm not seeing any changes to the |
Weird. I don't know what happened to that change :) - will find it. |
Updating the min_filter to allow for percentages as input. Also add a helpful error message that is printed and added to the log file if the user has filtered out all the kmers using min_filter.