Kubernetes deployment manager for bioinformatics tools
Project description
Mampok (Managing Multiple Projects On Kubernetes) deploys containerized bioinformatics tools — Cellxgene, Jupyter, RStudio, IGV, and more — on a Kubernetes cluster backed by S3-compatible object storage. You describe your project in a JSON file (a Mamplan); Mampok handles S3 uploads, Kubernetes resource creation, pod readiness checks, and lifecycle management.
For more information about Mampok, please see the documentation.
How to install
Via Python package
Mampok is published in the Python Package Index (PyPI) under the name mampok. It can be installed with the following command:
pip install mampok
Via repository
You can install Mampok directly from the repository with the following commands:
- Clone the repository:
git clone https://github.com/loosolab/MAMPOK
- Move to the new repository directory:
cd MAMPOK
- Install:
pip install .
Quick start
1. Create a config file (pass its path to every command via --config):
{
"cluster": {
"MY_CLUSTER": {
"host": "ingress.example.com",
"namespace": "mampok",
"kubeconfig_path": "/home/user/.kube/my-cluster-config"
}
},
"s3": {
"endpoint": "https://s3.example.com",
"access_key": "my-access-key",
"secret_key": "my-secret-key",
"secretname": "s3-credentials",
"prefix": "mampok"
},
"mamplates_path": "/path/to/mamplates/",
"lifetime_days": 30,
"mampok_version": ">=2.0.0,<3.0.0"
}
2. Create a Mamplan:
mampok create-mamplan \
--project-id my-project \
--tool cellxgene \
--cluster MY_CLUSTER \
--owner jdoe \
--datatype scRNA-seq \
--files data.h5ad \
--output ~/mamplans/ \
--config /path/to/config.json
3. Deploy:
mampok deploy ~/mamplans/my-project-mamplan.json --config /path/to/config.json
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mampok-3.0.4.tar.gz.
File metadata
- Download URL: mampok-3.0.4.tar.gz
- Upload date:
- Size: 1.6 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c3d7f9c388d6c8204feafbfa770319b7ab3e6b99f1be1f028a3f0d2020ef7d3c
|
|
| MD5 |
74a0a1acc77c3e02901603cc415831ab
|
|
| BLAKE2b-256 |
5c1d0672f98ad5e6817b748142c1aa901ecdfac7751fa25524b8d6bd45233228
|
File details
Details for the file mampok-3.0.4-py3-none-any.whl.
File metadata
- Download URL: mampok-3.0.4-py3-none-any.whl
- Upload date:
- Size: 73.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aab9caa7e806d4eaf4ddfa62b21b3849805f6ca721afaccc06bb01bf09cf9a57
|
|
| MD5 |
f0dd0d67d9ba9efd7004d1d1552a6ae6
|
|
| BLAKE2b-256 |
92c924a2ed828beddcf718ea1e3edd0776c0d1c02ee6319b50eafaf79871405f
|