Skip to content

Add in percent identity and alignment length filters#106

Merged
kdcurry merged 9 commits intomasterfrom
emu-pid
Feb 6, 2026
Merged

Add in percent identity and alignment length filters#106
kdcurry merged 9 commits intomasterfrom
emu-pid

Conversation

@microbemarsh
Copy link
Collaborator

@microbemarsh microbemarsh commented Feb 5, 2026

In this PR, we added the capability to filter alignments by:

  • percent identity --min-pid
  • minimum alignment length --min-aln-len
  • maximum alignment length --max-aln-len

Due to increased 16S primers in the new ONT sequencing kit we dont plan to implement the input min/max read length yet.

@microbemarsh microbemarsh marked this pull request as ready for review February 6, 2026 14:25
@kdcurry kdcurry self-assigned this Feb 6, 2026
@kdcurry kdcurry self-requested a review February 6, 2026 15:55
@kdcurry
Copy link
Collaborator

kdcurry commented Feb 6, 2026

Version 3.6.0
--Output-unclassified now outputs a third sequence file for the filtered (pid or alignment length) reads. Filtered read count is also tracked in output abundance file

Bug for python versions 3.11+ fixed by enforcing integer keys in the frequency (f) dictionary

@kdcurry kdcurry merged commit 37c8f85 into master Feb 6, 2026
1 check passed
@kdcurry kdcurry deleted the emu-pid branch February 6, 2026 16:14
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.

3 participants