
Depmap
Interpret DepMap Chronos dependency scores and compute cancer-lineage selectivity for target genes in agent-driven oncology research.
Overview
depmap is an agent skill for the Idea phase that explains DepMap Chronos dependency scores, essential-gene controls, and lineage selectivity analysis for oncology research.
Install
npx skills add https://github.com/k-dense-ai/scientific-agent-skills --skill depmapWhat is this skill?
- Chronos v5+ score bands from growth-promoting (>0) through pan-essential (≈−1.0)
- Reference tables for common essential controls (ribosomal, proteasome, spliceosome, replication, transcription)
- Selectivity assessment workflow with pandas/numpy for lineage-specific dependencies
- Explicit mild (−0.3 to −0.5), significant (−0.5 to −1.0), and strong (<−1.0) dependency tiers
- Copy-number and guide-efficiency bias context for v5+ Chronos
- Chronos score interpretation table spans >0 through ≈−1.0 pan-essential median
- Score bands include mild (−0.3 to −0.5), significant (−0.5 to −1.0), and strong (<−1.0) dependency
Adoption & trust: 515 installs on skills.sh; 27.6k GitHub stars; 3/3 security scanners passed (skills.sh audits).
What problem does it solve?
You pulled DepMap gene effect tables but cannot tell pan-essential noise from a lineage-selective dependency worth pursuing.
Who is it for?
Solo researchers or indie bioinformatics builders screening targets with public DepMap data in agent-assisted notebooks.
Skip if: Clinical trial go/no-go without human biostat review, or builders with no access to DepMap datasets and gene naming conventions.
When should I use this skill?
You are analyzing DepMap gene effect or dependency data and need Chronos interpretation or lineage selectivity framing.
What do I get? / Deliverables
You interpret Chronos tiers with control genes in mind and can outline a selectivity computation for your target and lineage.
- Chronos-tier interpretation for a target gene
- Selectivity assessment outline or code path for lineage contrast
Recommended Skills
Journey fit
DepMap interpretation is research-heavy discovery before you commit to a therapeutic or tooling bet—canonical shelf is Idea. Research subphase fits competitive and biological diligence on public CRISPR dependency screens.
How it compares
Use instead of generic “CRISPR essential genes” summaries that omit Chronos v5 bias correction and score calibration.
Common Questions / FAQ
Who is depmap for?
Solo and indie teams using coding agents to explore cancer gene dependencies from DepMap during early research.
When should I use depmap?
Use it in Idea research when ranking targets from DepMap; in Validate scope when documenting why a dependency looks lineage-selective versus pan-essential.
Is depmap safe to install?
See the Security Audits panel on this Prism page; treat downloaded DepMap files and notebook outputs as sensitive research data under your policies.
SKILL.md
READMESKILL.md - Depmap
# DepMap Dependency Analysis Guide ## Understanding Chronos Scores Chronos is the current (v5+) algorithm for computing gene dependency scores from CRISPR screen data. It addresses systematic biases including: - Copy number effects (high-copy genes appear essential due to DNA cutting) - Guide RNA efficiency variation - Cell line growth rates ### Score Interpretation | Score Range | Interpretation | |------------|----------------| | > 0 | Likely growth-promoting when knocked out (some noise) | | 0 to −0.3 | Non-essential: minimal fitness effect | | −0.3 to −0.5 | Mild dependency | | −0.5 to −1.0 | Significant dependency | | < −1.0 | Strong dependency (common essential range) | | ≈ −1.0 | Median of pan-essential genes (e.g., proteasome subunits) | ### Common Essential Genes (Controls) Genes that are essential in nearly all cell lines (score ~−1 to −2): - Ribosomal proteins: RPL..., RPS... - Proteasome: PSMA..., PSMB... - Spliceosome: SNRPD1, SNRNP70 - DNA replication: MCM2, PCNA - Transcription: POLR2A, TAF... These can be used as positive controls for screen quality. ### Non-Essential Controls Genes with negligible fitness effect (score ~ 0): - Non-expressed genes (tissue-specific) - Safe harbor loci ## Selectivity Assessment To determine if a dependency is cancer-selective: ```python import pandas as pd import numpy as np def compute_selectivity(gene_effect_df, target_gene, cancer_lineage): """Compute selectivity score for a cancer lineage.""" scores = gene_effect_df[target_gene].dropna() # Get cell line metadata from depmap_utils import load_cell_line_info cell_info = load_cell_line_info() scores_df = scores.reset_index() scores_df.columns = ["DepMap_ID", "score"] scores_df = scores_df.merge(cell_info[["DepMap_ID", "lineage"]]) cancer_scores = scores_df[scores_df["lineage"] == cancer_lineage]["score"] other_scores = scores_df[scores_df["lineage"] != cancer_lineage]["score"] # Selectivity: lower mean in cancer lineage vs others selectivity = other_scores.mean() - cancer_scores.mean() return { "target_gene": target_gene, "cancer_lineage": cancer_lineage, "cancer_mean": cancer_scores.mean(), "other_mean": other_scores.mean(), "selectivity_score": selectivity, "n_cancer": len(cancer_scores), "fraction_dependent": (cancer_scores < -0.5).mean() } ``` ## CRISPR Dataset Versions | Dataset | Description | Recommended | |---------|-------------|-------------| | `CRISPRGeneEffect` | Chronos-corrected gene effect | Yes (current) | | `Achilles_gene_effect` | Older CERES algorithm | Legacy only | | `RNAi_merged` | DEMETER2 RNAi | For cross-validation | ## Quality Metrics DepMap reports quality control metrics per screen: - **Skewness**: Pan-essential genes should show negative skew - **AUC**: Area under ROC for pan-essential vs non-essential controls Good screens: skewness < −1, AUC > 0.85 ## Cancer Lineage Codes Common values for `lineage` field in `sample_info.csv`: | Lineage | Description | |---------|-------------| | `lung` | Lung cancer | | `breast` | Breast cancer | | `colorectal` | Colorectal cancer | | `brain_cancer` | Brain cancer (GBM, etc.) | | `leukemia` | Leukemia | | `lymphoma` | Lymphoma | | `prostate` | Prostate cancer | | `ovarian` | Ovarian cancer | | `pancreatic` | Pancreatic cancer | | `skin` | Melanoma and other skin | | `liver` | Liver cancer | | `kidney` | Kidney cancer | ## Synthetic Lethality Analysis ```python import pandas as pd import numpy as np from scipy import stats def find_synthetic_lethal(gene_effect_df, mutation_df, biomarker_gene, fdr_threshold=0.1): """ Find synthetic lethal partners for a loss-of-function mutation. For each gene, tests if cell lines mutant in biomarker_gene are more dependent on that gene vs. WT lines. """ if biomarker_gene not in mutation_df.columns: return pd.DataFrame() # Get mutan