[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6M006AR7HGVA86ADRPXVT4M":3,"skill-same:01M6M006AR7HGVA86ADRPXVT4M":69},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":36,"linkOnly":37,"markdownContent":38,"markdownBody":39,"frontMatter":40,"refName":43,"commitSha":44,"skillDirectory":45,"forksCount":13,"repositoryHtmlUrl":46,"repositoryHomepageUrl":6,"ownerHtmlUrl":47,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":48,"install":49,"resources":62},"01M6M006AR7HGVA86ADRPXVT4M","depmap",null,"Query the Cancer Dependency Map (DepMap) for cancer cell line gene dependency scores (CRISPR Chronos), drug sensitivity data, and gene effect profiles. Use for identifying cancer-specific vulnerabilities, synthetic lethal interactions, and validating oncology drug targets.","endman100\u002Fskill-router-nexus","endman100","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F31997019?v=4","01M6KPDX17BYDWW4RRB0TNGGMX","01M6KPDX64Y2QBEWVFG5W5PWPF",0,"CC-BY-4.0","https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FScience\u002Fbioinformatics-and-omics\u002Fdepmap\u002FSKILL.md",[],[5,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35],"cell","oncology","gene","for","profiles","targets","crispr","line","synthetic","vulnerabilities","sensitivity","map","query","dependency","use","effect","data","dependency map","2026-11-10 10:12:30",false,"---\nname: depmap\ndescription: Query the Cancer Dependency Map (DepMap) for cancer cell line gene dependency scores (CRISPR Chronos), drug sensitivity data, and gene effect profiles. Use for identifying cancer-specific vulnerabilities, synthetic lethal interactions, and validating oncology drug targets.\nlicense: CC-BY-4.0\nmetadata:\n    skill-author: Kuan-lin Huang\n---\n\n# DepMap — Cancer Dependency Map\n\n## Overview\n\nThe Cancer Dependency Map (DepMap) project, run by the Broad Institute, systematically characterizes genetic dependencies across hundreds of cancer cell lines using genome-wide CRISPR knockout screens (DepMap CRISPR), RNA interference (RNAi), and compound sensitivity assays (PRISM). DepMap data is essential for:\n- Identifying which genes are essential for specific cancer types\n- Finding cancer-selective dependencies (therapeutic targets)\n- Validating oncology drug targets\n- Discovering synthetic lethal interactions\n\n**Key resources:**\n- DepMap Portal: https:\u002F\u002Fdepmap.org\u002Fportal\u002F\n- DepMap data downloads: https:\u002F\u002Fdepmap.org\u002Fportal\u002Fdownload\u002Fall\u002F\n- Python package: `depmap` (or access via API\u002Fdownloads)\n- API: https:\u002F\u002Fdepmap.org\u002Fportal\u002Fapi\u002F\n\n## When to Use This Skill\n\nUse DepMap when:\n\n- **Target validation**: Is a gene essential for survival in cancer cell lines with a specific mutation (e.g., KRAS-mutant)?\n- **Biomarker discovery**: What genomic features predict sensitivity to knockout of a gene?\n- **Synthetic lethality**: Find genes that are selectively essential when another gene is mutated\u002Fdeleted\n- **Drug sensitivity**: What cell line features predict response to a compound?\n- **Pan-cancer essentiality**: Is a gene broadly essential across all cancer types (bad target) or selectively essential?\n- **Correlation analysis**: Which pairs of genes have correlated dependency profiles (co-essentiality)?\n\n## Core Concepts\n\n### Dependency Scores\n\n| Score | Range | Meaning |\n|-------|-------|---------|\n| **Chronos** (CRISPR) | ~ -3 to 0+ | More negative = more essential. Common essential threshold: −1. Pan-essential genes ~−1 to −2 |\n| **RNAi DEMETER2** | ~ -3 to 0+ | Similar scale to Chronos |\n| **Gene Effect** | normalized | Normalized Chronos; −1 = median effect of common essential genes |\n\n**Key thresholds:**\n- Chronos ≤ −0.5: likely dependent\n- Chronos ≤ −1: strongly dependent (common essential range)\n\n### Cell Line Annotations\n\nEach cell line has:\n- `DepMap_ID`: unique identifier (e.g., `ACH-000001`)\n- `cell_line_name`: human-readable name\n- `primary_disease`: cancer type\n- `lineage`: broad tissue lineage\n- `lineage_subtype`: specific subtype\n\n## Core Capabilities\n\n### 1. DepMap API\n\n```python\nimport requests\nimport pandas as pd\n\nBASE_URL = \"https:\u002F\u002Fdepmap.org\u002Fportal\u002Fapi\"\n\ndef depmap_get(endpoint, params=None):\n    url = f\"{BASE_URL}\u002F{endpoint}\"\n    response = requests.get(url, params=params)\n    response.raise_for_status()\n    return response.json()\n```\n\n### 2. Gene Dependency Scores\n\n```python\ndef get_gene_dependency(gene_symbol, dataset=\"Chronos_Combined\"):\n    \"\"\"Get CRISPR dependency scores for a gene across all cell lines.\"\"\"\n    url = f\"{BASE_URL}\u002Fgene\"\n    params = {\n        \"gene_id\": gene_symbol,\n        \"dataset\": dataset\n    }\n    response = requests.get(url, params=params)\n    return response.json()\n\n# Alternatively, use the \u002Fdata endpoint:\ndef get_dependencies_slice(gene_symbol, dataset_name=\"CRISPRGeneEffect\"):\n    \"\"\"Get a gene's dependency slice from a dataset.\"\"\"\n    url = f\"{BASE_URL}\u002Fdata\u002Fgene_dependency\"\n    params = {\"gene_name\": gene_symbol, \"dataset_name\": dataset_name}\n    response = requests.get(url, params=params)\n    data = response.json()\n    return data\n```\n\n### 3. Download-Based Analysis (Recommended for Large Queries)\n\nFor large-scale analysis, download DepMap data files and analyze locally:\n\n```python\nimport pandas as pd\nimport requests, os\n\ndef download_depmap_data(url, output_path):\n    \"\"\"Download a DepMap data file.\"\"\"\n    response = requests.get(url, stream=True)\n    with open(output_path, 'wb') as f:\n        for chunk in response.iter_content(chunk_size=8192):\n            f.write(chunk)\n\n# DepMap 24Q4 data files (update version as needed)\nFILES = {\n    \"crispr_gene_effect\": \"https:\u002F\u002Ffigshare.com\u002Fndownloader\u002Ffiles\u002F...\",\n    # OR download from: https:\u002F\u002Fdepmap.org\u002Fportal\u002Fdownload\u002Fall\u002F\n    # Files available:\n    # CRISPRGeneEffect.csv - Chronos gene effect scores\n    # OmicsExpressionProteinCodingGenesTPMLogp1.csv - mRNA expression\n    # OmicsSomaticMutationsMatrixDamaging.csv - mutation binary matrix\n    # OmicsCNGene.csv - copy number\n    # sample_info.csv - cell line metadata\n}\n\ndef load_depmap_gene_effect(filepath=\"CRISPRGeneEffect.csv\"):\n    \"\"\"\n    Load DepMap CRISPR gene effect matrix.\n    Rows = cell lines (DepMap_ID), Columns = genes (Symbol (EntrezID))\n    \"\"\"\n    df = pd.read_csv(filepath, index_col=0)\n    # Rename columns to gene symbols only\n    df.columns = [col.split(\" \")[0] for col in df.columns]\n    return df\n\ndef load_cell_line_info(filepath=\"sample_info.csv\"):\n    \"\"\"Load cell line metadata.\"\"\"\n    return pd.read_csv(filepath)\n```\n\n### 4. Identifying Selective Dependencies\n\n```python\nimport numpy as np\nimport pandas as pd\n\ndef find_selective_dependencies(gene_effect_df, cell_line_info, target_gene,\n                                 cancer_type=None, threshold=-0.5):\n    \"\"\"Find cell lines selectively dependent on a gene.\"\"\"\n\n    # Get scores for target gene\n    if target_gene not in gene_effect_df.columns:\n        return None\n\n    scores = gene_effect_df[target_gene].dropna()\n    dependent = scores[scores \u003C= threshold]\n\n    # Add cell line info\n    result = pd.DataFrame({\n        \"DepMap_ID\": dependent.index,\n        \"gene_effect\": dependent.values\n    }).merge(cell_line_info[[\"DepMap_ID\", \"cell_line_name\", \"primary_disease\", \"lineage\"]])\n\n    if cancer_type:\n        result = result[result[\"primary_disease\"].str.contains(cancer_type, case=False, na=False)]\n\n    return result.sort_values(\"gene_effect\")\n\n# Example usage (after loading data)\n# df_effect = load_depmap_gene_effect(\"CRISPRGeneEffect.csv\")\n# cell_info = load_cell_line_info(\"sample_info.csv\")\n# deps = find_selective_dependencies(df_effect, cell_info, \"KRAS\", cancer_type=\"Lung\")\n```\n\n### 5. Biomarker Analysis (Gene Effect vs. Mutation)\n\n```python\nimport pandas as pd\nfrom scipy import stats\n\ndef biomarker_analysis(gene_effect_df, mutation_df, target_gene, biomarker_gene):\n    \"\"\"\n    Test if mutation in biomarker_gene predicts dependency on target_gene.\n\n    Args:\n        gene_effect_df: CRISPR gene effect DataFrame\n        mutation_df: Binary mutation DataFrame (1 = mutated)\n        target_gene: Gene to assess dependency of\n        biomarker_gene: Gene whose mutation may predict dependency\n    \"\"\"\n    if target_gene not in gene_effect_df.columns or biomarker_gene not in mutation_df.columns:\n        return None\n\n    # Align cell lines\n    common_lines = gene_effect_df.index.intersection(mutation_df.index)\n    scores = gene_effect_df.loc[common_lines, target_gene].dropna()\n    mutations = mutation_df.loc[scores.index, biomarker_gene]\n\n    mutated = scores[mutations == 1]\n    wt = scores[mutations == 0]\n\n    stat, pval = stats.mannwhitneyu(mutated, wt, alternative='less')\n\n    return {\n        \"target_gene\": target_gene,\n        \"biomarker_gene\": biomarker_gene,\n        \"n_mutated\": len(mutated),\n        \"n_wt\": len(wt),\n        \"mean_effect_mutated\": mutated.mean(),\n        \"mean_effect_wt\": wt.mean(),\n        \"pval\": pval,\n        \"significant\": pval \u003C 0.05\n    }\n```\n\n### 6. Co-Essentiality Analysis\n\n```python\nimport pandas as pd\n\ndef co_essentiality(gene_effect_df, target_gene, top_n=20):\n    \"\"\"Find genes with most correlated dependency profiles (co-essential partners).\"\"\"\n    if target_gene not in gene_effect_df.columns:\n        return None\n\n    target_scores = gene_effect_df[target_gene].dropna()\n\n    correlations = {}\n    for gene in gene_effect_df.columns:\n        if gene == target_gene:\n            continue\n        other_scores = gene_effect_df[gene].dropna()\n        common = target_scores.index.intersection(other_scores.index)\n        if len(common) \u003C 50:\n            continue\n        r = target_scores[common].corr(other_scores[common])\n        if not pd.isna(r):\n            correlations[gene] = r\n\n    corr_series = pd.Series(correlations).sort_values(ascending=False)\n    return corr_series.head(top_n)\n\n# Co-essential genes often share biological complexes or pathways\n```\n\n## Query Workflows\n\n### Workflow 1: Target Validation for a Cancer Type\n\n1. Download `CRISPRGeneEffect.csv` and `sample_info.csv`\n2. Filter cell lines by cancer type\n3. Compute mean gene effect for target gene in cancer vs. all others\n4. Calculate selectivity: how specific is the dependency to your cancer type?\n5. Cross-reference with mutation, expression, or CNA data as biomarkers\n\n### Workflow 2: Synthetic Lethality Screen\n\n1. Identify cell lines with mutation\u002Fdeletion in gene of interest (e.g., BRCA1-mutant)\n2. Compute gene effect scores for all genes in mutant vs. WT lines\n3. Identify genes significantly more essential in mutant lines (synthetic lethal partners)\n4. Filter by selectivity and effect size\n\n### Workflow 3: Compound Sensitivity Analysis\n\n1. Download PRISM compound sensitivity data (`primary-screen-replicate-treatment-info.csv`)\n2. Correlate compound AUC\u002Flog2(fold-change) with genomic features\n3. Identify predictive biomarkers for compound sensitivity\n\n## DepMap Data Files Reference\n\n| File | Description |\n|------|-------------|\n| `CRISPRGeneEffect.csv` | CRISPR Chronos gene effect (primary dependency data) |\n| `CRISPRGeneEffectUnscaled.csv` | Unscaled CRISPR scores |\n| `RNAi_merged.csv` | DEMETER2 RNAi dependency |\n| `sample_info.csv` | Cell line metadata (lineage, disease, etc.) |\n| `OmicsExpressionProteinCodingGenesTPMLogp1.csv` | mRNA expression |\n| `OmicsSomaticMutationsMatrixDamaging.csv` | Damaging somatic mutations (binary) |\n| `OmicsCNGene.csv` | Copy number per gene |\n| `PRISM_Repurposing_Primary_Screens_Data.csv` | Drug sensitivity (repurposing library) |\n\nDownload all files from: https:\u002F\u002Fdepmap.org\u002Fportal\u002Fdownload\u002Fall\u002F\n\n## Best Practices\n\n- **Use Chronos scores** (not DEMETER2) for current CRISPR analyses — better controlled for cutting efficiency\n- **Distinguish pan-essential from cancer-selective**: Target genes with low variance (essential in all lines) are poor drug targets\n- **Validate with expression data**: A gene not expressed in a cell line will score as non-essential regardless of actual function\n- **Use DepMap ID** for cell line identification — cell_line_name can be ambiguous\n- **Account for copy number**: Amplified genes may appear essential due to copy number effect (junk DNA hypothesis)\n- **Multiple testing correction**: When computing biomarker associations genome-wide, apply FDR correction\n\n## Additional Resources\n\n- **DepMap Portal**: https:\u002F\u002Fdepmap.org\u002Fportal\u002F\n- **Data downloads**: https:\u002F\u002Fdepmap.org\u002Fportal\u002Fdownload\u002Fall\u002F\n- **DepMap paper**: Behan FM et al. (2019) Nature. PMID: 30971826\n- **Chronos paper**: Dempster JM et al. (2021) Nature Methods. PMID: 34349281\n- **GitHub**: https:\u002F\u002Fgithub.com\u002Fbroadinstitute\u002Fdepmap-portal\n- **Figshare**: https:\u002F\u002Ffigshare.com\u002Farticles\u002Fdataset\u002FDepMap_24Q4_Public\u002F27993966\n","# DepMap — Cancer Dependency Map\n\n## Overview\n\nThe Cancer Dependency Map (DepMap) project, run by the Broad Institute, systematically characterizes genetic dependencies across hundreds of cancer cell lines using genome-wide CRISPR knockout screens (DepMap CRISPR), RNA interference (RNAi), and compound sensitivity assays (PRISM). DepMap data is essential for:\n- Identifying which genes are essential for specific cancer types\n- Finding cancer-selective dependencies (therapeutic targets)\n- Validating oncology drug targets\n- Discovering synthetic lethal interactions\n\n**Key resources:**\n- DepMap Portal: https:\u002F\u002Fdepmap.org\u002Fportal\u002F\n- DepMap data downloads: https:\u002F\u002Fdepmap.org\u002Fportal\u002Fdownload\u002Fall\u002F\n- Python package: `depmap` (or access via API\u002Fdownloads)\n- API: https:\u002F\u002Fdepmap.org\u002Fportal\u002Fapi\u002F\n\n## When to Use This Skill\n\nUse DepMap when:\n\n- **Target validation**: Is a gene essential for survival in cancer cell lines with a specific mutation (e.g., KRAS-mutant)?\n- **Biomarker discovery**: What genomic features predict sensitivity to knockout of a gene?\n- **Synthetic lethality**: Find genes that are selectively essential when another gene is mutated\u002Fdeleted\n- **Drug sensitivity**: What cell line features predict response to a compound?\n- **Pan-cancer essentiality**: Is a gene broadly essential across all cancer types (bad target) or selectively essential?\n- **Correlation analysis**: Which pairs of genes have correlated dependency profiles (co-essentiality)?\n\n## Core Concepts\n\n### Dependency Scores\n\n| Score | Range | Meaning |\n|-------|-------|---------|\n| **Chronos** (CRISPR) | ~ -3 to 0+ | More negative = more essential. Common essential threshold: −1. Pan-essential genes ~−1 to −2 |\n| **RNAi DEMETER2** | ~ -3 to 0+ | Similar scale to Chronos |\n| **Gene Effect** | normalized | Normalized Chronos; −1 = median effect of common essential genes |\n\n**Key thresholds:**\n- Chronos ≤ −0.5: likely dependent\n- Chronos ≤ −1: strongly dependent (common essential range)\n\n### Cell Line Annotations\n\nEach cell line has:\n- `DepMap_ID`: unique identifier (e.g., `ACH-000001`)\n- `cell_line_name`: human-readable name\n- `primary_disease`: cancer type\n- `lineage`: broad tissue lineage\n- `lineage_subtype`: specific subtype\n\n## Core Capabilities\n\n### 1. DepMap API\n\n```python\nimport requests\nimport pandas as pd\n\nBASE_URL = \"https:\u002F\u002Fdepmap.org\u002Fportal\u002Fapi\"\n\ndef depmap_get(endpoint, params=None):\n    url = f\"{BASE_URL}\u002F{endpoint}\"\n    response = requests.get(url, params=params)\n    response.raise_for_status()\n    return response.json()\n```\n\n### 2. Gene Dependency Scores\n\n```python\ndef get_gene_dependency(gene_symbol, dataset=\"Chronos_Combined\"):\n    \"\"\"Get CRISPR dependency scores for a gene across all cell lines.\"\"\"\n    url = f\"{BASE_URL}\u002Fgene\"\n    params = {\n        \"gene_id\": gene_symbol,\n        \"dataset\": dataset\n    }\n    response = requests.get(url, params=params)\n    return response.json()\n\n# Alternatively, use the \u002Fdata endpoint:\ndef get_dependencies_slice(gene_symbol, dataset_name=\"CRISPRGeneEffect\"):\n    \"\"\"Get a gene's dependency slice from a dataset.\"\"\"\n    url = f\"{BASE_URL}\u002Fdata\u002Fgene_dependency\"\n    params = {\"gene_name\": gene_symbol, \"dataset_name\": dataset_name}\n    response = requests.get(url, params=params)\n    data = response.json()\n    return data\n```\n\n### 3. Download-Based Analysis (Recommended for Large Queries)\n\nFor large-scale analysis, download DepMap data files and analyze locally:\n\n```python\nimport pandas as pd\nimport requests, os\n\ndef download_depmap_data(url, output_path):\n    \"\"\"Download a DepMap data file.\"\"\"\n    response = requests.get(url, stream=True)\n    with open(output_path, 'wb') as f:\n        for chunk in response.iter_content(chunk_size=8192):\n            f.write(chunk)\n\n# DepMap 24Q4 data files (update version as needed)\nFILES = {\n    \"crispr_gene_effect\": \"https:\u002F\u002Ffigshare.com\u002Fndownloader\u002Ffiles\u002F...\",\n    # OR download from: https:\u002F\u002Fdepmap.org\u002Fportal\u002Fdownload\u002Fall\u002F\n    # Files available:\n    # CRISPRGeneEffect.csv - Chronos gene effect scores\n    # OmicsExpressionProteinCodingGenesTPMLogp1.csv - mRNA expression\n    # OmicsSomaticMutationsMatrixDamaging.csv - mutation binary matrix\n    # OmicsCNGene.csv - copy number\n    # sample_info.csv - cell line metadata\n}\n\ndef load_depmap_gene_effect(filepath=\"CRISPRGeneEffect.csv\"):\n    \"\"\"\n    Load DepMap CRISPR gene effect matrix.\n    Rows = cell lines (DepMap_ID), Columns = genes (Symbol (EntrezID))\n    \"\"\"\n    df = pd.read_csv(filepath, index_col=0)\n    # Rename columns to gene symbols only\n    df.columns = [col.split(\" \")[0] for col in df.columns]\n    return df\n\ndef load_cell_line_info(filepath=\"sample_info.csv\"):\n    \"\"\"Load cell line metadata.\"\"\"\n    return pd.read_csv(filepath)\n```\n\n### 4. Identifying Selective Dependencies\n\n```python\nimport numpy as np\nimport pandas as pd\n\ndef find_selective_dependencies(gene_effect_df, cell_line_info, target_gene,\n                                 cancer_type=None, threshold=-0.5):\n    \"\"\"Find cell lines selectively dependent on a gene.\"\"\"\n\n    # Get scores for target gene\n    if target_gene not in gene_effect_df.columns:\n        return None\n\n    scores = gene_effect_df[target_gene].dropna()\n    dependent = scores[scores \u003C= threshold]\n\n    # Add cell line info\n    result = pd.DataFrame({\n        \"DepMap_ID\": dependent.index,\n        \"gene_effect\": dependent.values\n    }).merge(cell_line_info[[\"DepMap_ID\", \"cell_line_name\", \"primary_disease\", \"lineage\"]])\n\n    if cancer_type:\n        result = result[result[\"primary_disease\"].str.contains(cancer_type, case=False, na=False)]\n\n    return result.sort_values(\"gene_effect\")\n\n# Example usage (after loading data)\n# df_effect = load_depmap_gene_effect(\"CRISPRGeneEffect.csv\")\n# cell_info = load_cell_line_info(\"sample_info.csv\")\n# deps = find_selective_dependencies(df_effect, cell_info, \"KRAS\", cancer_type=\"Lung\")\n```\n\n### 5. Biomarker Analysis (Gene Effect vs. Mutation)\n\n```python\nimport pandas as pd\nfrom scipy import stats\n\ndef biomarker_analysis(gene_effect_df, mutation_df, target_gene, biomarker_gene):\n    \"\"\"\n    Test if mutation in biomarker_gene predicts dependency on target_gene.\n\n    Args:\n        gene_effect_df: CRISPR gene effect DataFrame\n        mutation_df: Binary mutation DataFrame (1 = mutated)\n        target_gene: Gene to assess dependency of\n        biomarker_gene: Gene whose mutation may predict dependency\n    \"\"\"\n    if target_gene not in gene_effect_df.columns or biomarker_gene not in mutation_df.columns:\n        return None\n\n    # Align cell lines\n    common_lines = gene_effect_df.index.intersection(mutation_df.index)\n    scores = gene_effect_df.loc[common_lines, target_gene].dropna()\n    mutations = mutation_df.loc[scores.index, biomarker_gene]\n\n    mutated = scores[mutations == 1]\n    wt = scores[mutations == 0]\n\n    stat, pval = stats.mannwhitneyu(mutated, wt, alternative='less')\n\n    return {\n        \"target_gene\": target_gene,\n        \"biomarker_gene\": biomarker_gene,\n        \"n_mutated\": len(mutated),\n        \"n_wt\": len(wt),\n        \"mean_effect_mutated\": mutated.mean(),\n        \"mean_effect_wt\": wt.mean(),\n        \"pval\": pval,\n        \"significant\": pval \u003C 0.05\n    }\n```\n\n### 6. Co-Essentiality Analysis\n\n```python\nimport pandas as pd\n\ndef co_essentiality(gene_effect_df, target_gene, top_n=20):\n    \"\"\"Find genes with most correlated dependency profiles (co-essential partners).\"\"\"\n    if target_gene not in gene_effect_df.columns:\n        return None\n\n    target_scores = gene_effect_df[target_gene].dropna()\n\n    correlations = {}\n    for gene in gene_effect_df.columns:\n        if gene == target_gene:\n            continue\n        other_scores = gene_effect_df[gene].dropna()\n        common = target_scores.index.intersection(other_scores.index)\n        if len(common) \u003C 50:\n            continue\n        r = target_scores[common].corr(other_scores[common])\n        if not pd.isna(r):\n            correlations[gene] = r\n\n    corr_series = pd.Series(correlations).sort_values(ascending=False)\n    return corr_series.head(top_n)\n\n# Co-essential genes often share biological complexes or pathways\n```\n\n## Query Workflows\n\n### Workflow 1: Target Validation for a Cancer Type\n\n1. Download `CRISPRGeneEffect.csv` and `sample_info.csv`\n2. Filter cell lines by cancer type\n3. Compute mean gene effect for target gene in cancer vs. all others\n4. Calculate selectivity: how specific is the dependency to your cancer type?\n5. Cross-reference with mutation, expression, or CNA data as biomarkers\n\n### Workflow 2: Synthetic Lethality Screen\n\n1. Identify cell lines with mutation\u002Fdeletion in gene of interest (e.g., BRCA1-mutant)\n2. Compute gene effect scores for all genes in mutant vs. WT lines\n3. Identify genes significantly more essential in mutant lines (synthetic lethal partners)\n4. Filter by selectivity and effect size\n\n### Workflow 3: Compound Sensitivity Analysis\n\n1. Download PRISM compound sensitivity data (`primary-screen-replicate-treatment-info.csv`)\n2. Correlate compound AUC\u002Flog2(fold-change) with genomic features\n3. Identify predictive biomarkers for compound sensitivity\n\n## DepMap Data Files Reference\n\n| File | Description |\n|------|-------------|\n| `CRISPRGeneEffect.csv` | CRISPR Chronos gene effect (primary dependency data) |\n| `CRISPRGeneEffectUnscaled.csv` | Unscaled CRISPR scores |\n| `RNAi_merged.csv` | DEMETER2 RNAi dependency |\n| `sample_info.csv` | Cell line metadata (lineage, disease, etc.) |\n| `OmicsExpressionProteinCodingGenesTPMLogp1.csv` | mRNA expression |\n| `OmicsSomaticMutationsMatrixDamaging.csv` | Damaging somatic mutations (binary) |\n| `OmicsCNGene.csv` | Copy number per gene |\n| `PRISM_Repurposing_Primary_Screens_Data.csv` | Drug sensitivity (repurposing library) |\n\nDownload all files from: https:\u002F\u002Fdepmap.org\u002Fportal\u002Fdownload\u002Fall\u002F\n\n## Best Practices\n\n- **Use Chronos scores** (not DEMETER2) for current CRISPR analyses — better controlled for cutting efficiency\n- **Distinguish pan-essential from cancer-selective**: Target genes with low variance (essential in all lines) are poor drug targets\n- **Validate with expression data**: A gene not expressed in a cell line will score as non-essential regardless of actual function\n- **Use DepMap ID** for cell line identification — cell_line_name can be ambiguous\n- **Account for copy number**: Amplified genes may appear essential due to copy number effect (junk DNA hypothesis)\n- **Multiple testing correction**: When computing biomarker associations genome-wide, apply FDR correction\n\n## Additional Resources\n\n- **DepMap Portal**: https:\u002F\u002Fdepmap.org\u002Fportal\u002F\n- **Data downloads**: https:\u002F\u002Fdepmap.org\u002Fportal\u002Fdownload\u002Fall\u002F\n- **DepMap paper**: Behan FM et al. (2019) Nature. PMID: 30971826\n- **Chronos paper**: Dempster JM et al. (2021) Nature Methods. PMID: 34349281\n- **GitHub**: https:\u002F\u002Fgithub.com\u002Fbroadinstitute\u002Fdepmap-portal\n- **Figshare**: https:\u002F\u002Ffigshare.com\u002Farticles\u002Fdataset\u002FDepMap_24Q4_Public\u002F27993966\n",{"name":5,"license":14,"metadata":41,"description":7},{"skill-author":42},"Kuan-lin Huang","main","f19b254e8975d0bfddb394686706106930d7964d","Science\u002Fbioinformatics-and-omics\u002Fdepmap","https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus","https:\u002F\u002Fgithub.com\u002Fendman100","2026-11-12 18:13:37",{"source":8,"skillName":5,"commands":50,"prompt":60,"zipAvailable":61},[51,54,57],{"tool":52,"command":53},"npx","npx skills add endman100\u002Fskill-router-nexus --skill depmap",{"tool":55,"command":56},"bunx","bunx skills add endman100\u002Fskill-router-nexus --skill depmap",{"tool":58,"command":59},"pnpm","pnpm dlx skills add endman100\u002Fskill-router-nexus --skill depmap","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FScience\u002Fbioinformatics-and-omics\u002Fdepmap\u002FSKILL.md",true,[63],{"path":64,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":67,"sourceHtmlUrl":68},"references\u002Fdependency_analysis.md","REFERENCE","参考文档",5775,"https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FScience\u002Fbioinformatics-and-omics\u002Fdepmap\u002Freferences\u002Fdependency_analysis.md",[70,95,131,154,163,187],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":74,"licenseFileUrl":75,"sourceHtmlUrl":76,"categories":77,"keywords":83,"publishedAt":36},"01M6MPCT5BXVER8HQZTW3QE9AS","create-master","基于佛教经典文献，生成特定高僧大德的 AI 教学角色","MIT","https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FMetaphysics-and-Spirituality\u002FMaster-skill\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FMetaphysics-and-Spirituality\u002FMaster-skill\u002FSKILL.md",[78],{"categoryNo":79,"categoryName":80,"taxonomyType":81,"taxonomyTypeDesc":82},"01JBSEEDCAT000000000000039","教师与教育","PROFESSION","适用职业",[84,85,86,87,88,89,90,91,92,93,94],"create master","master","create","生成","true","webfetch","edit","write","read","grep","Bash",{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":74,"licenseFileUrl":99,"sourceHtmlUrl":100,"categories":101,"keywords":113,"publishedAt":36},"01M6M43AKE95Y64E1JRXEF5QQ3","writing-dna-skill","从至少 20 篇完整文章中蒸馏可复用的写作 DNA，分析语言、文章结构、选题逻辑、素材策略、认知框架和视觉风格，并生成 Writing-DNA.md；按该 DNA 写作时会读取全部蒸馏产物和 5 篇相关原文。用于中英文作者、账号、品牌或出版物的风格分析与一致性写作。 Distill reusable Writing DNA from at least 20 complete articles for Chinese or English authors, publications, brands, and accounts; use for language, structure, topic logic, source strategy, cognitive-frame, and visual-style analysis.","https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FWriting-and-Content\u002Fwriting-dna-skill\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FWriting-and-Content\u002Fwriting-dna-skill\u002FSKILL.md",[102,107,110],{"categoryNo":103,"categoryName":104,"taxonomyType":105,"taxonomyTypeDesc":106},"01JBSEEDCAT000000000000018","写作与文案","SCENARIO","使用场景",{"categoryNo":108,"categoryName":109,"taxonomyType":105,"taxonomyTypeDesc":106},"01JBSEEDCAT000000000000023","Skill与智能体开发",{"categoryNo":111,"categoryName":112,"taxonomyType":81,"taxonomyTypeDesc":82},"01JBSEEDCAT000000000000036","内容创作者",[114,115,116,117,118,119,120,121,122,123,32,124,125,87,126,127,128,21,129,130],"writing dna skill","DNA","writing","strategy","english","logic","visual","structure","chinese","reusable","style","distill","analysis","frame","source","at","complete",{"skillNo":132,"name":133,"nameZh":6,"description":134,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":74,"licenseFileUrl":135,"sourceHtmlUrl":136,"categories":137,"keywords":140,"publishedAt":36},"01M6M428TTCGQ4ME3KY99VN037","stop-slop","Remove AI writing patterns from prose. Use when drafting, editing, or reviewing text to eliminate predictable AI tells.","https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FWriting-and-Content\u002Fstop-slop\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FWriting-and-Content\u002Fstop-slop\u002FSKILL.md",[138,139],{"categoryNo":103,"categoryName":104,"taxonomyType":105,"taxonomyTypeDesc":106},{"categoryNo":111,"categoryName":112,"taxonomyType":81,"taxonomyTypeDesc":82},[141,142,143,144,145,146,147,148,149,32,150,151,152,21,153,116],"slop","stop slop","stop","drafting","when","drafts","https","patterns","prose","remove","editing","text","content",{"skillNo":155,"name":156,"nameZh":6,"description":157,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":74,"licenseFileUrl":158,"sourceHtmlUrl":159,"categories":160,"keywords":161,"publishedAt":36},"01M6M41X0B7EBX42TK435DMGGR","shuorenhua","检查和清理中英文文本里的 AI 套路，适用于“去 AI 味”“说人话”“自然一点”“别像模板”“先标问题”这类改写和审稿需求；按场景控制力度，同时保留事实、术语、语域和责任主体。","https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FWriting-and-Content\u002Fshuorenhua\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FWriting-and-Content\u002Fshuorenhua\u002FSKILL.md",[],[156,162],"文本",{"skillNo":164,"name":165,"nameZh":6,"description":166,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":74,"licenseFileUrl":167,"sourceHtmlUrl":168,"categories":169,"keywords":170,"publishedAt":36},"01M6M3ZD12WBEW5KXKDM4N6DFG","naming","Name products, SaaS, brands, open source projects, bots, and apps. Use when the user needs to name something, find a brand name, or pick a product name. Metaphor-driven process that produces memorable, meaningful names and avoids AI slop.","https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FWriting-and-Content\u002Fnaming-main\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FWriting-and-Content\u002Fnaming-main\u002FSKILL.md",[],[165,171,172,173,174,175,32,176,92,128,177,178,179,180,94,181,182,183,184,145,185,186,141],"repo","websearch","product name","apps","bots","view","brand","pick","gh","projects","open","saas","open source","product","describe","ai slop",{"skillNo":188,"name":189,"nameZh":6,"description":190,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":74,"licenseFileUrl":191,"sourceHtmlUrl":192,"categories":193,"keywords":195,"publishedAt":36},"01M6M3YVXAFAAWJ7F6JMPFREYE","humanizer-zh","去除文本中的 AI 生成痕迹。适用于编辑或审阅文本，使其听起来更自然、更像人类书写。\n基于维基百科的\"AI 写作特征\"综合指南。检测并修复以下模式：夸大的象征意义、\n宣传性语言、以 -ing 结尾的肤浅分析、模糊的归因、破折号过度使用、三段式法则、\nAI 词汇、否定式排比、过多的连接性短语。","https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FWriting-and-Content\u002Fhumanizer-zh\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fendman100\u002Fskill-router-nexus\u002Fblob\u002Fmain\u002FWriting-and-Content\u002Fhumanizer-zh\u002FSKILL.md",[194],{"categoryNo":103,"categoryName":104,"taxonomyType":105,"taxonomyTypeDesc":106},[196,197,198,92,91,90,116,87,162,199,141,143],"humanizer","zh","humanizer zh","翻译"]