Whats a good book/website/tutorial to start learning Python?
Seqanswers Leaderboard Ad
Collapse
Announcement
Collapse
No announcement yet.
X
-
Originally posted by thinkRNA View PostWhats a good book/website/tutorial to start learning Python?
There's a new Python book for Bioinformatics from O'Reilly. No idea what the quality is like.
Comment
-
Originally posted by Calico View PostHello everybody,
My rather limited bioinfromatics skills come from having done some microarray data analysis in R (following a template code) and some minor coursework. So, I consider myself quite a newbie to the subject. I will quite soon be shaking hands with some sequencing data (from a Helicos machine) and need to prepare myself for this.
Being of a younger generation, I would say I can handle computers pretty well. So far I have, as recommended in this nice thread, started to take a look at the Unix and Perl for Biologist tutorial and installed Ubuntu in Virtual PC on my Windows computer.
What I'd like to ask you, SEQanswers community, is whether you can suggest me anything helpful. Am I starting out in the right way? I will get some bioinformatics help along the way, though I am unsure to what extent. Also, I see this as a part of my future career, so I am not just doing this for one particular project.
Edit: I have just realized that the Helicos software package uses Python.
Comment
-
Originally posted by quinlana View PostOne more vote for Python. I spent my grad career developing in Perl and C++. For some reason, I always wrote Perl code as "one-off" scripts. Moreover, the syntax and code structure made it difficult for me to make sense of even my most well-documented Perl scripts.
On the other hand, from the moment I began using Python, I started developing more in the style I do when writing C++ tools: that is, with an emphasis on code "reusability" and clarity. For some reason, Python just "feels" good and lends itself to clean, simple and reusable code. The best part is that its approach to object orientation is rather well done and allows one to think the same way as when writing Java or C++ code.
Therefore, I think learning Python first with a concerted effort towards learning objects, iterators, inheritance and developing modules, would be best. It will make a transition to Java or C++ much easier.
Comment
-
Originally posted by Calico View PostHello everybody,
My rather limited bioinfromatics skills come from having done some microarray data analysis in R (following a template code) and some minor coursework. So, I consider myself quite a newbie to the subject. I will quite soon be shaking hands with some sequencing data (from a Helicos machine) and need to prepare myself for this.
Being of a younger generation, I would say I can handle computers pretty well. So far I have, as recommended in this nice thread, started to take a look at the Unix and Perl for Biologist tutorial and installed Ubuntu in Virtual PC on my Windows computer.
What I'd like to ask you, SEQanswers community, is whether you can suggest me anything helpful. Am I starting out in the right way? I will get some bioinformatics help along the way, though I am unsure to what extent. Also, I see this as a part of my future career, so I am not just doing this for one particular project.
Edit: I have just realized that the Helicos software package uses Python.
Comment
-
Originally posted by JohnK View PostI wrote a longer response, but for some reason it never posted or maybe it posted to the wrong forum. Java and c++ are object oriented, which means everything you do will be within the confines of classes, objects, encapsulation and abstraction. For simple programs, you might want to leave simple flat/text file manipulation to a scripting language; ie leave the scripting tasks to scripting languages like perl, shell, and oop oriented tasks to the oop oriented programming languages. I think for bioinformatics purposes, a scripting language like perl, python, etc will suffice. Perl seems to be by far the most popular and there are large libraries like CPAN and BioPerl to support your coding. Perl is also very fast, but not as fast as shell programming. Learning shell programming in a Unix/Linux environment is a priceless skill and will save you much time. All the statisticians I've met have and are using 'R'. I myself haven't learned R, but it's definitely a future endeavor. Hope that helps.
Comment
-
Originally posted by JohnK View PostAw man! I love perl, but scripting languages are all the same to me. Just remember to hit '#' constantly.Sameet Mehta (Ph.D.),
Visiting Fellow,
National Cancer Insitute,
Bethesda,
US.
Comment
-
I've come to rely more and more on awk. Being a self-trained perl programmer I find it fascinating to see how much I can do with (nearly) oneliners in awk instead of writing multiple-line perl scripts. Many of my input/output files are tab separated, which is ideal for awk.
Next on my list is learning python...
Comment
-
Originally posted by damiankao View PostI got to go with Python too. Perl has great available libraries, but Python is just so much more agile than Perl. Just having the dot notation format and slice syntax makes things so much easier.
As for CML, awk is awesome, but can lack some syntax sugar, in my opinion. A lot of the stuff I do on the CML in perl is just a manipulation along the lines of:
< <in_file> perl -e 'while(<>){ #splitting, pushing onto an array, printing out, and then piping to some text filters, etc...# }' | a filter > <out file> &
I wouldn't use perl to do things that filters and sed/awk can do for you, but knowing unix/linux filter and shell commands is a priceless skill that saves incredible amounts of time. I think I can say that without someone yelling at me.
Comment
-
Originally posted by flxlex View PostI've come to rely more and more on awk. Being a self-trained perl programmer I find it fascinating to see how much I can do with (nearly) oneliners in awk instead of writing multiple-line perl scripts. Many of my input/output files are tab separated, which is ideal for awk.
Next on my list is learning python...Sameet Mehta (Ph.D.),
Visiting Fellow,
National Cancer Insitute,
Bethesda,
US.
Comment
-
Originally posted by ymc View PostDoes Python has a free bioinformatics library like BioPerl? I find that BioPython is quite lacking for now. I am wondering if there are better alternatives.
You can already do a lot with it: see this thread, in which I've advertised it, and, of course, the HTSeq web page.
Simon
Comment
-
Originally posted by quinlana View PostI learned the basics from python.org and used O'Reilly's "Python Cookbook" to get a feel for the subtleties and advanced usage. In my case, however, I was mainly just needed to know the syntax and basic data structures as I already knew how to program.
There's a new Python book for Bioinformatics from O'Reilly. No idea what the quality is like.
http://oreilly.com/catalog/9780596154516/
Comment
Latest Articles
Collapse
-
by seqadmin
Many organizations study rare diseases, but few have a mission as impactful as Rady Children’s Institute for Genomic Medicine (RCIGM). “We are all about changing outcomes for children,” explained Dr. Stephen Kingsmore, President and CEO of the group. The institute’s initial goal was to provide rapid diagnoses for critically ill children and shorten their diagnostic odyssey, a term used to describe the long and arduous process it takes patients to obtain an accurate...-
Channel: Articles
12-16-2024, 07:57 AM -
-
by seqadmin
Innovations in next-generation sequencing technologies and techniques are driving more precise and comprehensive exploration of complex biological systems. Current advancements include improved accessibility for long-read sequencing and significant progress in single-cell and 3D genomics. This article explores some of the most impactful developments in the field over the past year.
Long-Read Sequencing
Long-read sequencing has seen remarkable advancements,...-
Channel: Articles
12-02-2024, 01:49 PM -
ad_right_rmr
Collapse
News
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by seqadmin, 12-17-2024, 10:28 AM
|
0 responses
23 views
0 likes
|
Last Post
by seqadmin
12-17-2024, 10:28 AM
|
||
Started by seqadmin, 12-13-2024, 08:24 AM
|
0 responses
42 views
0 likes
|
Last Post
by seqadmin
12-13-2024, 08:24 AM
|
||
Started by seqadmin, 12-12-2024, 07:41 AM
|
0 responses
28 views
0 likes
|
Last Post
by seqadmin
12-12-2024, 07:41 AM
|
||
Started by seqadmin, 12-11-2024, 07:45 AM
|
0 responses
42 views
0 likes
|
Last Post
by seqadmin
12-11-2024, 07:45 AM
|
Comment