Bioinformatics Tips & Tricks: A faster search for patterns (loop, list, regexp)
rebelScience [Research & Programming]
In this video, we are going to take a look at one of the algorithms we wrote in Genome Toolkit series, Part 2, and attempt to optimize it. We will also discuss the approach a beginner in Python can take to learn how to write better, faster, and more Pythonic code. We will finish by measuring execution speed of all of our solutions, and discuss if it even is worth your time, to optimize your code.
Article version: https://rebelscience.club/2022/11/tips-tricks-a-faster-search-for-patterns-loop-list-regexp/ GitLab: https://gitlab.com/RebelCoder/bioinformatics_tips_tricks
Regular Expressions generator/tester: https://regex101.com/
Regular Expressions for overlapping substring search: https://www.geeksforgeeks.org/python-program-to-find-indices-of-overlapping-substrings/
“Positive Lookahead” regular expression: https://www.rexegg.com/regex-lookarounds.html
[===============================]
Ways to support rebelScience: https://rebelscience.club/cryptocurrency-donations/
Join the community: Telegram: https://t.me/biocodex Matrix: https://bit.ly/3rFaS9Z
Social media: Twitter: https://twitter.com/rebelCoderRU Mastodon: https://mastodon.social/@RebelCoder LBRY/Odysee: https://odysee.com/@rebelCoder
E-Mail: rebelcoder@duck.com Website: https://rebelscience.club/
Forum join request form: https://rebelcoderx.survey.fm/rebelscience-bioinformatics-forum-application-form
2796896572 Bytes