Monthly Archives: May 2014

Open VID file in VirtualBox

Tweet I’ve been using VirtualBox for a few years mostly to test software on different distributions. This is really a great tool really easy to use. I usually get an ISO file from a distribution (e.g. Fedora) and install it … Continue reading

Posted in Linux | Tagged | Leave a comment

matplotlib: difference between pcolor, pcolormesh and imshow

Tweet If you have a matrix and want to plot its content as an image, matplotlib provides some functions such as imshow and pcolor. Differences between imshow and pcolor Let us use a simple 3 by 3 matrix and call … Continue reading

Posted in Python | Tagged | 7 Comments

Python editor

Tweet The general purpose tool I used for edition is vim… I know, this is not very friendly but to edit a couple of files, it’s fast to start, fast to edit, has completion and much more. Yet, sometimes, a … Continue reading

Posted in Python | Tagged | Leave a comment

Accessing UniProt with Python

Tweet BioServices provide an easy way to access UniProt In a previous post, I provided a simple example, reproduced here below, but in this post I also provide the link to a ipython notebook I’ve just created, which contains much … Continue reading

Posted in Python | Tagged , | Leave a comment

pandas.read_csv: how to skip empty lines

Tweet Let us suppose that we start with a CSV file that has empty rows:

If you read this file with Pandas library, and look at the content of your dataframe, you have 2 rows including the empty one … Continue reading

Posted in Python | Tagged | 2 Comments