interface subpackage#

Connecting the ecosystem - The interface subpackage#

In the last section we learned that biotite.application encapsulates entire external application runs with subsequent calls of start() and join(). In contrast biotite.interface provides flexible interfaces to other Python packages in the bioinformatics ecosystem. Its purpose is to convert between native Biotite objects, such as AtomArray and Sequence, and the corresponding objects in the respective interfaced package. Each interface is located in a separate subpackage with the same name as the interfaced package. For example, the interface to rdkit is placed in the subpackage biotite.interface.rdkit.

Note

Like in biotite.application, the interfaced Python packages are not dependencies of the biotite package. Hence, they need to be installed separately.

The following chapters will give you an overview of the different interfaced packages.