Skip to content

Feat/reverse complement flag - #199

Merged
noamteyssier merged 3 commits into
dev-0.5.12from
feat/reverse-complement-flag
Jul 23, 2026
Merged

Feat/reverse complement flag#199
noamteyssier merged 3 commits into
dev-0.5.12from
feat/reverse-complement-flag

Conversation

@noamteyssier

Copy link
Copy Markdown
Collaborator

No description provided.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a new --rc command-line option to both the grep and split commands, allowing users to reverse complement fixed ACGT patterns before matching. Regex patterns are rejected as reverse complementing them is undefined. The feedback suggests optimizing the reverse_complement implementation in src/commands/grep/patterns.rs to modify the sequence vector in-place, avoiding unnecessary allocations and improving performance.

Comment thread src/commands/grep/patterns.rs Outdated
@noamteyssier
noamteyssier merged commit 9550521 into dev-0.5.12 Jul 23, 2026
8 checks passed
@noamteyssier
noamteyssier deleted the feat/reverse-complement-flag branch July 23, 2026 05:40
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.

1 participant