Skip to content

Enable Atropos-style matching based on sequence similarity - #891

Open
lawremi wants to merge 5 commits into
marcelm:mainfrom
lawremi:matching-policy-matches
Open

Enable Atropos-style matching based on sequence similarity#891
lawremi wants to merge 5 commits into
marcelm:mainfrom
lawremi:matching-policy-matches

Conversation

@lawremi

@lawremi lawremi commented Aug 31, 2026

Copy link
Copy Markdown

When migrating from the deprecated atropos to cutadapt, there was discordance in the results due to a difference in how the two algorithms scored alignments. It is simplest for us to migrate without changing downstream results, so we have added an optional mode that scores by sequence similarity. It resolves ties by choosing the first adapter, since errors are meant to be ignored in the scoring. This brings the two tools into full concordance to the extent of our testing.

@marcelm

marcelm commented Sep 11, 2026

Copy link
Copy Markdown
Owner

Hi, I haven’t made up my mind whether this should go in or not. Maybe it makes sense given that Atropos development has stopped. It would offer an alternative for people migrating. But it also adds more complexity, and given my limited time to work on this, maybe this isn’t something I want.

Let me also run some benchmarks. Since the scores are no longer hard-coded, I wonder whether this changes performance in any way.

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