Resolwe SDK for Python
Project description
Resolwe SDK for Python supports interaction with Resolwe server and its extension Resolwe Bioinformatics. You can use it to upload and inspect biomedical data sets, contribute annotations, run analysis, and write pipelines.
Docs & Help
Read the detailed description in documentation.
Install
Install from PyPI:
pip install resdk
If you use macOS, be aware that the version of Python shipped with the system doesn’t support TLSv1.2, which is required for connecting to any genialis.com server (and probably others). To solve the issue, install the latest version of Python 3.6+ via official installer from Python.org or with Homebrew.
If you would like to contribute to the SDK codebase, follow the installation steps for developers.
Quick Start
In this showcase we will download the aligned reads and their index (BAM and BAI) from the server:
import resdk # Create a Resolwe object to interact with the server res = resdk.Resolwe(url='https://app.genialis.com') # Enable verbose logging to standard output resdk.start_logging() # Get sample meta-data from the server sample = res.sample.get('resdk-example') # Download files associated with the sample sample.download()
Both files (BAM and BAI) have downloaded to the working directory. Check them out. To learn more about the Resolwe SDK continue with Getting started.
If you do not have access to the Resolwe server, contact us at info@genialis.com.
Project details
Release history Release notifications
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size resdk-12.0.0-py2.py3-none-any.whl (44.3 kB) | File type Wheel | Python version py2.py3 | Upload date | Hashes View hashes |
Filename, size resdk-12.0.0.tar.gz (208.6 kB) | File type Source | Python version None | Upload date | Hashes View hashes |
Hashes for resdk-12.0.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e156e0e431a9ea25b4ea185eb55e4534d4b4810d3e745ea8811c2abec6739d79 |
|
MD5 | e528bc7a99d088d67f14d3e20bfefea3 |
|
BLAKE2-256 | 7b1ef447d15cb3ab59ba4bb2670fe5ef604299a85daed8b906484c3887a35b9f |