Performing parallel computing with IPython
IPython provides a highly declarative framework for parallel computing. Here, we will take an introductory look at it.
Getting ready
This will require IPython. You have to download and prepare the data, as shown in the first recipe. This recipe will not work in the provided Docker container. It's recommended that you have at least a broader overview of the IPython parallel architecture at http://ipython.org/ipython-doc/dev/parallel/parallel_intro.html#architecture-overview.
You will need to start the IPython parallel framework. For this, while inside the directory where you downloaded the data, which is also where you will have to run the recipe code, do in the shell:
ipcluster start -n 4
This will start ...
Get Bioinformatics with Python Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.