Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

  1. OpenCGA binaries
  2. MongoDB 4.0
  3. Solr 6.6 ( default
  4. init script ( install catalog and start populating data if user select)

Once user 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 user also wish to load some demo data, just pass skipLoad=false option to 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 spec).


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): 

Code Block
titleRun 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 : 

Code Block
titleRun 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 :

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

Solr Dashboard will be available on the following address: 

Code Block
titleSolr Dashboard
http://OpenCGA-Demo-Container-IP:8983/solr

To connect with OpenCGA demo container : 

Code Block
titleConnect OpenCGA Demo Container
docker exec -it demo bash

To see OpenCGA demo container logs : 

Code Block
titleGet Container Logs
docker logs demo -f