cbioportal-database
Query cBioPortal for cancer genomics data including somatic mutations, copy number alterations, gene expression, and survival data across hundreds of cancer…
Skill by vitaclaw
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/vitaclaw-cbioportal-database
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend, data, writing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/cbioportal-database
What's inside
- Skill name
cbioportal-database- Description
- Query cBioPortal for cancer genomics data including somatic mutations, copy number alterations, gene expression, and survival data across hundreds of cancer studies. Essential for cancer target validation, oncogene/tumor suppressor analysis, and patient-level genomic profiling.
- License
- LGPL-3.0
- Metadata
- skill-author: Kuan-lin Huang
- Instructions
- 361 lines in SKILL.md · view on GitHub
Before installing
- Instructions call the network
Files (2)
- SKILL.md
- study_exploration.md · references/
SKILL.md (first lines)
# cBioPortal Database
## Overview
cBioPortal for Cancer Genomics (https://www.cbioportal.org/) is an open-access resource for exploring, visualizing, and analyzing multidimensional cancer genomics data. It hosts data from The Cancer Genome Atlas (TCGA), AACR Project GENIE, MSK-IMPACT, and hundreds of other cancer studies — covering mutations, copy number alterations (CNA), structural variants, mRNA/protein expression, methylation, and clinical data for thousands of cancer samples.
**Key resources:**
- cBioPortal website: https://www.cbioportal.org/
- REST API: https://www.cbioportal.org/api/
- API docs (Swagger): https://www.cbioportal.org/api/swagger-ui/index.html
- Python client: `bravado` or `requests`
- GitHub: https://github.com/cBioPortal/cbioportal
## When to Use This Skill
Use cBioPortal when:
- **Mutation landscape**: What fraction of a cancer type has mutations in a specific gene?
- **Oncogene/TSG validation**: Is a gene frequently mutated, amplified, or deleted in cancer?
- **Co-mutation patterns**: Are mutations in gene A and gene B mutually exclusive or co-occurring?
- **Survival analysis**: Do mutations in a gene associate with better or worse patient outcomes?
- **Alteration profiles**: What types of alterations (missense, truncating, amplification, deletion) affect a gene?
- **Pan-cancer analysis**: Compare alteration frequencies across cancer types
- **Clinical associations**: Link genomic alterations to clinical variables (stage, grade, treatment response)
- **TCGA/GENIE exploration**: Systematic access to TCGA and clinical sequencing datasets
## Core Capabilities
### 1. cBioPortal REST API
Base URL: `https://www.cbioportal.org/api`
The API is RESTful, returns JSON, and requires no API key for public data.
```python
import requests
BASE_URL = "https://www.cbioportal.org/api"
HEADERS = {"Accept": "application/json", "Content-Type": "application/json"}
def cbioportal_get(endpoint, params=None):
url = f"{BASE_URL}/{endpoint}"
response = requests.get(url, params=params, headers=HEADERS)
response.raise_for_status()
return response.json()
def cbioportal_post(endpoint, body):
url = f"{BASE_URL}/{endpoint}"
response = requests.post(url, json=body, headers=HEADERS)
response.raise_for_status()
return response.json()
```
### 2. Browse Studies
```python
def get_all_studies():
"""List all available cancer studies."""
return cbioportal_get("studies", {"pageSize": 500})
# Each study has:
# studyId: unique identifier (e.g., "brca_tcga")
# name: human-readable name
# description: dataset description
# cancerTypeId: cancer type abbreviation
# referenceGenome: GRCh37 or GRCh38
# pmid: associated publication
studies = get_all_studies()
print(f"Total studies: {len(studies)}")
# Common TCGA study IDs:
# brca_tcga, luad_tcga, coadread_tcga, gbm_tcga, prad_tcga,
# skcm_tcga, blca_tcga, hnsc_tcga, lihc_tcga, stad_tcga
# Filter for TCGA studies
tcga_studies = [s for s in studies if "tcga" in s["studyId"]]
print([s["studyId"] for s in tcga_studies[:10]])
```
### 3. Molecular Profiles
Each study has multiple molecular profiles (mutation, CNA, expression, etc.):
```python
def get_molecular_profiles(study_id):
"""Get all molecular profiles for a study."""
return cbioportal_get(f"studies/{study_id}/molecular-profiles")
profiles = get_molecular_profiles("brca_tcga")
for p in profiles:
print(f" {p['molecularProfileId']}: {p['name']} ({p['molecularAlterationType']})")
# Alteration types:
# MUTATION_EXTENDED — somatic mutations
# COPY_NUMBER_ALTERATION — CNA (GISTIC)
# MRNA_EXPRESSION — mRNA expression
# PROTEIN_LEVEL — RPPA protein expression
# STRUCTURAL_VARIANT — fusions/rearrangements
```
### 4. Mutation Data
```python
def get_mutations(molecular_profile_id, entrez_gene_ids, sample_list_id=None):
"""Get mutations for specified genes in a molecular profile."""
body = {
"entrezGeneIds": entrez_gene_ids,
"sampleListId": sample_list_id or molecular_profile_id.replace("_mutations", "_all")
}
return cbioportal_post(
f"molecular-profiles/{molecular_profile_id}/mutations/fetch",
body
)
# BRCA1 Entrez ID is 672, TP53 is 7157, PTEN is 5728
mutations = get_mutations("brca_tcga_mutations", entrez_gene_ids=[7157]) # TP53
# Each mutation record contains:From vitaclaw/vitaclaw, LGPL-3.0.
More from vitaclaw/vitaclaw
- 0.491score
chronic-condition-monitor
vitaclaw
Monitors multiple chronic disease indicators (BP, glucose, HbA1c, lipids, uric acid, creatinine, eGFR, liver function) against Chinese clinical guidelines.
SkillDFreshness: D★ 23Claude Code +9 - 0.491score
apple-health-digest
vitaclaw
Parse Apple Health export (export.xml) and correlate wearable data with medical treatment history — optimized for oncology patients tracking health metrics…
SkillDFreshness: D★ 23Claude Code +9 - 0.491score
annual-checkup-advisor
vitaclaw
Orchestrates comprehensive annual checkup interpretation by coordinating report parsing, lab interpretation, family history analysis, genetic risk scoring…
SkillDFreshness: D★ 23Claude Code +9 - 0.486score
bio-tumor-fraction-estimation
vitaclaw
Estimates circulating tumor DNA fraction from shallow whole-genome sequencing using ichorCNA.
SkillDFreshness: D★ 23Claude Code +9 - 0.486score
blood-pressure-tracker
vitaclaw
Records and classifies blood pressure readings per ACC/AHA 2017 guidelines, detects morning surge, analyzes diurnal variation, and generates monthly statistics.
SkillDFreshness: D★ 23Claude Code +9 - 0.486score
body-composition-analyzer
vitaclaw
Analyzes body composition metrics including body fat percentage, muscle mass, visceral fat, and BMI.
SkillDFreshness: D★ 23Claude Code +9 - 0.486score
breathing-exercise-guide
vitaclaw
Provides structured breathing exercise programs for stress relief, sleep improvement, focus enhancement, and anxiety management.
SkillDFreshness: D★ 23Claude Code +9 - 0.486score
caffeine-sleep-advisor
vitaclaw
Analyzes the relationship between caffeine consumption and sleep quality by coordinating caffeine tracking, sleep analysis, and trend correlation.
SkillDFreshness: D★ 23Claude Code +9 - 0.486score
caffeine-tracker
vitaclaw
Tracks daily caffeine intake from beverages, models residual caffeine using half-life decay (t1/2=5.7h), and predicts safe sleep time.
SkillDFreshness: D★ 23Claude Code +9 - 0.486score
cancer-nutrition-coach
vitaclaw
Performs nutritional assessment and diet plan generation for cancer patients using NRS-2002 scoring and LLM-based dietary recommendations.
SkillDFreshness: D★ 23Claude Code +9 - 0.486score
checkup-report-interpreter
vitaclaw
Interprets physical examination reports by parsing PDF files into structured data, identifying abnormalities with severity grading, and generating clinical…
SkillDFreshness: D★ 23Claude Code +9 - 0.486score
chronic-pain-manager
vitaclaw
Manages chronic pain through pain diary logging, pattern analysis, weather and activity correlation, and non-pharmacological intervention suggestions.
SkillDFreshness: D★ 23Claude Code +9
Signals
- Stars
- 23
- Forks
- 4
- Open issues
- 0
- Last commit (this folder)
- Mar 11, 2026 (7 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- LGPL-3.0
- Repository
- github.com/vitaclaw/vitaclaw
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.260score
cbioportal-database
Vaishnav14220
Query cBioPortal for cancer genomics data including somatic mutations, copy number alterations, gene expression, and survival data across hundreds of cancer…
SkillDFreshness: D★ 1Claude Code +9 - 0.247score
cbioportal-database
ShawnXiha
Query cBioPortal for cancer genomics data including somatic mutations, copy number alterations, gene expression, and survival data across hundreds of cancer…
SkillDFreshness: DClaude Code +9
More from vitaclaw
- 0.491score
chronic-condition-monitor
vitaclaw
Monitors multiple chronic disease indicators (BP, glucose, HbA1c, lipids, uric acid, creatinine, eGFR, liver function) against Chinese clinical guidelines.
SkillDFreshness: D★ 23Claude Code +9 - 0.491score
annual-checkup-advisor
vitaclaw
Orchestrates comprehensive annual checkup interpretation by coordinating report parsing, lab interpretation, family history analysis, genetic risk scoring…
SkillDFreshness: D★ 23Claude Code +9 - 0.491score
apple-health-digest
vitaclaw
Parse Apple Health export (export.xml) and correlate wearable data with medical treatment history — optimized for oncology patients tracking health metrics…
SkillDFreshness: D★ 23Claude Code +9 - 0.486score
allergy-manager
vitaclaw
Manages allergy profiles including food, environmental, and drug allergies.
SkillDFreshness: D★ 23Claude Code +9 - 0.486score
blood-pressure-tracker
vitaclaw
Records and classifies blood pressure readings per ACC/AHA 2017 guidelines, detects morning surge, analyzes diurnal variation, and generates monthly statistics.
SkillDFreshness: D★ 23Claude Code +9 - 0.486score
bio-tumor-fraction-estimation
vitaclaw
Estimates circulating tumor DNA fraction from shallow whole-genome sequencing using ichorCNA.
SkillDFreshness: D★ 23Claude Code +9
Cite this page
cbioportal-database skill. Agent Mart. https://agentmart.dev/skills/vitaclaw-cbioportal-database (last updated 2026-10-24)