Skip to content
vanallenlabPublic

About

Molecular Oncology Almanac, a clinical interpretation algorithm paired with a novel underlying knowledge base for precision cancer medicine

Topics

Resources

Contributing

Stars

43 stars

Watchers

4 watching

Forks

Repository files navigation

DOI License: CC BY 4.0 License: GPL v2

Molecular Oncology Almanac is a clinical interpretation algorithm for cancer genomics to annotate and evaluate whole-exome and transcriptome genomic data from individual patient samples. Specifically, Molecular Oncology Almanac can:

  • Identify mutations and genomic features related to therapeutic sensitivity and resistance and of prognostic relevance.
  • Annotate somatic and germline variants based on their presence in several datasources.
  • Sort and evaluate somatic mutations from single nucleotide variants, insertions and deletions, copy number alterations, and fusions based on clinical and biological relevance.
  • Integrate data types to observe which genes have been altered in both the somatic and germline setting.
  • Extract and evaluate germline mutations relevant to adult and hereditary cancers.
  • Identify overlap between somatic variants observed from both DNA and RNA, or any other source of validation sequencing.
  • Identify somatic and germline variants that may be related to microsatellite stability.
  • Calculate coding mutational burden and compare your patient to TCGA.
  • Identify genomic features that may be related to one another.
  • Create portable web-based actionability reports, summarizing clinically relevant findings.

It is supported by our underlying manually curated precision oncology knowledge base.

You can view additional documentation, including descriptions of inputs and outputs, within the docs folder of this repository.

Getting Molecular Oncology Almanac

The codebase is available for download through this GitHub repository, DockerHub, and Terra. Accessing Molecular Oncology Almanac through GitHub will require building some of the datasources but they are also contained in the Docker container.

Installation

Download

This repository along with datasources and dependencies are packaged with Docker and can be downloaded with the command:

docker pull vanallenlab/moalmanac:latest

Alternatively, this can be downloaded through GitHub by either using the website or terminal. To download on the website, navigate to the top of this page, click the green Clone or download button, and select Download ZIP to download this repository in a compressed format. To install using GitHub on terminal, type:

git clone https://github.com/vanallenlab/moalmanac.git
cd moalmanac

Python dependencies

This repository supports Python 3.14. We recommend managing your environment with Conda-forge's installer Miniforge.

Run the following from this repository's directory to create a virtual environment and install dependencies with Miniforge:

conda env create -f environment.yaml
conda activate moalmanac

The environment.yaml file specifies Python 3.14 and delegates package installation to pip using pyproject.toml. No separate pip install step is needed.

Or, if you prefer not to use conda, you can use a standard virtual environment:

python3.14 -m venv venv
source venv/bin/activate

If using VS Code, open the repository folder and select the interpreter via Command Palette → Python: Select Interpreter, then choose moalmanac, or what you named your virtual environment, from the list.

Then install dependencies using one of the following two options:

Reproducible install (recommended)

Install from the requirements-lock.txt file to get the exact same package versions used in Docker and the verified test environment:

pip install -r requirements-lock.txt

Standard install

Install directly from pyproject.toml with the latest compatible versions:

pip install .

A new requirements lock file can be generated with:

pip-compile --output-file=requirements-lock.txt pyproject.toml

Running tests

Unit tests are in tests and run with pytest. Run the following from this repository's directory:

pytest

Usage

Usage documentation can be found within the moalmanac/ directory of this repository.

Contributing

Please follow our contribution instructions if you are interested in contributing to this project.

Citation

The Molecular Oncology Almanac database is available under CC BY 4.0, which requires appropriate credit. If you use the database, or find this tool or any code herein useful, please cite:

Reardon, B., Moore, N.D., Moore, N.S., et al. Integrating molecular profiles into clinical frameworks through the Molecular Oncology Almanac to prospectively guide precision oncology. Nat Cancer (2021). https://doi.org/10.1038/s43018-021-00243-3

Where relevant, please also cite the version of the database used with its Zenodo DOI.

  • The concept DOI always points to the latest version: https://doi.org/10.5281/zenodo.17089309.
  • Each release also has a version-specific DOI. We began minting Zenodo DOIs with our 2025-09-04 release; if you would like a DOI for a prior version, please contact us.

License

Disclaimer

For purposes of this Disclaimer, the “Service” means the Molecular Oncology Almanac database, software, API, browsers, and related materials.

THIS DATABASE AND SOFTWARE HAVE NOT BEEN VALIDATED FOR DIAGNOSTIC OR CLINICAL USE, AND DANA-FARBER CANCER INSTITUTE (DFCI) MAKES NO WARRANTY OF FITNESS FOR DIAGNOSTIC OR CLINICAL USE. USERS ARE SOLELY RESPONSIBLE FOR ENSURING THAT THEIR ACCESS TO AND USE OF THE DATABASE, SOFTWARE, API, BROWSERS, AND RELATED MATERIALS COMPLIES WITH ALL APPLICABLE LAWS, REGULATIONS, INSTITUTIONAL POLICIES, AND ETHICAL REQUIREMENTS, INCLUDING ANY REQUIREMENTS APPLICABLE TO RESEARCH INVOLVING HUMAN SUBJECTS OR HUMAN-DERIVED DATA. DFCI MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT OR VALIDITY OF ANY INTELLECTUAL PROPERTY RIGHTS OR CLAIMS, WHETHER ISSUED OR PENDING, AND THE ABSENCE OF LATENT OR OTHER DEFECTS, WHETHER OR NOT DISCOVERABLE.

In no event shall DFCI or its trustees, directors, officers, employees, students, affiliates, core faculty, associate faculty and contractors be liable for incidental, punitive, consequential or special damages, including economic damages or injury to persons or property or lost profits, regardless of whether the party was advised, had other reason to know or in fact knew of the possibility of the foregoing, regardless of fault, and regardless of legal theory or basis. To the extent liability cannot be disclaimed, DFCI’s liability shall be limited to direct, actual damages resulting from DFCI’s failure to perform its obligations under the applicable terms.

The Molecular Oncology Almanac database is made available under the Creative Commons Attribution 4.0 International License (CC BY 4.0), which permits use, including commercial use, provided appropriate credit is given. The software is licensed under the GNU General Public License, Version 2 (GPL v2). Certain third-party code or materials may be subject to separate license terms. For additional terms governing access to and use of the Service, please see the Terms of Use.

About

Molecular Oncology Almanac, a clinical interpretation algorithm paired with a novel underlying knowledge base for precision cancer medicine

Topics

Resources

Contributing

Stars

43 stars

Watchers

4 watching

Forks

Releases

Contributors

Languages