Streamline cBioPortal Docker Compose Initialization Setup
Background:
- cBioPortal: cBioPortal is an open-source platform for cancer genomics data analysis and visualization. It provides a centralized resource for exploring and analyzing large-scale cancer genomic data sets, including genomic alterations, gene expression, and clinical information. The platform integrates data from multiple sources, including The Cancer Genome Atlas (TCGA) and the International Cancer Genome Consortium (ICGC), and makes it available through a web interface for researchers, clinicians, and the general public. Please refer to the cBioPortal home page for an overview.
- Docker Compose: We also provide a Docker Compose Setup to allow users to spin up their own local instances of cBioPortal. This approach involves a lot of bash scripts that need to be run as part of the initialization setup, leading to incompatibility issues and silent errors when these scripts are run on varying operating systems.
Goal:
- Streamline the cBioPortal docker compose initialization setup by ensuring consistency across operating systems and eliminating silent errors.
Approach:
- Detect points of failure in the init scripts and eliminate them. Dockerize the init scripts to eliminate dependency on the operating system.
- Ensure the changes are backwards compatible.
- Test changes with other scripts in cbioportal-test repo and localdb tests
Need skills: Familiarity with the command line, bash, docker/docker compose.
Possible mentors: @zainasir
@zainasir Indeed a great issue, It would be a great work to do, I love working with scripts, have explored it for a long time, will love to do this. Also do you want to make some other minor fixes like TODO: servlet-api should be excluded from deps in mvn, the removal below is just a quick fix
Hi @zainasir ,
I have few question in my mind.
- Are there any know issues or some parts of the init script that have previously caused some problem?
- Are there any existing discussions, issues, or resources you recommend looking into to better understand the scope of the improvements needed?
Hi @zainasir , I came across this issue regarding streamlining the Docker Compose initialization setup, and I’d love to contribute! Ensuring cross-platform compatibility and eliminating silent errors sounds like a great way to improve the developer experience.
- Are there any specific recurring issues reported due to the init scripts?
- Should the goal be to fully replace the existing scripts or provide an optional Dockerized alternative initially?
- Have there been particular challenges on certain OS environments (Windows, macOS, Linux)?
Would love to hear your Insights..
Hi @zainasir ,
I'm Nisma amjad, a Research Engineer at the Sorbonne University (ISIR lab) & the cancer hospital, the Institute Curie, in France. I am working on open-source developing tools like "Yomix" for omics data analysis and to visualise low embeddings while collaborating with teams from Cornell, Josh Waterfall Lab, and ISIR.
I'm interested in the cBioPortal Docker Compose project. I have experience working with large-scale omics datasets (TCGA, GTEx, PMBC). I’d love to discuss how I can contribute to the project.
here is my LinkedIn: https://www.linkedin.com/in/nisma-amjad-79730019b/
here is my project: https://github.com/perrin-isir/yomix
@zainasir This seems very interesting. Dockerizing the init scripts with Compose is a solid direction and would help avoid many OS-specific issues. I have DevOps experience in similar setups and am interested in this approach. Just to clarify, does "backwards compatible" mean that the changes should work with the existing test scripts in the cbioportal-test repo without causing any issues?
@zainasir This seems very interesting. Dockerizing the init scripts with Compose is a solid direction and would help avoid many OS-specific issues. I have DevOps experience in similar setups and am interested in this approach. Just to clarify, does "backwards compatible" mean that the changes should work with the existing test scripts in the cbioportal-test repo without causing any issues?
Yes, and also backwards compatibility with itself. We have a lot of users who use the docker compose setup to host their own cbioportal instances. Any changes introduced should not break their portals and should allow them to seamlessly upgrade.
Yes, and also backwards compatibility with itself. We have a lot of users who use the docker compose setup to host their own cbioportal instances. Any changes introduced should not break their portals and should allow them to seamlessly upgrade.
Ah, got it. Thanks for clarifying. I recently came across this map https://www.cbioportal.org/installations showing users who’ve hosted their own instances — helps put backwards compatibility into perspective. Exploring the current setup further.
@zainasir I have worked with Docker Compose I see there bunch of Init scripts in study, config, root, Clickhouse . I have dockerized the root init script with all dirs it works fine . for Backward compatibilty also it works well Because I have used Bash Image for Container . I have faced some errors in seed files of clickhouse and sql