4 The Akando and Dancer Modules

The Akando and Dancer modules are unique to this book. The Akando module contains many different but generic routines. The Dancer module is used for display and simple interaction with images.

4.1 The Akando Module

Akando is a Native American word for “ambush” and is used to name the file that contains a variety of generic functions useful in many different types of applications. For example, two routines are used to convert a matrix into an image and an image into a matrix. Because such functions are not unique to a specific application, they are stored in the Akando module.

Like all modules, Akando needs first to be imported. However, since the Akando module is not part of a Python installation, the directory ...

Get Python for Bioinformatics 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.