The Molecular Signatures Database (MSigDB) is a comprehensive, freely accessible collection of annotated gene sets designed for use with Gene Set Enrichment Analysis (GSEA). It systematically organizes tens of thousands of gene sets into major collections, including positional, curated, motif, computational, Gene Ontology, oncogenic, and immunologic signatures, enabling researchers to identify statistically significant, concordant biological patterns in expression data.
Glossary
Molecular Signatures Database (MSigDB)

What is the Molecular Signatures Database (MSigDB)?
A foundational resource for functional genomics, providing annotated gene sets to interpret the biological meaning of large-scale gene expression experiments.
Developed at the Broad Institute, MSigDB's most widely used subset is the Hallmark gene sets, a refined collection of 50 specific biological states generated by a computational methodology that reduces redundancy and noise from overlapping founder sets. The database is distributed in the GMT file format, a tab-delimited structure where each row defines a gene set name, a description, and its constituent gene identifiers, ensuring compatibility with pathway analysis tools.
Core MSigDB Collections
The Molecular Signatures Database organizes over 30,000 annotated gene sets into distinct collections based on their source and biological theme, enabling targeted hypothesis testing in pathway enrichment analysis.
Hallmark Gene Sets
A refined collection of 50 well-characterized biological states and processes generated by a computational methodology that reduces redundancy and noise from overlapping founder gene sets. These sets provide a concise, non-redundant summary of major biological signatures.
- Derived by coalescing thousands of overlapping gene sets from other MSigDB collections
- Each hallmark represents a coherent, sharply defined biological process (e.g., Epithelial-Mesenchymal Transition, Inflammatory Response)
- Serves as the default starting point for most GSEA analyses due to manageable size and high interpretability
C2: Curated Gene Sets
The largest collection, comprising gene sets manually curated from published literature and expert knowledge bases. Subdivided into CGP (Chemical and Genetic Perturbations) and CP (Canonical Pathways).
- CGP: Signatures from genetic perturbation experiments (knockouts, knockdowns) and drug treatment studies
- CP: Aggregated from pathway databases including KEGG, Reactome, WikiPathways, and BioCarta
- Contains over 6,000 gene sets representing experimentally validated biological mechanisms
C5: Gene Ontology
Gene sets derived from the Gene Ontology (GO) controlled vocabulary, organized across three orthogonal ontologies: Biological Process (BP), Molecular Function (MF), and Cellular Component (CC).
- Provides species-independent functional annotations for gene products
- Enables systematic assessment of functional enrichment at multiple levels of the GO hierarchy
- Contains over 10,000 gene sets spanning the complete GO directed acyclic graph
C6: Oncogenic Signatures
Gene sets representing signatures of cellular pathways disrupted in cancer, derived from microarray data of cancer cell lines with controlled perturbations of oncogenes and tumor suppressors.
- Captures transcriptional consequences of activated oncogenes (e.g., KRAS, MYC) and inactivated tumor suppressors (e.g., TP53, RB1)
- Essential for linking enrichment results to specific cancer-driving molecular events
- Contains 189 gene sets from systematic perturbation experiments
C7: Immunologic Signatures
Gene sets representing cell-type-specific and perturbation-specific signatures from immunology studies, curated from microarray data of sorted immune cell populations and controlled immune system perturbations.
- Covers lymphoid and myeloid lineages, including T-cell subsets, B-cells, NK cells, and dendritic cells
- Includes signatures of cytokine stimulation, vaccination responses, and immune checkpoint modulation
- Critical resource for immuno-oncology and autoimmune disease research with 4,872 gene sets
C3: Regulatory Target Gene Sets
Gene sets based on transcription factor binding sites and microRNA target predictions, organized into TFT (Transcription Factor Targets) and MIR (microRNA Targets) sub-collections.
- TFT: Genes sharing conserved transcription factor binding motifs in promoter regions (-2kb to +2kb of TSS)
- MIR: Genes containing predicted microRNA seed sequence matches in 3'-UTRs
- Enables inference of upstream regulators driving observed expression changes
How MSigDB Integrates with GSEA
The Molecular Signatures Database serves as the foundational annotation resource that powers Gene Set Enrichment Analysis, providing the curated gene sets against which ranked expression data is statistically evaluated.
Gene Set Enrichment Analysis (GSEA) operates by evaluating whether members of a predefined gene set are randomly distributed or clustered at the extremes of a ranked gene list. MSigDB supplies these predefined sets—organized into collections like Hallmark, C2 (curated), and C5 (Gene Ontology)—which are loaded via the GMT file format to define the biological hypotheses being tested against the experimental data.
During execution, the GSEA algorithm iterates through every gene set in the specified MSigDB collection, calculating an enrichment score (ES) using a weighted running sum statistic. The resulting normalized enrichment scores (NES) and false discovery rates (FDR) are then corrected for multiple hypothesis testing across the entire database, enabling researchers to identify which MSigDB-defined pathways show statistically significant, concordant differences between biological states.
Frequently Asked Questions
Clear, technically precise answers to the most common questions about the Molecular Signatures Database, its structure, and its role in gene set enrichment analysis.
The Molecular Signatures Database (MSigDB) is a comprehensive, freely available collection of annotated gene sets designed for use with Gene Set Enrichment Analysis (GSEA). It is structured into a hierarchical taxonomy of collections. The primary divisions include Hallmark gene sets, which represent specific, well-defined biological states or processes generated by a computational methodology that reduces redundancy; Curated gene sets (C2), comprising online pathway databases and published literature; Regulatory target gene sets (C3) based on transcription factor and microRNA target predictions; Computational gene sets (C4) defined by co-expression neighborhoods in cancer; Gene Ontology gene sets (C5) organized by biological process, molecular function, and cellular component; Oncogenic signature gene sets (C6) derived from perturbed cellular pathways; and Immunologic signature gene sets (C7) representing cell states within the immune system. Each gene set is stored in the GMT file format, a tab-delimited text file where each row contains a gene set name, a brief description, and the list of gene identifiers belonging to the set.
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Related Terms
Essential terminology for navigating the Molecular Signatures Database and its role in enrichment analysis.
Hallmark Gene Sets
A refined collection of 50 specific biological states and processes within MSigDB, generated by a computational methodology that reduces redundancy and noise from overlapping founder gene sets. These sets provide a concise summary of well-defined biological signatures, making them a preferred starting point for GSEA to avoid the interpretive complexity of thousands of overlapping pathways.
C5: Gene Ontology Collection
A collection within MSigDB consisting of gene sets derived from the Gene Ontology (GO) controlled vocabulary. It is divided into three sub-ontologies:
- Biological Process (BP): Pathways and larger cellular programs.
- Molecular Function (MF): Elemental activities at the molecular level.
- Cellular Component (CC): Locations where gene products are active.
C2: Curated Gene Sets
A comprehensive collection compiled from online pathway databases, publications, and expert domain knowledge. It includes the Canonical Pathways sub-collection (from KEGG, Reactome, and BioCarta) and the Chemical and Genetic Perturbations sub-collection, which captures signatures of genetic and pharmacological interventions.
Leading-Edge Subset
The core group of genes within an enriched gene set that contributes most significantly to the enrichment signal. These genes appear at the extreme ends of the ranked expression list and are the primary drivers of the biological phenotype. Identifying the leading-edge subset helps pinpoint the key molecular players in a pathway.
GMT File Format
A tab-delimited text file format used to store gene set databases like MSigDB. Each row contains a gene set name, a brief description, and the list of gene identifiers belonging to the set. This simple, portable format allows for easy custom gene set creation and sharing between analysis tools.

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us