cosmic-database

Official

Automate cancer mutation data access, accelerate precision oncology.

AuthorK-Dense-AI
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Manually navigating and downloading vast cancer mutation data from COSMIC is complex and time-consuming. This Skill automates authenticated access to COSMIC, streamlining cancer research, precision oncology, and bioinformatics pipelines by providing rapid access to critical genomic data.

Core Features & Use Cases

  • Mutation Data Download: Retrieve comprehensive somatic mutations (SNVs, indels), structural variants, and gene fusions in TSV, CSV, or VCF formats.
  • Cancer Gene Census: Access the expert-curated list of ~700+ cancer genes, including their roles (oncogene, tumor suppressor) and associated mutation types.
  • Mutational Signatures: Download signature profiles (SBS, DBS, ID) for advanced mutational signature analysis, aiding in understanding cancer etiology.
  • Use Case: Automatically download the latest COSMIC mutation data for a specific gene (e.g., TP53) and filter it by lung cancer samples, providing immediate, actionable insights for targeted therapy research.

Quick Start

Download the Cancer Gene Census (replace with your COSMIC credentials)

from scripts.download_cosmic import download_cosmic_file download_cosmic_file( email="your_email@institution.edu", password="your_password", filepath="GRCh38/cosmic/latest/cancer_gene_census.csv", output_filename="cancer_gene_census.csv" )

Read the downloaded data with pandas

import pandas as pd gene_census = pd.read_csv('cancer_gene_census.csv') print(gene_census.head())

Dependency Matrix

Required Modules

requestspandaspysam

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: cosmic-database
Download link: https://github.com/K-Dense-AI/claude-scientific-skills/archive/main.zip#cosmic-database

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository