Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

cosmic-database

Skill by davila7

Downloads somatic mutation, Cancer Gene Census, mutational signature, gene fusion and related data from the COSMIC cancer database. Intended for cancer researchers and precision oncology work. Requires a COSMIC account.

  • Score 94
  • 34k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install cosmic-database

Built from the published package, never by AI.

git clone --depth 1 https://github.com/davila7/claude-code-templates /tmp/claude-code-templates && mkdir -p ~/.claude/skills && cp -r /tmp/claude-code-templates/cli-tool/components/skills/scientific/cosmic-database ~/.claude/skills/cosmic-database

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install cosmic-database in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill gives an AI assistant access to COSMIC (Catalogue of Somatic Mutations in Cancer), a cancer genomics database. It uses a download script that takes a COSMIC account email and password and fetches data files by path, such as mutation exports, the Cancer Gene Census, mutational signature profiles, fusion genes, copy number data and resistance mutations. Helper functions return standard file paths for common data types. Example code shows how to load the files with pandas and read VCF files with pysam.

The skill is aimed at cancer researchers, bioinformaticians and precision oncology teams who need COSMIC data in analysis pipelines. Academic users can register for free. Commercial users must license COSMIC through QIAGEN. The skill includes a data reference file that describes the available files and fields.

Written from the project's SKILL.md and checked against it.

What it can do

  • Download mutation dataFetches COSMIC coding mutation exports in TSV or VCF format.
  • Cancer Gene CensusDownloads the expert-curated list of cancer genes and filters by role.
  • Mutational signaturesRetrieves SBS, DBS and ID signature profiles for signature analysis.
  • Gene fusionsDownloads gene fusion events and structural variant data.
  • Copy number and expressionRetrieves copy number alteration and over or under-expression data.
  • Resistance mutationsDownloads drug resistance mutation data with clinical annotations.
  • File path helpersReturns standard COSMIC file paths for common data types by name and assembly.

What you need

  • COSMIC account registered at cancer.sanger.ac.uk
  • Python with requests and pandas installed
  • Commercial COSMIC license from QIAGEN for commercial use

Try asking

  • Download the COSMIC Cancer Gene Census for GRCh38
  • List the oncogenes and tumor suppressors in the Cancer Gene Census
  • Get the COSMIC mutational signature definitions file

Good to know

  • Downloads require a COSMIC account with email and password
  • Commercial users need a license from QIAGEN
  • COSMIC files can be several GB in size
  • GRCh37 is provided as a legacy assembly

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: cli-tool/components/skills/scientific/cosmic-database/SKILL.md, cli-tool/components/skills/scientific/cosmic-database/scripts/download_cosmic.py. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md10 KB
  • references/cosmic_data_reference.md6 KB
  • scripts/download_cosmic.py8 KB

Alternatives to cosmic-database

All alternatives →

Compare with literature-search-arxiv, alphafold-database-fetch-and-analyze or quickgo-database

cosmic-database: common questions

Does the COSMIC skill need an account?

Yes. The source says COSMIC requires authentication for data downloads. Academic users can register for free, and commercial users need a license from QIAGEN.

What cancer data can I get from COSMIC with this skill?

The source lists somatic mutations, the Cancer Gene Census, mutational signatures, gene fusions, structural variants, copy number alterations, gene expression and drug resistance mutations.

Which genome assembly should I use?

The source recommends GRCh38 as the current standard. GRCh37 is described as legacy, for older pipelines.

How do I install cosmic-database?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is cosmic-database free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is cosmic-database safe to use?

It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to cosmic-database?

Similar skills: literature-search-arxiv, alphafold-database-fetch-and-analyze, quickgo-database, peloton.

cosmic-database Install

Add to stack

Loading.