본문으로 건너뛰기
Skillpedia
데이터베이스33k · #8935

cosmic-database

하는 일

이 스킬은 인간 암에서 발견된 변이의 대규모 데이터베이스 COSMIC을 에이전트가 다루도록 합니다. 암 연구자와 정밀 종양학 팀에 맞습니다. COSMIC은 데이터 다운로드에 계정이 필요합니다.

사용하는 경우

  • ✓암에서 특정 유전자의 체세포 변이를 찾아봐야 할 때.
  • ✓큐레이션된 암 유전자 센서스 목록이 필요할 때.
  • ✓암 연구를 위한 돌연변이 시그니처 프로파일이 필요할 때.

스킬 링크

https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/scientific/cosmic-database/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/scientific/cosmic-database/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“COSMIC에서 Cancer Gene Census 목록을 내려받아, 어떤 유전자가 암 유전자로 큐레이션되어 있는지 보여 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 사용자가 계정으로 로그인한 뒤 도우미 스크립트로 COSMIC 파일을 내려받고, 필요한 데이터를 읽고 필터링합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

COSMIC Database

Overview

COSMIC (Catalogue of Somatic Mutations in Cancer) is the world's largest and most comprehensive database for exploring somatic mutations in human cancer. Access COSMIC's extensive collection of cancer genomics data, including millions of mutations across thousands of cancer types, curated gene lists, mutational signatures, and clinical annotations programmatically.

When to Use This Skill

This skill should be used when:

  • Downloading cancer mutation data from COSMIC
  • Accessing the Cancer Gene Census for curated cancer gene lists
  • Retrieving mutational signature profiles
  • Querying structural variants, copy number alterations, or gene fusions
  • Analyzing drug resistance mutations
  • Working with cancer cell line genomics data
  • Integrating cancer mutation data into bioinformatics pipelines
  • Researching specific genes or mutations in cancer contexts

Prerequisites

Account Registration

COSMIC requires authentication for data downloads:

Python Requirements

uv pip install requests pandas

Quick Start

1. Basic File Download

Use the scripts/download_cosmic.py script to download COSMIC data files:

from scripts.download_cosmic import download_cosmic_file

# Download mutation data
download_cosmic_file(
    email="your_email@institution.edu",
    password="your_password",
    filepath="GRCh38/cosmic/latest/CosmicMutantExport.tsv.gz",
    output_filename="cosmic_mutations.tsv.gz"
)

2. Command-Line Usage

# Download using shorthand data type
python scripts/download_cosmic.py user@email.com --data-type mutations

# Download specific file
python scripts/download_cosmic.py user@email.com \
    --filepath GRCh38/cosmic/latest/cancer_gene_census.csv

# Download for specific genome assembly
python scripts/download_cosmic.py user@email.com \
    --data-type gene_census --assembly GRCh37 -o cancer_genes.csv

3. Working with Downloaded Data

import pandas as pd

# Read mutation data
mutations = pd.read_csv('cosmic_mutations.tsv.gz', sep='\t', compression='gzip')

# Read Cancer Gene Census
gene_census = pd.read_csv('cancer_gene_census.csv')

# Read VCF format
import pysam
vcf = pysam.VariantFile('CosmicCodingMuts.vcf.gz')

Available Data Types

Core Mutations

Download comprehensive mutation data including point mutations, indels, and genomic annotations.

Common data types:

  • mutations - Complete coding mutations (TSV format)
  • mutations_vcf - Coding mutations in VCF format
  • sample_info - Sample metadata and tumor information
# Download all coding mutations
download_cosmic_file(
    email="user@email.com",
    password="password",
    filepath="GRCh38/cosmic/latest/CosmicMutantExport.tsv.gz"
)

Cancer Gene Census

Access the expert-curated list of ~700+ cancer genes with substantial evidence of cancer involvement.

# Download Cancer Gene Census
download_cosmic_file(
    email="user@email.com",
    password="password",
    filepath="GRCh38/cosmic/latest/cancer_gene_census.csv"
)

Use cases:

  • Identifying known cancer genes
  • Filtering variants by cancer relevance
  • Understanding gene roles (oncogene vs tumor suppressor)
  • Target gene selection for research

Mutational Signatures

Download signature profiles for mutational signature analysis.

# Download signature definitions
download_cosmic_file(
    email="user@email.com",
    password="password",
    filepath="signatures/signatures.tsv"
)

Signature types:

  • Single Base Substitution (SBS) signatures
  • Doublet Base Substitution (DBS) signatures
  • Insertion/Deletion (ID) signatures

Structural Variants and Fusions

Access gene fusion data and structural rearrangements.

Available data types:

  • structural_variants - Structural breakpoints
  • fusion_genes - Gene fusion events
# Download gene fusions
download_cosmic_file(
    email="user@email.com",
    password="password",
    filepath="GRCh38/cosmic/latest/CosmicFusionExport.tsv.gz"
)

Copy Number and Expression

Retrieve copy number alterations and gene expression data.

Available data types:

  • copy_number - Copy number gains/losses
  • gene_expression - Over/under-expression data
# Download copy number data
download_cosmic_file(
    email="user@e
자주 묻는 질문

계정이 필요한가요?

네. 스킬은 학술 사용자는 무료로 등록할 수 있고, 상업적 사용에는 라이선스가 필요하다고 말합니다.

누가 무료로 쓸 수 있나요?

등록 후 학술 사용자는 무료이며, 상업적 사용은 QIAGEN의 라이선스가 필요합니다.

어떤 종류의 데이터를 다루나요?

체세포 변이, 유전자 융합, 복제수 변화, 약물 내성 변이를 언급합니다.

상세 정보

작성자의 원본 설명

Access COSMIC cancer mutation database. Query somatic mutations, Cancer Gene Census, mutational signatures, gene fusions, for cancer research and precision oncology. Requires authentication.

repo: davila7/claude-code-templates

인기도

GitHub 스타
33k
순위
#8935
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬