Bioinformatics in Python: DNA Toolkit. Part 8.1: Code refactoring into a bio_seq class

preview_player
Показать описание
In this video, we begin the process of 'wrapping' our DNA Toolkit into a reusable class, bio_seq, and optimizing some of its functions for better performance and organization. This is a step towards making our toolkit more robust and easier to use.
#Bioinformatics #Python #BioTools #ObjectOrientedProgramming #CodeOptimization

🔹🔹🔹🔹🔹

💻 [GITHUB REPO]:

🔹🔹🔹🔹🔹

🔗 [VIDEO LINKS]:

Object-Oriented Programming (OOP) in Python - For Beginners (Tech With Tim):

HOW You Should Be Using ASSERT In Python To Catch ERRORS (Indently):

Python Set issuperset (Jakubication):

🔹🔹🔹🔹🔹

✨ [CONNECT WITH US]!

Stay updated and join our growing community of bio-coders and rebel thinkers!

🔹🔹🔹🔹🔹

🔬 [JOIN THE REBEL SCIENCE COMMUNITY]!

Engage with us, ask questions, and share your ideas!

🔹🔹🔹🔹🔹

💖 [SUPPORT REBELSCIENCE]!

Love what we do? Your support helps us create more open-source bioinformatics tools and content! You can support us with a one-time donation or a subscription.

Forum subscriptions via Stripe come with many benefits, including a dedicated community, community-only projects and discussions (like Rosalind and other related courses), and opportunities for collaboration on different projects.

Any donations will be used for new content creation and to cover server and community management expenses. Thank you for being a part of rebelScience!

🔹🔹🔹🔹🔹

Рекомендации по теме
Комментарии
Автор

A quick correction. At 8:15 it is not a String, but a Set() method issuperset(). And we convert DNA_Nucleotides to a set too.

rebelScience
Автор

Thank you so much for your effort and dedication. Those videos are so insightful!

ArmyofDarkniss
Автор

Hey, 1 year after, I'm following you code and self.is_valid = self.validate() I got a problem

juansarmiento
Автор

Is test_dno = bio_seq() called 'assigning an import to a variable' or 'assigning a class to a variable?' or, more generally: what is it called?

michaelmoore
Автор

Another great video! Also just to let you know, 'correct' in your validation assertion comment is spelt incorrectly lol

tortoise
Автор

can you make a tutorial on how to use the biopython module, it has the same as your code i hope that you can make a tutorial on the full module all of its classes and methods.
thanks

abdulrhmana.elshiekh
Автор

Love your videos, but your validation function has minor problem. When Python interpreter is launched in optimisation (-O) mode, it ignores all assertions. It can lead to programs accepting invalid data. So, they are used to catch bugs or run tests, not to handle expected invalid user input or check conditions. Raising ValueError is probably best option when sequence is invalid.

viktordemenev
visit shbcf.ru