jts / ncov-tools

Small collection of tools for performing quality control on coronavirus sequencing data and genomes
MIT License
47 stars 16 forks source link

Fix bug for primer prefixes containing numbers #107

Closed fmaguire closed 1 year ago

fmaguire commented 1 year ago

If the primer prefix contains a number (e.g., midnightv2_) then strip in the negative control command can remove matching amplicon numbers:

"midnightv2_2".strip("midnightv2") == "_" using replace makes this more specific and less prone to issues.