Sign inSign up

eipm/beacon

By eipm

β€’Updated over 1 year ago

Dockerized GA4GH Beacon

Image
0

1.5K

eipm/beacon repository overview

⁠Beacon

Docker Automated build Docker Pulls Docker Stars Maintainability Deploy to Azure

⁠Introduction

This project is an open source dockerized automated build implementation of the GA4GH Beacon, enabling researchers to light their own beacon with a single command line.

⁠About Beacon

The Beacon Project is a simple, open web service that balances the desire of international sites to share genomic data with the need for data protection. Beacons can be implemented by any institution and enable users to determine whether a database contains a genetic variant of interest. Queries such as, "Do you have any genomes with an 'A' at position 100,735 on chromosome 3" (or similar data) are met with either "Yes" or "No.” The Beacon Network β€” the collection of all organizations that have β€œlit" beacons β€” can be queried using the Beacon API or a web-based search engine to determine which, if any, sites have a variant of interest.

⁠Beacon Resources

⁠About Docker

Docker is an open-source project that automates the deployment of applications inside software containers, by providing an additional layer of abstraction and automation of operating-system-level virtualization on Linux. Docker uses the resource isolation features of the Linux kernel such as cgroups and kernel namespaces, and a union-capable filesystem such as aufs and others to allow independent "containers" to run within a single Linux instance, avoiding the overhead of starting and maintaining virtual machines.

⁠Docker Resources

⁠Launch a test Beacon

  1. Install Docker⁠
  2. Launch Docker Quickstart terminal and type:
docker run -d --name "beacon" \
--restart on-failure:5 \
-p 8080:80 \
eipm/beacon
  1. Browse to http:// 0.0.0.0:8080/beacon on a modern web browser.

⁠Creating your own configuration file

Create your own beacon.conf file using this template⁠.

⁠Adding your own data and configuration file

⁠1. Run a beacon with your own SQLite DB and configuration file
docker run -d --name "beacon" \
--restart on-failure:5 \
-p 8080:80 \
-v my/database/path/beaconData.GRCh37.sqlite:/var/www/html/beacon/ucscBeacon/beaconData.GRCh37.sqlite \
-v /my/beacon/conf/beacon.conf:/var/www/html/beacon/beacon.conf \
eipm/beacon
⁠2. Run a beacon in interactive mode and import your own data and configuration file
⁠A. Launch Beacon with your data
docker run -it --name beacon \
-v my/data/:/data \
-v /my/beacon/conf/beacon.conf:/var/www/html/beacon/beacon.conf \
-p 8080:80 eipm/beacon /bin/bash
⁠B. Run the import dataset command for dataset 'ipm'
cd /var/www/html/beacon/ucscBeacon/; ./query GRCh37 ipm /data/*;
⁠Learn more about supported data formats⁠

Tag summary

Content type

Image

Digest

sha256:f7448ada7…

Size

367.5 MB

Last updated

over 1 year ago

docker pull eipm/beacon