-
Notifications
You must be signed in to change notification settings - Fork 0
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
MRG: Make kmers_and_hashes iterable #70
Conversation
@ctb thoughts on bad kmer handling for this function?
When I think we should have the Can you think of any cases where you would want to have |
I think I agree with you - good point ;) |
…e skip_bad_kmers behaviour.
Ok, I've updated the iterator so it just prints a warning msg to stderr if it sees a bad kmer, and only return includes empty ("",0) in output if If this is too noisy then I guess we could turn off warning if Can you take a look at the tests? I only know the one method for capturing warning msgs. hammer, nail, etc. |
Previous fix for dependabot ruff action GITHUB_TOKEN prevents jobs from restarting after being interrupted by the ruff action. reverted. Will need to disable ruff formatting in any actions spawned by dependabot. |
@ctb ready for review. Do we want to work on making this faster before merging into main? Low hanging efficiency fruit:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
excellent!
Are we good to merge? |
yep! go ahead! |
Cool, I'll pull in changes from #82 when tests are finished, then merge. |
* compute revcomp once, not every time * rm comment * run cargo fmt --------- Co-authored-by: @ctb
count()
andconsume()
KmerCountTable
with option to track kmersunhash()
functiondump_kmers()
function for sorted kmer,count outputdump_kmers()
compatible with records dropped bymincut()
,maxcut()
,drop()
, ordrop_hash()
Close dump_kmers fails after removing records with maxcut #75Close #21