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 2.7 or Python 3 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('mouse-example-chr19')
# 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-2.0.1.tar.gz
.
File metadata
- Download URL: resdk-2.0.1.tar.gz
- Upload date:
- Size: 480.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 338ced07c51793c31e1e0b70a652e3a459425d847aa93f54dd32da7ae89ba56d |
|
MD5 | d4a76c9fdcee89b630d11953c7020c17 |
|
BLAKE2b-256 | e5c2b6cdafcfc1f53dee319f93480914db0d24320c3707ee09487fbe6ed3d1ad |
File details
Details for the file resdk-2.0.1-py2.py3-none-any.whl
.
File metadata
- Download URL: resdk-2.0.1-py2.py3-none-any.whl
- Upload date:
- Size: 60.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8398d9c7d92e7c0d3e41faad3f9053265315d89d91bdaf7ef2afc5cb3835378a |
|
MD5 | 487df104b4ffa35a8f3ca4c01cadd0ed |
|
BLAKE2b-256 | 3693c7ef35a67ef7df0403119cf45cda656a7c592db97be7b7308c5d19d76143 |