Skip to main content

Resolwe SDK for Python

Project description

Build Status Build (End-to-End) Status Coverage Status Documentation Status Version on PyPI Supported Python versions

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('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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

resdk-7.0.0.tar.gz (347.0 kB view details)

Uploaded Source

Built Distribution

resdk-7.0.0-py2.py3-none-any.whl (58.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file resdk-7.0.0.tar.gz.

File metadata

  • Download URL: resdk-7.0.0.tar.gz
  • Upload date:
  • Size: 347.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/3.6.4

File hashes

Hashes for resdk-7.0.0.tar.gz
Algorithm Hash digest
SHA256 d41b487ff280886583878a9e30c816fd46ef8c174b0d61085470ea5c7dc9581f
MD5 c77c6389ec4cf031f660d2804793da57
BLAKE2b-256 afe4247e6a72296165c48ee1d285c42dbe582a994739ebeb0fe379368bc2bba4

See more details on using hashes here.

File details

Details for the file resdk-7.0.0-py2.py3-none-any.whl.

File metadata

  • Download URL: resdk-7.0.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 58.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/3.6.4

File hashes

Hashes for resdk-7.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c8db57fbacb26c16bf17da22085bcb85175c9618e2010b3e6c3fa7e19b926ae6
MD5 27ed790c487a3a6fa2625757bc29b7fb
BLAKE2b-256 096e0fe0467a304da3dac10ef858dc1f65701181789033c20321217b623d05ba

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page