[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75HM44H0FKHZJF32JFD7DY3":3,"skill-same:01M75HM44H0FKHZJF32JFD7DY3":63},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":29,"commitSha":30,"skillDirectory":31,"forksCount":32,"repositoryHtmlUrl":33,"repositoryHomepageUrl":6,"ownerHtmlUrl":34,"ownerBlogUrl":35,"ownerDescription":6,"updatedAt":36,"install":37,"resources":50},"01M75HM44H0FKHZJF32JFD7DY3","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.","stanfish06\u002Fskillquarium","stanfish06","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F93099613?v=4","01M75F1CK4ZW109ZK3T26VN52F","Zhiyuan","01M75F1CM53VH6F79DZ8GXKKES",12,"CC-BY-4.0","https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fdepmap\u002FSKILL.md",[],[],"2026-11-12 13:55:43",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":15,"metadata":24,"description":7,"compatibility":28},{"version":25,"skill-author":26,"last-reviewed":27},"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.","master","49e49abf2f670d429e0b7e2c0349739c3fdd5cbe","skills\u002Fdepmap",5,"https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium","https:\u002F\u002Fgithub.com\u002Fstanfish06","https:\u002F\u002Fwww.stanfish.dev\u002F","2026-11-14 21:31:37",{"source":8,"skillName":5,"commands":38,"prompt":48,"zipAvailable":49},[39,42,45],{"tool":40,"command":41},"npx","npx skills add stanfish06\u002Fskillquarium --skill depmap",{"tool":43,"command":44},"bunx","bunx skills add stanfish06\u002Fskillquarium --skill depmap",{"tool":46,"command":47},"pnpm","pnpm dlx skills add stanfish06\u002Fskillquarium --skill depmap","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fdepmap\u002FSKILL.md",true,[51,57],{"path":52,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":55,"sourceHtmlUrl":56},"references\u002Fdependency_analysis.md","REFERENCE","参考文档",10165,"https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fdepmap\u002Freferences\u002Fdependency_analysis.md",{"path":58,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":61,"sourceHtmlUrl":62},"scripts\u002Fdepmap_data.py","SCRIPT","脚本",9237,"https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fdepmap\u002Fscripts\u002Fdepmap_data.py",[64,72,81,88,95,102],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":68,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"01M76ZJTRVA456GD7K8Y3EP82H","zarr-python","Stores and queries chunked N-D scientific arrays with Zarr-Python 3, including codecs, sharding, S3\u002FGCS storage, and NumPy\u002FDask\u002FXarray integration. Use for array layout, bounded I\u002FO, format migration, or scientific metadata preservation.","MIT","https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fzarr-python\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":76,"licenseFileUrl":77,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M76ZJQZ15Q1HKC5V85NHE325","yeet","Publish local changes to GitHub by confirming scope, committing intentionally, pushing the branch, and opening a draft PR through the GitHub app from this plugin, with `gh` used only as a fallback where connector coverage is insufficient.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fyeet\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fyeet\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":76,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M76ZJ8ASZ4QYQ70Y6SBA4Z4S","xarray","N-dimensional labeled arrays and datasets in Python. Built on top of NumPy and Dask. It introduces labels in the form of dimensions, coordinates, and attributes on top of raw NumPy-like arrays, making data analysis in physical sciences more intuitive and less error-prone. Use for working with multi-dimensional scientific data, NetCDF\u002FGRIB\u002FZarr files, climate\u002Fweather\u002Foceanographic datasets, remote sensing, geospatial imaging, large out-of-memory datasets with Dask, and labeled array operations.","https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fxarray\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":68,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":19},"01M76ZHFBXD6VXPQ02VCEG202B","writing-mstest-tests","Use when asked to fix, rewrite, update, improve, modernize, show corrected code for, or explain existing MSTest tests or MSTest-specific configuration. Use for \"review\" when corrected code or edits are wanted, even for one pasted assertion or passing tests with bad failure output. Covers expected\u002Factual labels; generic Boolean, collection, string, numeric, null, identity, exception, hard-cast, and object[] checks; TestContext\u002Flifecycle; timeout\u002Fcancellation; OS\u002FCI conditions, retry, cleanup, parallelization, MSTest.Sdk project setup, and MSTESTxxxx. Honor the installed MSTest version. DO NOT USE to design new test cases (code-testing), perform report-only audits, create project files rather than explain MSTest setup, run tests, migrate frameworks, or handle non-MSTest\u002Fnon-.NET code.","https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fwriting-mstest-tests\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":68,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":19},"01M76ZDFDF4N88RH6HSYGS7GP2","wgs-prs","End-to-end WGS to polygenic risk score pipeline. Takes paired-end FASTQ files (or a pre-existing VCF) through nf-core\u002Fsarek for variant calling, applies VCF QC (normalisation, hard filtering, Ti\u002FTv and Het\u002FHom checks), then computes polygenic risk scores via the PGS Catalog. Fills the FASTQ to VCF gap upstream of the gwas-prs skill.","https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fwgs-prs\u002FSKILL.md",[],[],{"skillNo":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":76,"licenseFileUrl":106,"sourceHtmlUrl":107,"categories":108,"keywords":109,"publishedAt":19},"01M76ZCC1SC68J42QK4MDC8RCG","webapp-testing","Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.","https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fwebapp-testing\u002FSKILL.md",[],[]]