Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 24 Next »

OpenCGA has published a "ready to run" docker image under the repository opencb/opencga-demo for quick testing and playing without going through hassle to learn, wait and install each and every component of OpenCGA. Once users pull this image, they can immediately run and use OpenCGA. This image contains the following components :

  1. OpenCGA binaries
  2. MongoDB 4.0
  3. Solr 6.6 (default
  4. init.sh, a bash script to install OpenCGA catalog and populate data (optional)

Once users run opencga demo image, on first run, it will install catalog in mongoDB, start REST server (on port 9090) and start OpenCGA daemon. By default, it won't load any data, In case users also wish to load some demo data, just set the option skipLoad to false instruct container to load data. This will instruct OpenCGA Demo container to download data from Corpasome project, load, annotate, calculate stats and index into Solr search engine. This process roughly takes 35-40 min depending on internet speed and machine specifications.

Following are few of useful docker commands, URLs and addresses to interact with OpenCGA demo container :

Start OpenCGA demo container without loading any variant demo data (Quick Option): 

Run OpenCGA Demo (Default skipLoad True)
docker run --name demo -d opencb/opencga-demo:1.4.1

Start OpenCGA demo container with loading variant demo data : 

Run OpenCGA Demo (skipLoad False)
docker run --name demo -e skipLoad=false -d opencb/opencga-demo:1.4.1 

OpenCGA will listen on the following address :

OpenCGA REST Server
http://OpenCGA-Demo-Container-IP:9090/opencga/webservices/rest/v1/users/create

Solr Dashboard will be available on the following address: 

Solr Dashboard
http://OpenCGA-Demo-Container-IP:8983/solr

To connect with OpenCGA demo container : 

Connect OpenCGA Demo Container
docker exec -it demo bash

To see OpenCGA demo container logs : 

Get Container Logs
docker logs demo -f
  • No labels