PT - JOURNAL ARTICLE AU - Julien Delafontaine AU - Sylvain Pradervand TI - A RESTful API to serve BAM file with OAuth2 compatible authorization AID - 10.1101/151787 DP - 2017 Jan 01 TA - bioRxiv PG - 151787 4099 - http://biorxiv.org/content/early/2017/06/19/151787.short 4100 - http://biorxiv.org/content/early/2017/06/19/151787.full AB - Summary Bam-server is an open-source RESTful service to query slices of BAM files securely and manage their user accesses. A typical use case is the visualization of local read alignments in a web interface for variant calling diagnostic, without exposing sensitive data to unauthorized users through the network, and without moving the original - heavy - file. Bam-server follows the standard implementation of a protected resource server in the context of a typical token-based authorization protocol, supporting HMAC- and RSA-hashed signatures from an authorization server of choice.Availability The source code is available at https://github.com/chuv-ssrc/bam-server-scala, and a complete documentation can be found at http://bam-server-scala.readthedocs.io/en/latest/.Contact sylvain.pradervand{at}chuv.ch