Skip to content

developing an update to polya_umi.py script#12

Merged
Acribbs merged 5 commits into
cribbslab:mainfrom
as2110:main
Apr 2, 2026
Merged

developing an update to polya_umi.py script#12
Acribbs merged 5 commits into
cribbslab:mainfrom
as2110:main

Conversation

@as2110

@as2110 as2110 commented May 22, 2025

Copy link
Copy Markdown
Contributor
  1. fuzzy_polya_umi.py - simply switches adapter matching from regex to sw search using parasail. Does not correct UMI errors

  2. corrected_polya_umi.py - finds candidate UMI region using both 3' adapter and polyA region as anchors. Attempts substitution and indel correction of UMI region to extract the "correct" umi

  3. find_longest_polyA.py, find_3prime_adapter.py, extract_and_correct_umi_test.py and full_polya_umi_extraction_test.py are test scripts for the individual key parts of the corrected_polya_umi.py script

1) fuzzy_polya_umi.py - simply switches adapter matching from regex to sw search using parasail. Does not correct UMI errors
2) corrected_polya_umi.py - finds candidate UMI region using both 3' adapter and polyA region as anchors. Attempts substituion and indel correction of UMI region to extract the "correct" umi
3) find_longest_polyA.py, find_3prime_adapter.py, extract_and_correct_umi_test.py and full_polya_umi_extraction_test.py are test scripts for the individual key parts of the corrected_polya_umi.py script
@Acribbs

Acribbs commented May 29, 2025

Copy link
Copy Markdown
Collaborator

Hi @as2110, code looks good, but why are the scripts in /dev and not integrated into the pipelines?

@as2110

as2110 commented May 29, 2025

Copy link
Copy Markdown
Contributor Author

The corrected_polya_umi.py can be moved up a directory if you are happy with the code/tests and I can update the pipeline count script to utlise this.

as2110 and others added 4 commits April 1, 2026 16:23
polyA complementing fixed to to use last 300 bp for polyA. New umi extract and tagging script n_polya_umi.py added. Dev scripts used to develop and test individual aspects in dev. Pipeline count updated to use umi script and updated minimap2 params for speed.
@Acribbs
Acribbs merged commit 369e528 into cribbslab:main Apr 2, 2026
3 checks passed
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