[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7F3JSNSFQ7K2EPDMNF243C0":3,"skill-same:01M7F3JSNSFQ7K2EPDMNF243C0":60},{"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":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":28,"commitSha":29,"skillDirectory":30,"forksCount":13,"repositoryHtmlUrl":31,"repositoryHomepageUrl":6,"ownerHtmlUrl":32,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":33,"install":34,"resources":47},"01M7F3JSNSFQ7K2EPDMNF243C0","depmap",null,"Retrieves and analyzes Cancer Dependency Map (DepMap) release data, including CRISPR Chronos gene effects, cancer model annotations, omics biomarkers, and PRISM drug sensitivity. Supports cancer-selective dependency, co-essentiality, and candidate synthetic-lethality analyses with release-aware identifiers and statistical checks.","beanspowt\u002Fbeancode","beanspowt","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F333943283?v=4","01M7F39F0GDWKS57BCKW8JJH7F","01M7F39F1B1TVPDJMS37BZQHWM",0,"CC-BY-4.0","https:\u002F\u002Fgithub.com\u002Fbeanspowt\u002Fbeancode\u002Fblob\u002Fmain\u002Fconfig\u002Fopencode\u002Fskills\u002Fdepmap\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: depmap\ndescription: Retrieves and analyzes Cancer Dependency Map (DepMap) release data, including CRISPR Chronos gene effects, cancer model annotations, omics biomarkers, and PRISM drug sensitivity. Supports cancer-selective dependency, co-essentiality, and candidate synthetic-lethality analyses with release-aware identifiers and statistical checks.\nlicense: CC-BY-4.0\ncompatibility: Requires Python 3.10+ with numpy, pandas, and scipy>=1.11 for the bundled helpers. Network access is needed for release discovery; downloading current data may require browser verification through the DepMap portal.\nmetadata:\n  version: \"1.2\"\n  skill-author: Kuan-lin Huang\n  last-reviewed: \"2026-09-30\"\n---\n\n# DepMap — Cancer Dependency Map\n\n## When to use\n\nUse this skill to rank dependencies in cancer models, compare prespecified biomarker\ncohorts, inspect co-essentiality, or relate genetic dependencies to PRISM compound\nresponse. These analyses generate target and synthetic-lethality hypotheses; they\ndo not establish clinical efficacy, a therapeutic window, or a causal interaction.\n\nDepMap integrates Broad and Sanger CRISPR screens and hosts independent RNAi and\ndrug-screen datasets. Match each question to its assay and pinned release. RNAi\nDEMETER2 is a different perturbation modality, not an older CRISPR scoring method.\n\n## 1. Discover a release, then obtain its files\n\nUse [DepMap Downloads](https:\u002F\u002Fdepmap.org\u002Fportal\u002Fdata_page\u002F) and the selected\nrelease's README and release notes. On review, the live catalogue's latest\n`DepMap Public` release was **26Q1**, dated 2026-04-01. Rediscover before new work;\na release name or expected quarter is not evidence a release is available.\n\n### Verified public endpoint\n\n`GET https:\u002F\u002Fdepmap.org\u002Fportal\u002Fapi\u002Fno-captcha\u002Fdownload\u002Ffiles` returns a complete\nCSV catalogue, with no request body, API key, or pagination parameters. Required\nmetadata columns are `release`, `release_date`, `filename`, and `md5_hash`.\nThe live response also has `url`: **older files can have links, while recent\nrelease rows have blank links**. All 85 entries for 26Q1 had blank `url` values at\nreview. Treat availability per row, not per endpoint.\n\nThe [staff announcement](https:\u002F\u002Fforum.depmap.org\u002Ft\u002Fprovide-an-open-endpoint-for-latest-version-retrieval\u002F4652)\nintroduced this metadata route in July 2026. The older\n`https:\u002F\u002Fdepmap.org\u002Fportal\u002Fapi\u002Fdownload\u002Ffiles` catalogue can supply download links\nbut returned an HTML verification page during review, including with HTTP 200.\nValidate content before parsing. Obtain current files through the portal when\nverification is required. Refresh expiring signed links immediately before use;\ndo not fabricate storage URLs or assume every new release is on Figshare.\n\nNo supported contract was verified for the former `\u002Fapi\u002Fgene?gene_id=...` or\n`\u002Fapi\u002Fdata\u002Fgene_dependency` examples. Use local release matrices for gene slices.\nDo not assume a Python package named `depmap` is an official portal client.\n\nFrom the skill root, use the bundled [helpers](scripts\u002Fdepmap_data.py):\n\n```python\nfrom scripts.depmap_data import fetch_catalogue, select_file, verify_md5\n\ncatalogue = fetch_catalogue()\npublic = catalogue[catalogue[\"release\"].str.startswith(\"DepMap Public \")]\nprint(public[[\"release\", \"release_date\"]].drop_duplicates()\n      .sort_values(\"release_date\", ascending=False).head(12))\n\n# Explicit example pin; inspect discovery output before selecting your release.\nrelease = \"DepMap Public 26Q1\"\nrecord = select_file(catalogue, release, \"CRISPRGeneEffect.csv\")\nprint(record[[\"release\", \"filename\", \"md5_hash\"]])\n# After obtaining this file from the portal:\n# verify_md5(\"CRISPRGeneEffect.csv\", record[\"md5_hash\"])\n```\n\nSave the selected metadata, retrieval date, release citation, local checksum, and\nREADME alongside analysis outputs. Record source dataset terms separately from\nthis skill's license; newer release terms differ from older Figshare releases.\nFor a missing published checksum, retain a local SHA-256 and explicitly state\nthat it was not compared with a publisher checksum.\n\n## 2. Inspect file contracts before joining\n\nThe following names were verified in the 26Q1 catalogue. Check that release's\nREADME for units and identifier level before treating a file as a numeric matrix.\n\n| File | Use and important contract |\n|---|---|\n| `CRISPRGeneEffect.csv` | Integrated, model-level Chronos effects; rows are ModelID, columns preserve `Symbol (EntrezID)` |\n| `CRISPRGeneEffectUncorrected.csv` | Uncorrected effects; not interchangeable with corrected effects |\n| `CRISPRGeneDependency.csv` | Release-specific dependency statistics; confirm probability\u002FFDR definition and direction in the README |\n| `Model.csv` | Model metadata keyed by `ModelID` |\n| `ModelCondition.csv` | Growth\u002Ftreatment conditions keyed by `ModelConditionID`, mapping to `ModelID` |\n| `ScreenGeneEffect.csv`, `ScreenSequenceMap.csv`, `CRISPRScreenMap.csv` | Screen-level effects and mappings; multiple screens can belong to one model |\n| `OmicsExpressionTPMLogp1HumanProteinCodingGenes.csv` | Expression output with sequencing\u002Fmodel metadata and default-entry flags; exclude metadata columns from expression calculations |\n| `OmicsSomaticMutationsMatrixDamaging.csv`, `OmicsSomaticMutationsMatrixHotspot.csv` | Distinct mutation annotations; damaging and hotspot calls answer different biological questions |\n| `OmicsCNGeneWGS.csv`, `OmicsCNGeneMC_WES.csv` | Separate WGS\u002FWES copy-number products; do not concatenate as one uniformly processed cohort |\n| `PortalOmicsCNGeneLog2.csv` | Transformed portal copy-number product; establish the exact transform before inversion |\n| `OmicsProfiles.csv`, `Gene.csv` | Omics provenance\u002Fmappings and gene annotations |\n| `AchillesScreenQCReport.csv`, `AchillesSequenceQCReport.csv` | Screen\u002Fsequence QC; apply documented eligibility rules rather than invented universal cutoffs |\n\nCurrent model annotations include `CellLineName`, `OncotreeLineage`,\n`OncotreePrimaryDisease`, and `OncotreeSubtype`. Legacy `sample_info.csv` fields\n(`DepMap_ID`, `lineage`, `primary_disease`) require an explicit conversion.\n`Model.csv` includes models without CRISPR measurements: absence from the effect\nmatrix is not a nondependency score.\n\nOmics may be indexed by `SequencingID`, `ModelConditionID`, or `ModelID`. For a\nbasal model analysis, use the release's `IsDefaultEntryForModel == Yes` flag,\nthen require one row per `ModelID`. The condition-level flag\n`IsDefaultEntryForMC` answers a different question. Subset the assay\u002Fdatatype\nbefore selecting defaults from a mapping table. Never average repeated conditions\nor count them as independent models without an explicit scientific design.\n\nSee the [mapping guide source](https:\u002F\u002Fgithub.com\u002Fbroadinstitute\u002Fdepmap-portal\u002Fblob\u002Fmaster\u002Ffrontend\u002Fpackages\u002Fportal-frontend\u002Fsrc\u002FdataPage\u002Fcomponents\u002FMapSection.tsx)\nand [metadata definitions](https:\u002F\u002Fforum.depmap.org\u002Ft\u002Fdepmap-metadata\u002F3694).\n\n## 3. Interpret Chronos and inspect a target\n\nChronos gene effect is continuous and unbounded. More negative values indicate\nstronger loss of fitness. In the normalized release matrix, approximately 0 is\nthe nonessential-control anchor and −1 is the common-essential-control anchor;\n−1 is not a dependency boundary. A filter such as ≤ −0.5 is exploratory, not a\np-value, FDR, or probability cutoff. Positive effects may reflect growth advantage\nor technical noise and need validation.\n\nFor binary calls, inspect the selected file's statistic and direction. A high\ndependency probability and a low FDR are different rules. Do not silently convert\nbetween them. Use release-matched positive\u002Fnegative control lists and QC outputs.\nSee [score and QC caveats](references\u002Fdependency_analysis.md).\n\nThe following local-data examples are illustrative until run against your chosen\nfiles. Helper behavior is tested using synthetic fixtures; current bulk matrices\nwere not downloaded during this review.\n\n```python\nfrom scripts.depmap_data import load_gene_effect, load_models, gene_profile\n\neffects = load_gene_effect(\"CRISPRGeneEffect.csv\")\nmodels = load_models(\"Model.csv\")\nprofile = gene_profile(effects, models, \"KRAS (3845)\")\nprint(profile[[\"CellLineName\", \"OncotreeLineage\", \"gene_effect\"]].head(20))\n\n# Inspect actual annotation values, then choose an exact cohort.\nprint(profile[\"OncotreeLineage\"].value_counts())\nknown = profile.dropna(subset=[\"OncotreeLineage\"])\nlung = known.loc[known[\"OncotreeLineage\"].eq(\"Lung\"), \"gene_effect\"]\nother = known.loc[~known[\"OncotreeLineage\"].eq(\"Lung\"), \"gene_effect\"]\nif lung.empty or other.empty:\n    raise ValueError(\"Both cohorts require observed effects and known lineage\")\nprint({\"n_lung\": len(lung), \"n_other\": len(other),\n       \"other_minus_lung_mean\": other.mean() - lung.mean(),\n       \"lung_fraction_below_exploratory_cutoff\": (lung \u003C= -0.5).mean()})\n```\n\nThis is a descriptive comparison against other cancer models, not against normal\ntissue. Keep the denominator and missingness counts. Preserve complete gene labels;\na symbol can be ambiguous, and the helper refuses ambiguous symbol resolution.\n\n## 4. Test biomarker associations\n\n1. Define the alteration before inspecting target scores. A damaging-call matrix\n   does not establish biallelic loss; activating KRAS hotspots require a different\n   definition from generic damaging mutations.\n2. Map profiles to the correct model\u002Fcondition. Use `0` only for an assayed negative,\n   `1` for the prespecified biomarker, and missing for unknown status.\n3. Restrict to scientifically comparable models (lineage, culture conditions,\n   screen source and related-patient structure). Inspect confounding before testing.\n4. Test every eligible gene in the planned family, then adjust all its p-values\n   before selecting hits. Report group sizes, effect sizes, p-values, and q-values.\n5. Validate candidate synthetic lethality with matched\u002Fisogenic perturbations and\n   rescue or orthogonal evidence; association alone is insufficient.\n\n```python\nimport pandas as pd\nfrom scripts.depmap_data import biomarker_scan\n\n# User-prepared, release-matched annotation after the mapping and curation above.\nstatus = pd.read_csv(\"curated_biomarker_status.csv\", index_col=\"ModelID\")[\"status\"]\nresults = biomarker_scan(effects, status, min_n=5)\n# Positive effect_size means stronger dependency in biomarker-positive models.\ncandidates = results.loc[(results[\"qval\"] \u003C 0.1) & (results[\"effect_size\"] > 0)]\n```\n\nThis one-sided Mann–Whitney screen is exploratory and does not adjust for\ncovariates. `min_n=5` is an explicit example floor, not a power guarantee. For\ninference across lineages, fit an appropriate adjusted model and inspect effect\nstability within lineages; do not report the helper's q-value as confounder-adjusted.\n\n## 5. Co-essentiality and drug sensitivity\n\n```python\nfrom scripts.depmap_data import coessentiality\n\ncorrelates = coessentiality(effects, \"KRAS (3845)\", min_n=500)\nprint(correlates[[\"gene\", \"n\", \"r\", \"pval\", \"qval\"]].head(20))\n```\n\n`min_n` is configurable and should be prespecified for the analysis. Sparse genes\ncan dominate rankings with spurious correlations; always retain the pairwise\nsample count. The helper uses pairwise complete observations and skips constant\ngenes. Pearson\u002FBH output still needs lineage, library, and screen-quality checks;\nco-essentiality is not proof of a physical interaction or shared pathway.\nThe [DepMap team's discussion](https:\u002F\u002Fforum.depmap.org\u002Ft\u002Fcrispr-co-depency-top-hits-obscured-by-newly-added-screens\u002F4503)\ndocuments this specific sparse-coverage failure mode.\n\nFor PRISM, first select the exact screen\u002Frelease and endpoint. Treatment-info CSVs\nare annotations, not sensitivity values. The original primary screen's\n`primary-screen-replicate-collapsed-logfold-change.csv` has response rows keyed by\ncell-line `row_name` and columns keyed by treatment `column_name`. Join the\ncorresponding cell-line and treatment-info files; retain compound, dose, and\nscreen identity. Lower log2 fold change indicates greater loss of viability.\nSecondary-screen AUC comes from dose-response curve parameters and is not the\nsame quantity as single-dose log fold change. See the\n[PRISM workflow](references\u002Fdependency_analysis.md) before loading these files.\n\n## Validation and sources\n\nBefore reporting: verify release\u002Ffile identity, unique joins, identifier level,\ncomplete gene labels, cohort membership, missingness, screen eligibility, score\nunits\u002Fdirection, multiple-testing family, and whether evidence is observational.\nExpression, copy number, and CRISPR can share technical confounders; low expression\ndoes not guarantee a measured score of zero. Broad essentiality motivates normal\ncell\u002Fselectivity studies; it does not by itself prove a target is undruggable.\n\n- [26Q1 release notes](https:\u002F\u002Fforum.depmap.org\u002Ft\u002Fannouncing-the-26q1-release\u002F4606): library correction and updated annotations.\n- [25Q2 release notes](https:\u002F\u002Fforum.depmap.org\u002Ft\u002Fannouncing-the-25q2-release\u002F4257): omics\u002Fdefault mapping and WGS\u002FWES changes.\n- [Chronos upstream](https:\u002F\u002Fgithub.com\u002Fbroadinstitute\u002Fchronos): normalization, copy-number correction, and hit-calling definitions.\n- [Dempster et al., Genome Biology 22:343 (2021)](https:\u002F\u002Fdoi.org\u002F10.1186\u002Fs13059-021-02540-7): Chronos method, PMID 34930405.\n- [Original PRISM Repurposing resource](https:\u002F\u002Fdepmap.org\u002Frepurposing\u002F): release-specific data and READMEs.\n\nThe live no-captcha catalogue and original PRISM READMEs were fetched successfully.\nThe helper uses Python urllib, which succeeded at review; the same public endpoint\nreturned HTTP 403 with a default requests client. Surface access failures instead\nof treating an error page as data.\nProtected portal endpoints returned verification pages; authenticated downloads\nand current-matrix end-to-end analysis remain unverified. This review makes no\nclaim of a working bearer-token API or undocumented gene-query endpoints.\n","# DepMap — Cancer Dependency Map\n\n## When to use\n\nUse this skill to rank dependencies in cancer models, compare prespecified biomarker\ncohorts, inspect co-essentiality, or relate genetic dependencies to PRISM compound\nresponse. These analyses generate target and synthetic-lethality hypotheses; they\ndo not establish clinical efficacy, a therapeutic window, or a causal interaction.\n\nDepMap integrates Broad and Sanger CRISPR screens and hosts independent RNAi and\ndrug-screen datasets. Match each question to its assay and pinned release. RNAi\nDEMETER2 is a different perturbation modality, not an older CRISPR scoring method.\n\n## 1. Discover a release, then obtain its files\n\nUse [DepMap Downloads](https:\u002F\u002Fdepmap.org\u002Fportal\u002Fdata_page\u002F) and the selected\nrelease's README and release notes. On review, the live catalogue's latest\n`DepMap Public` release was **26Q1**, dated 2026-04-01. Rediscover before new work;\na release name or expected quarter is not evidence a release is available.\n\n### Verified public endpoint\n\n`GET https:\u002F\u002Fdepmap.org\u002Fportal\u002Fapi\u002Fno-captcha\u002Fdownload\u002Ffiles` returns a complete\nCSV catalogue, with no request body, API key, or pagination parameters. Required\nmetadata columns are `release`, `release_date`, `filename`, and `md5_hash`.\nThe live response also has `url`: **older files can have links, while recent\nrelease rows have blank links**. All 85 entries for 26Q1 had blank `url` values at\nreview. Treat availability per row, not per endpoint.\n\nThe [staff announcement](https:\u002F\u002Fforum.depmap.org\u002Ft\u002Fprovide-an-open-endpoint-for-latest-version-retrieval\u002F4652)\nintroduced this metadata route in July 2026. The older\n`https:\u002F\u002Fdepmap.org\u002Fportal\u002Fapi\u002Fdownload\u002Ffiles` catalogue can supply download links\nbut returned an HTML verification page during review, including with HTTP 200.\nValidate content before parsing. Obtain current files through the portal when\nverification is required. Refresh expiring signed links immediately before use;\ndo not fabricate storage URLs or assume every new release is on Figshare.\n\nNo supported contract was verified for the former `\u002Fapi\u002Fgene?gene_id=...` or\n`\u002Fapi\u002Fdata\u002Fgene_dependency` examples. Use local release matrices for gene slices.\nDo not assume a Python package named `depmap` is an official portal client.\n\nFrom the skill root, use the bundled [helpers](scripts\u002Fdepmap_data.py):\n\n```python\nfrom scripts.depmap_data import fetch_catalogue, select_file, verify_md5\n\ncatalogue = fetch_catalogue()\npublic = catalogue[catalogue[\"release\"].str.startswith(\"DepMap Public \")]\nprint(public[[\"release\", \"release_date\"]].drop_duplicates()\n      .sort_values(\"release_date\", ascending=False).head(12))\n\n# Explicit example pin; inspect discovery output before selecting your release.\nrelease = \"DepMap Public 26Q1\"\nrecord = select_file(catalogue, release, \"CRISPRGeneEffect.csv\")\nprint(record[[\"release\", \"filename\", \"md5_hash\"]])\n# After obtaining this file from the portal:\n# verify_md5(\"CRISPRGeneEffect.csv\", record[\"md5_hash\"])\n```\n\nSave the selected metadata, retrieval date, release citation, local checksum, and\nREADME alongside analysis outputs. Record source dataset terms separately from\nthis skill's license; newer release terms differ from older Figshare releases.\nFor a missing published checksum, retain a local SHA-256 and explicitly state\nthat it was not compared with a publisher checksum.\n\n## 2. Inspect file contracts before joining\n\nThe following names were verified in the 26Q1 catalogue. Check that release's\nREADME for units and identifier level before treating a file as a numeric matrix.\n\n| File | Use and important contract |\n|---|---|\n| `CRISPRGeneEffect.csv` | Integrated, model-level Chronos effects; rows are ModelID, columns preserve `Symbol (EntrezID)` |\n| `CRISPRGeneEffectUncorrected.csv` | Uncorrected effects; not interchangeable with corrected effects |\n| `CRISPRGeneDependency.csv` | Release-specific dependency statistics; confirm probability\u002FFDR definition and direction in the README |\n| `Model.csv` | Model metadata keyed by `ModelID` |\n| `ModelCondition.csv` | Growth\u002Ftreatment conditions keyed by `ModelConditionID`, mapping to `ModelID` |\n| `ScreenGeneEffect.csv`, `ScreenSequenceMap.csv`, `CRISPRScreenMap.csv` | Screen-level effects and mappings; multiple screens can belong to one model |\n| `OmicsExpressionTPMLogp1HumanProteinCodingGenes.csv` | Expression output with sequencing\u002Fmodel metadata and default-entry flags; exclude metadata columns from expression calculations |\n| `OmicsSomaticMutationsMatrixDamaging.csv`, `OmicsSomaticMutationsMatrixHotspot.csv` | Distinct mutation annotations; damaging and hotspot calls answer different biological questions |\n| `OmicsCNGeneWGS.csv`, `OmicsCNGeneMC_WES.csv` | Separate WGS\u002FWES copy-number products; do not concatenate as one uniformly processed cohort |\n| `PortalOmicsCNGeneLog2.csv` | Transformed portal copy-number product; establish the exact transform before inversion |\n| `OmicsProfiles.csv`, `Gene.csv` | Omics provenance\u002Fmappings and gene annotations |\n| `AchillesScreenQCReport.csv`, `AchillesSequenceQCReport.csv` | Screen\u002Fsequence QC; apply documented eligibility rules rather than invented universal cutoffs |\n\nCurrent model annotations include `CellLineName`, `OncotreeLineage`,\n`OncotreePrimaryDisease`, and `OncotreeSubtype`. Legacy `sample_info.csv` fields\n(`DepMap_ID`, `lineage`, `primary_disease`) require an explicit conversion.\n`Model.csv` includes models without CRISPR measurements: absence from the effect\nmatrix is not a nondependency score.\n\nOmics may be indexed by `SequencingID`, `ModelConditionID`, or `ModelID`. For a\nbasal model analysis, use the release's `IsDefaultEntryForModel == Yes` flag,\nthen require one row per `ModelID`. The condition-level flag\n`IsDefaultEntryForMC` answers a different question. Subset the assay\u002Fdatatype\nbefore selecting defaults from a mapping table. Never average repeated conditions\nor count them as independent models without an explicit scientific design.\n\nSee the [mapping guide source](https:\u002F\u002Fgithub.com\u002Fbroadinstitute\u002Fdepmap-portal\u002Fblob\u002Fmaster\u002Ffrontend\u002Fpackages\u002Fportal-frontend\u002Fsrc\u002FdataPage\u002Fcomponents\u002FMapSection.tsx)\nand [metadata definitions](https:\u002F\u002Fforum.depmap.org\u002Ft\u002Fdepmap-metadata\u002F3694).\n\n## 3. Interpret Chronos and inspect a target\n\nChronos gene effect is continuous and unbounded. More negative values indicate\nstronger loss of fitness. In the normalized release matrix, approximately 0 is\nthe nonessential-control anchor and −1 is the common-essential-control anchor;\n−1 is not a dependency boundary. A filter such as ≤ −0.5 is exploratory, not a\np-value, FDR, or probability cutoff. Positive effects may reflect growth advantage\nor technical noise and need validation.\n\nFor binary calls, inspect the selected file's statistic and direction. A high\ndependency probability and a low FDR are different rules. Do not silently convert\nbetween them. Use release-matched positive\u002Fnegative control lists and QC outputs.\nSee [score and QC caveats](references\u002Fdependency_analysis.md).\n\nThe following local-data examples are illustrative until run against your chosen\nfiles. Helper behavior is tested using synthetic fixtures; current bulk matrices\nwere not downloaded during this review.\n\n```python\nfrom scripts.depmap_data import load_gene_effect, load_models, gene_profile\n\neffects = load_gene_effect(\"CRISPRGeneEffect.csv\")\nmodels = load_models(\"Model.csv\")\nprofile = gene_profile(effects, models, \"KRAS (3845)\")\nprint(profile[[\"CellLineName\", \"OncotreeLineage\", \"gene_effect\"]].head(20))\n\n# Inspect actual annotation values, then choose an exact cohort.\nprint(profile[\"OncotreeLineage\"].value_counts())\nknown = profile.dropna(subset=[\"OncotreeLineage\"])\nlung = known.loc[known[\"OncotreeLineage\"].eq(\"Lung\"), \"gene_effect\"]\nother = known.loc[~known[\"OncotreeLineage\"].eq(\"Lung\"), \"gene_effect\"]\nif lung.empty or other.empty:\n    raise ValueError(\"Both cohorts require observed effects and known lineage\")\nprint({\"n_lung\": len(lung), \"n_other\": len(other),\n       \"other_minus_lung_mean\": other.mean() - lung.mean(),\n       \"lung_fraction_below_exploratory_cutoff\": (lung \u003C= -0.5).mean()})\n```\n\nThis is a descriptive comparison against other cancer models, not against normal\ntissue. Keep the denominator and missingness counts. Preserve complete gene labels;\na symbol can be ambiguous, and the helper refuses ambiguous symbol resolution.\n\n## 4. Test biomarker associations\n\n1. Define the alteration before inspecting target scores. A damaging-call matrix\n   does not establish biallelic loss; activating KRAS hotspots require a different\n   definition from generic damaging mutations.\n2. Map profiles to the correct model\u002Fcondition. Use `0` only for an assayed negative,\n   `1` for the prespecified biomarker, and missing for unknown status.\n3. Restrict to scientifically comparable models (lineage, culture conditions,\n   screen source and related-patient structure). Inspect confounding before testing.\n4. Test every eligible gene in the planned family, then adjust all its p-values\n   before selecting hits. Report group sizes, effect sizes, p-values, and q-values.\n5. Validate candidate synthetic lethality with matched\u002Fisogenic perturbations and\n   rescue or orthogonal evidence; association alone is insufficient.\n\n```python\nimport pandas as pd\nfrom scripts.depmap_data import biomarker_scan\n\n# User-prepared, release-matched annotation after the mapping and curation above.\nstatus = pd.read_csv(\"curated_biomarker_status.csv\", index_col=\"ModelID\")[\"status\"]\nresults = biomarker_scan(effects, status, min_n=5)\n# Positive effect_size means stronger dependency in biomarker-positive models.\ncandidates = results.loc[(results[\"qval\"] \u003C 0.1) & (results[\"effect_size\"] > 0)]\n```\n\nThis one-sided Mann–Whitney screen is exploratory and does not adjust for\ncovariates. `min_n=5` is an explicit example floor, not a power guarantee. For\ninference across lineages, fit an appropriate adjusted model and inspect effect\nstability within lineages; do not report the helper's q-value as confounder-adjusted.\n\n## 5. Co-essentiality and drug sensitivity\n\n```python\nfrom scripts.depmap_data import coessentiality\n\ncorrelates = coessentiality(effects, \"KRAS (3845)\", min_n=500)\nprint(correlates[[\"gene\", \"n\", \"r\", \"pval\", \"qval\"]].head(20))\n```\n\n`min_n` is configurable and should be prespecified for the analysis. Sparse genes\ncan dominate rankings with spurious correlations; always retain the pairwise\nsample count. The helper uses pairwise complete observations and skips constant\ngenes. Pearson\u002FBH output still needs lineage, library, and screen-quality checks;\nco-essentiality is not proof of a physical interaction or shared pathway.\nThe [DepMap team's discussion](https:\u002F\u002Fforum.depmap.org\u002Ft\u002Fcrispr-co-depency-top-hits-obscured-by-newly-added-screens\u002F4503)\ndocuments this specific sparse-coverage failure mode.\n\nFor PRISM, first select the exact screen\u002Frelease and endpoint. Treatment-info CSVs\nare annotations, not sensitivity values. The original primary screen's\n`primary-screen-replicate-collapsed-logfold-change.csv` has response rows keyed by\ncell-line `row_name` and columns keyed by treatment `column_name`. Join the\ncorresponding cell-line and treatment-info files; retain compound, dose, and\nscreen identity. Lower log2 fold change indicates greater loss of viability.\nSecondary-screen AUC comes from dose-response curve parameters and is not the\nsame quantity as single-dose log fold change. See the\n[PRISM workflow](references\u002Fdependency_analysis.md) before loading these files.\n\n## Validation and sources\n\nBefore reporting: verify release\u002Ffile identity, unique joins, identifier level,\ncomplete gene labels, cohort membership, missingness, screen eligibility, score\nunits\u002Fdirection, multiple-testing family, and whether evidence is observational.\nExpression, copy number, and CRISPR can share technical confounders; low expression\ndoes not guarantee a measured score of zero. Broad essentiality motivates normal\ncell\u002Fselectivity studies; it does not by itself prove a target is undruggable.\n\n- [26Q1 release notes](https:\u002F\u002Fforum.depmap.org\u002Ft\u002Fannouncing-the-26q1-release\u002F4606): library correction and updated annotations.\n- [25Q2 release notes](https:\u002F\u002Fforum.depmap.org\u002Ft\u002Fannouncing-the-25q2-release\u002F4257): omics\u002Fdefault mapping and WGS\u002FWES changes.\n- [Chronos upstream](https:\u002F\u002Fgithub.com\u002Fbroadinstitute\u002Fchronos): normalization, copy-number correction, and hit-calling definitions.\n- [Dempster et al., Genome Biology 22:343 (2021)](https:\u002F\u002Fdoi.org\u002F10.1186\u002Fs13059-021-02540-7): Chronos method, PMID 34930405.\n- [Original PRISM Repurposing resource](https:\u002F\u002Fdepmap.org\u002Frepurposing\u002F): release-specific data and READMEs.\n\nThe live no-captcha catalogue and original PRISM READMEs were fetched successfully.\nThe helper uses Python urllib, which succeeded at review; the same public endpoint\nreturned HTTP 403 with a default requests client. Surface access failures instead\nof treating an error page as data.\nProtected portal endpoints returned verification pages; authenticated downloads\nand current-matrix end-to-end analysis remain unverified. This review makes no\nclaim of a working bearer-token API or undocumented gene-query endpoints.\n",{"name":5,"license":14,"metadata":23,"description":7,"compatibility":27},{"version":24,"skill-author":25,"last-reviewed":26},"1.2","Kuan-lin Huang","2026-09-30","Requires Python 3.10+ with numpy, pandas, and scipy>=1.11 for the bundled helpers. Network access is needed for release discovery; downloading current data may require browser verification through the DepMap portal.","main","66c9bd32ac14a921980362cf85872a1c402101c2","config\u002Fopencode\u002Fskills\u002Fdepmap","https:\u002F\u002Fgithub.com\u002Fbeanspowt\u002Fbeancode","https:\u002F\u002Fgithub.com\u002Fbeanspowt","2026-11-10 23:22:33",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add beanspowt\u002Fbeancode --skill depmap",{"tool":40,"command":41},"bunx","bunx skills add beanspowt\u002Fbeancode --skill depmap",{"tool":43,"command":44},"pnpm","pnpm dlx skills add beanspowt\u002Fbeancode --skill depmap","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fbeanspowt\u002Fbeancode\u002Fblob\u002Fmain\u002Fconfig\u002Fopencode\u002Fskills\u002Fdepmap\u002FSKILL.md",true,[48,54],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"references\u002Fdependency_analysis.md","REFERENCE","参考文档",10165,"https:\u002F\u002Fgithub.com\u002Fbeanspowt\u002Fbeancode\u002Fblob\u002Fmain\u002Fconfig\u002Fopencode\u002Fskills\u002Fdepmap\u002Freferences\u002Fdependency_analysis.md",{"path":55,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":58,"sourceHtmlUrl":59},"scripts\u002Fdepmap_data.py","SCRIPT","脚本",9237,"https:\u002F\u002Fgithub.com\u002Fbeanspowt\u002Fbeancode\u002Fblob\u002Fmain\u002Fconfig\u002Fopencode\u002Fskills\u002Fdepmap\u002Fscripts\u002Fdepmap_data.py",[61,69,76,83,90,97],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":65,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":18},"01M7F6BB3VS43C65P23JR4ZN5G","venue-templates","Prepares journal manuscripts, conference papers, research posters, and grant documents using venue-specific formatting guidance and bundled LaTeX scaffolds. Supports selecting an official template, checking current page or anonymity rules, adapting academic writing to a venue, or inspecting a submission PDF.","MIT","https:\u002F\u002Fgithub.com\u002Fbeanspowt\u002Fbeancode\u002Fblob\u002Fmain\u002Fhermes\u002Fprofiles\u002Fworker-writer\u002Fskills\u002Fvenue-templates\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":65,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":18},"01M7F6B4CBVEHY1RKVW55X8484","scientific-writing","Drafts, revises, and audits scientific manuscripts or reports with explicit evidence provenance, reporting-guideline coverage, authorship accountability, confidentiality controls, and local consistency checks. Use for manuscript sections, references, declarations, tables, figures, or submission preparation when scientific accuracy and traceability matter.","https:\u002F\u002Fgithub.com\u002Fbeanspowt\u002Fbeancode\u002Fblob\u002Fmain\u002Fhermes\u002Fprofiles\u002Fworker-writer\u002Fskills\u002Fscientific-writing\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":65,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":18},"01M7F6AXKSP5AXE8B7RCE1KP0C","scientific-visualization","Creates and audits truthful, accessible, publication-ready scientific figures with Matplotlib, Seaborn, or Plotly. Use it for figure design, multi-panel layouts, uncertainty and missing-data displays, color\u002Fcontrast review, image metadata validation, and journal export planning.","https:\u002F\u002Fgithub.com\u002Fbeanspowt\u002Fbeancode\u002Fblob\u002Fmain\u002Fhermes\u002Fprofiles\u002Fworker-writer\u002Fskills\u002Fscientific-visualization\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":65,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":18},"01M7F6AMRHS0QH64CMKE8TP9Y7","scientific-slides","Builds slide decks and presentations for research talks. Used for making PowerPoint slides, conference presentations, seminar talks, research presentations, thesis defense slides, or any scientific talk. Provides slide structure, design templates, timing guidance, and visual validation. Works with PowerPoint and LaTeX Beamer.","https:\u002F\u002Fgithub.com\u002Fbeanspowt\u002Fbeancode\u002Fblob\u002Fmain\u002Fhermes\u002Fprofiles\u002Fworker-writer\u002Fskills\u002Fscientific-slides\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":65,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":18},"01M7F6ACZ7GQJNNW0682235MC3","scientific-schematics","Generates scientific diagram drafts using Nano Banana 2 AI with smart iterative refinement. Uses Gemini 3.7 Flash for quality review. Refines when the review requests improvement, with at most two generations. Specialized in neural network architectures, system diagrams, flowcharts, biological pathways, and complex scientific visualizations.","https:\u002F\u002Fgithub.com\u002Fbeanspowt\u002Fbeancode\u002Fblob\u002Fmain\u002Fhermes\u002Fprofiles\u002Fworker-writer\u002Fskills\u002Fscientific-schematics\u002FSKILL.md",[],[],{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":65,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":18},"01M7F6A2JDHTYABYSA4NCE82VG","research-grants","Supports research proposal preparation and review for NSF, NIH, DOE, DARPA, and Taiwan NSTC, including opportunity-specific requirements, aims, review criteria, budgets, broader impacts, forms, and resubmissions. Use for investigator-authored grant development, compliance matrices, and proposal critiques.","https:\u002F\u002Fgithub.com\u002Fbeanspowt\u002Fbeancode\u002Fblob\u002Fmain\u002Fhermes\u002Fprofiles\u002Fworker-writer\u002Fskills\u002Fresearch-grants\u002FSKILL.md",[],[]]