Skip to content
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: do a single pass reverse complement in kmers_and_hashes #82

Merged
merged 3 commits into from
Oct 28, 2024

Conversation

ctb
Copy link
Contributor

@ctb ctb commented Oct 28, 2024

Note: PR into #70

Easier than I thought 😅

@ctb ctb changed the base branch from main to integrate_kmer_tracking October 28, 2024 00:56
@Adamtaranto Adamtaranto merged commit da1fb89 into integrate_kmer_tracking Oct 28, 2024
21 checks passed
@Adamtaranto Adamtaranto deleted the combine_rc branch October 28, 2024 03:22
Adamtaranto added a commit that referenced this pull request Oct 28, 2024
* Make kmers_and_hashes iterable

* Suppress blank output with skip_bad_kmers

* update tests to pick up stderr warning instead of PyValueError. Change skip_bad_kmers behaviour.

* Implement hash_to_kmer map + unhash()

* Tests for count and consume with kmer tracking enabled

* rm blank test

* Add tests for canon()

* Style fixes by Ruff

* remove unused tests

* Add dump_kmers()

* Add tests for dump_kmers()

* unsorted dump_kmers() will produce randomly ordered output. Remove from tests.

* skip kmers that exist in hash_to_kmer but are missing from count table after being dropped

* Add tests for dump_kmers() on KmerCountTables with dropped count records

* Style fixes by Ruff

* back to action token

* disable ruff formatting on dependabot commits

* MRG: do a single pass reverse complement in `kmers_and_hashes` (#82)

* compute revcomp once, not every time

* rm comment

* run cargo fmt

---------

Co-authored-by: Adamtaranto <[email protected]>
Co-authored-by: C. Titus Brown <[email protected]>

---------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants