The Mantle SDK is a Python package that provides a set of tools for interacting with Mantle datasets, analysis notebooks, and pipeline runs. It is designed to be used within a Nextflow pipeline or Jupyter notebook, and provides a set of functions for authenticating with Mantle, pulling input datasets and files, registering outputs, and interacting with your data in Mantle.

This guide walks through some examples of common uses of the SDK. For the full documentation, please visit sdk.mantlebio.com.

Installation

The only prerequisite for installing the Mantle SDK is Python 3.6+. The Mantle SDK can be installed using pip:

pip install mantlebio

Usage

To instantiate a Mantle client, use:

import mantlebio

mantle = mantlebio.MantleClient()