TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

What is the best way to learn Python for Bioinformatics?

16 pointsby sam537over 3 years ago
I am having a hard time connecting by biological knowledge with learning to collect, analyze, and especially visualize the data. I am using Biostar Handbook (using Ubuntu) to use the pipelines and clean the data. But how do I analyze and present? This is mainly for whole genome/exome/RNA sequencing.

6 comments

ipnonover 3 years ago
Python is the tool, bioinformatics is the project. If you wanted to use a sewing machine to make a dress, you would read its manual, familiarize yourself with all the buttons, take a peek under the hood, then start right away on the dress. You would inevitably come across a situation you weren&#x27;t prepared for: thread getting looped, internal parts jamming, the wrong needle tearing holes. When that happens you see if there&#x27;s a quick fix at hand, if not you ask a friend or search online for clues.<p>It&#x27;s the same for using Python for bioinformatics. Go through the excellent official Python tutorial[0]. You won&#x27;t remember everything, but you want to build some subconscious memory and muscle memory. After that, dove straight into your bioinformatics project. You will inevitably get stuckany times, there are no programmers who don&#x27;t! At that point you&#x27;ll need to do some research just as we all do, and you&#x27;ll likely learn something new about Python in the process. The key is to let the bioinformatics motivate the Python, not the other way around.<p>[0] <a href="https:&#x2F;&#x2F;docs.python.org&#x2F;3&#x2F;tutorial&#x2F;index.html" rel="nofollow">https:&#x2F;&#x2F;docs.python.org&#x2F;3&#x2F;tutorial&#x2F;index.html</a>
评论 #30141845 未加载
PaulHouleover 3 years ago
For most things people use jupyter notebooks, pandas and matplotlib for visualization.<p>There are many other visualization tools that work w&#x2F; jupyter such as seaborne, d3.js, etc.<p>If you can&#x27;t find what you are looking for you can build your own on top of those kind of tools, write widgets that draw HTML in the notebook, etc.<p>See <a href="https:&#x2F;&#x2F;gist.github.com&#x2F;afrendeiro&#x2F;8fa43f074a64590c67c30ec7b3141cb7" rel="nofollow">https:&#x2F;&#x2F;gist.github.com&#x2F;afrendeiro&#x2F;8fa43f074a64590c67c30ec7b...</a>
评论 #30141896 未加载
drodgersover 3 years ago
The problems from Rosalind <a href="https:&#x2F;&#x2F;rosalind.info&#x2F;problems&#x2F;list-view&#x2F;" rel="nofollow">https:&#x2F;&#x2F;rosalind.info&#x2F;problems&#x2F;list-view&#x2F;</a> are designed to help you connect bioinformatics knowledge to programming.<p>There won&#x27;t be much visualisation required in those problems explicitly, but you should reach for something like matplotlib when you need it and follow the most relevant examples you cna find for what you&#x27;re visualising.
评论 #30141876 未加载
amaasover 3 years ago
You might want to start with online courses&#x2F;tutorials focused on basic data science and data visualization in Python. If you learn general Python tools like Pandas, Numpy, Pyplot&#x2F;Seaborn, and any specialized packages&#x2F;tools for genome data, you should be able to visualize and interact with your datasets in a more fluid way. Using a notebook&#x2F;Jupyter environment can really help with making your work interactive.<p>There are general Python Data Viz courses with free content[0], and I&#x27;ve been building machine learning courses (slightly different topic) with a platform called co:rise, who also offer basic Python Data Science courses[1]. You can find plenty of tutorial blogs via searching, or look at specialized mini-courses on Udemy[2]<p>[0] <a href="https:&#x2F;&#x2F;www.edx.org&#x2F;course&#x2F;data-science-visualization" rel="nofollow">https:&#x2F;&#x2F;www.edx.org&#x2F;course&#x2F;data-science-visualization</a><p>[1] <a href="https:&#x2F;&#x2F;corise.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;corise.com&#x2F;</a><p>[2] <a href="https:&#x2F;&#x2F;www.udemy.com&#x2F;course&#x2F;python-for-machine-learning-data-science-masterclass&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.udemy.com&#x2F;course&#x2F;python-for-machine-learning-dat...</a>
评论 #30141870 未加载
marto1over 3 years ago
I&#x27;d say learn python first on it&#x27;s own if you don&#x27;t know it already and then start hanging out around a bioinf open source project, step by step understanding the various terms and handling simple tasks until you feel confident with doing more. One project to try out: <a href="https:&#x2F;&#x2F;github.com&#x2F;biopython&#x2F;biopython" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;biopython&#x2F;biopython</a> . But there are many more you&#x27;ll learn about as you progress.<p>Just keep in mind it&#x27;s a very vast field and scientists usually specialize in a tiny part of it so don&#x27;t go too hard on yourself.
评论 #30141857 未加载
asicspover 3 years ago
I have some resources for Python Bioinformatics that might help you: <a href="https:&#x2F;&#x2F;learnbyexample.github.io&#x2F;py_resources&#x2F;domain.html#bioinformatics" rel="nofollow">https:&#x2F;&#x2F;learnbyexample.github.io&#x2F;py_resources&#x2F;domain.html#bi...</a>