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 | 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
File details
Details for the file resdk-13.5.0.tar.gz
.
File metadata
- Download URL: resdk-13.5.0.tar.gz
- Upload date:
- Size: 228.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d327a5f28e798ebad330d91e8aa50eca83854474390af80cd86297eb140c3b90 |
|
MD5 | 75dc99865012d544cd615677794e3f90 |
|
BLAKE2b-256 | c274496e35b4d50a4b7526093eefe33c5ff04294396c6a696021e18216927d46 |
File details
Details for the file resdk-13.5.0-py3-none-any.whl
.
File metadata
- Download URL: resdk-13.5.0-py3-none-any.whl
- Upload date:
- Size: 58.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11ddc5a62420472b8dd9cfad9bdb512deedc8b4c06b0b60db18fb54ce4537608 |
|
MD5 | 3857764e19d5f05726ec9c52be4b0686 |
|
BLAKE2b-256 | cc817b56b0bf363aa40b633058e7f4fa51f0d41ac9d709faee603829d3469ee0 |