Skip to content

Latest commit

 

History

History
91 lines (62 loc) · 2.85 KB

README.rst

File metadata and controls

91 lines (62 loc) · 2.85 KB

Resolwe SDK for Python

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 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('admin', 'admin', 'https://torta.bcm.genialis.com')

# Print command details to stdout
resdk.start_logging()

# Get sample meta-data from the server
sample = res.sample.get('human-example-chr22')

# 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.