Skip to content

Advanced primer handling features#97

Merged
ressy merged 19 commits intodevfrom
advanced-primer-handling
Feb 14, 2023
Merged

Advanced primer handling features#97
ressy merged 19 commits intodevfrom
advanced-primer-handling

Conversation

@ressy
Copy link
Member

@ressy ressy commented Feb 14, 2023

This substantially restructures the primer handling to support imperfect primer matches, IUPAC ambiguity codes in primer sequences, and several possible sequence-modifying actions for matched primers for forward/reverse/both ("none" to do nothing, "keep" to trim sequences to the primers but keep the primers as-is, "replace" to trim sequences and replace the matched primer region with the sequence from locus_attrs, or "remove" to trim sequences to exclude the primer region). Fixes #37 and fixes #40.

The sequence modification based on matched primer should obviate the need for adapter-trimming, if enabled. The defaults here keep the previous behavior (no read modification, zero mismatches allowed, not using reverse primers for matching).

@ressy ressy merged commit 6d898e8 into dev Feb 14, 2023
@ressy ressy deleted the advanced-primer-handling branch February 14, 2023 19:35
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.

Support IUPAC ambiguity codes in primer sequences Include adapter trimming and optional primer removal

1 participant