Skip to content

Add utilities for reverse complement sequences #4

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

Open
RagnarGrootKoerkamp opened this issue Mar 25, 2025 · 0 comments
Open

Add utilities for reverse complement sequences #4

RagnarGrootKoerkamp opened this issue Mar 25, 2025 · 0 comments

Comments

@RagnarGrootKoerkamp
Copy link
Contributor

RagnarGrootKoerkamp commented Mar 25, 2025

Probably both as an explicit PackedSeq -> PackedSeqVec, and in-place PackedSeq::rc(&mut self)?

And maybe also an iter_bp_rc? Although I haven't actually needed this yet.

And maybe also a separate fn rc_kmer(kmer: u64, k: usize) -> u64? although we don't really expose kmers as bits so far.
(Well, to_word does that, but to me it's more of a 'give a hashable identity' rather than 'give me a bit representation'.)

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

No branches or pull requests

1 participant