I am not a pure bioinformatician. I self learned Unix and R and I must say I have been quite happy with the things I achieved.
However, I realized that I would need some more hands on a programming language. I choose Python, as it seems to be easier to learn for new comers like me.
I started looking online tutorials and wikis, and I found them really useful. However, at some point I start to think that maybe I am just wasting my time in learning basic programming aspects, which I will not really need in the real life when dealing with my data (mainly sequences). I think that this might be a common problem that biologist approaching a programming languages have. Therefore, I was wondering if you have any suggestion or advices concerning which aspects would be more useful to learn for a biologist that starts to learn a new programming language (i.e. Python, Perl).
Thanks for sharing
that is a really good suggestion. I knew Rosalind, but I did not spend so much time on it. One of the "problem" I faced often is to work/edit external files. Any suggestion how to improve these skills?
It's not clear to me what you mean, do you face problems editing an external file using your script?
Yes. Like, load a file and apply specific action, like keep just some lines rather than other and so on.
So in R you would read the file in memory using the
read.table()
function, make some changes and save an object back to the disk usingwrite.table()
. In python you would open a file, either in memory or iterating over it, and writing modified lines back to disk. What exactly is the problem?