cbioportal-database

Query cBioPortal REST API for cancer genomics mutations, CNAs, and clinical data.

1|Updated Mar 12, 2026
One-click install
npx skills add https://github.com/yf8578/clawomics --skill cbioportal-database-yf8578
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cbioportal-database
Source: https://github.com/yf8578/clawomics/tree/main/skills/cbioportal-database
Command: npx skills add https://github.com/yf8578/clawomics --skill cbioportal-database-yf8578

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests, pandas, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides programmatic access to a vast repository of cancer genomics data, enabling researchers to quickly query mutations, copy number alterations, and clinical information across hundreds of cancer studies.

Core Features & Use Cases

  • Query Mutations: Determine the frequency of mutations for specific genes in various cancer types.
  • Analyze CNAs: Investigate copy number alterations (amplifications, deletions) for genes of interest.
  • Integrate Clinical Data: Link genomic alterations to patient survival and clinical attributes.
  • Use Case: Identify all cancer types where the TP53 gene is frequently mutated and check if these mutations correlate with patient survival outcomes.

Quick Start

Use the cbioportal-database skill to find the mutation frequency of the gene PIK3CA in the BRCA cancer study.

Frequently Asked Questions about cbioportal-database

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I query cancer genomics data for somatic mutations and copy number alterations?

To query cancer genomics data, this skill retrieves somatic mutations, copy number alterations, and clinical information from cBioPortal using the REST API. It requires Python with the `requests` and `pandas` libraries to fetch and manipulate the data.

Can I perform survival analysis by linking genomic alterations to patient clinical data?

Yes, you can perform survival analysis by integrating clinical data with genomic alterations. The skill queries cBioPortal to link patient survival outcomes and clinical attributes with specific gene mutations or copy number alterations.

How do I find the mutation frequency of a specific gene like TP53 across different cancer types?

To find the mutation frequency of a gene like TP53, you can query specific cancer studies to determine mutation frequencies. This facilitates pan-cancer analysis and helps validate oncogenes or tumor suppressors across various cancer types.

Do I need Python and specific libraries to access the cBioPortal REST API?

Yes, you need a Python environment with the `requests` and `pandas` libraries installed. These dependencies are required to programmatically retrieve and manipulate the cancer genomics data from the cBioPortal REST API.

What is the best way to analyze copy number alterations for a gene of interest in a specific cancer study?

The best way to analyze copy number alterations is by querying the target cancer study through this skill. It retrieves CNA data, allowing you to investigate amplifications and deletions for genes of interest using the cBioPortal database.

Are there limitations when using the cbioportal-database skill for pan-cancer analysis?

The primary limitation is dependency on the cBioPortal REST API and requires Python with `requests` and `pandas`. Pan-cancer analysis is facilitated by querying multiple studies, constrained by the data available within the cBioPortal repository.