@pikaa-ai/pikaa 0.3.22 → 0.3.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (191) hide show
  1. package/assets/brand/orbit-logo-option4-whale.jpg +0 -0
  2. package/assets/brand/orbit-logo.jpg +0 -0
  3. package/assets/brand/orbit-logo.png +0 -0
  4. package/assets/brand/orbit-logo.svg +3 -0
  5. package/dist/cli.js +448 -181
  6. package/dist/index.js +22 -2
  7. package/package.json +1 -2
  8. package/skills/adaptyv/SKILL.md +0 -240
  9. package/skills/aeon/SKILL.md +0 -402
  10. package/skills/analytical-method-validation/SKILL.md +0 -299
  11. package/skills/anndata/SKILL.md +0 -431
  12. package/skills/arbor/SKILL.md +0 -152
  13. package/skills/arboreto/SKILL.md +0 -267
  14. package/skills/astropy/SKILL.md +0 -353
  15. package/skills/autoskill/SKILL.md +0 -233
  16. package/skills/benchling-integration/SKILL.md +0 -229
  17. package/skills/bgpt-paper-search/SKILL.md +0 -75
  18. package/skills/bids/SKILL.md +0 -237
  19. package/skills/biopython/SKILL.md +0 -472
  20. package/skills/bioservices/SKILL.md +0 -399
  21. package/skills/bulk-rnaseq/SKILL.md +0 -198
  22. package/skills/cellxgene-census/SKILL.md +0 -283
  23. package/skills/cirq/SKILL.md +0 -370
  24. package/skills/citation-management/SKILL.md +0 -329
  25. package/skills/clinical-decision-support/SKILL.md +0 -238
  26. package/skills/clinical-decision-support/references/README.md +0 -62
  27. package/skills/clinical-reports/SKILL.md +0 -248
  28. package/skills/clinical-reports/references/README.md +0 -34
  29. package/skills/cobrapy/SKILL.md +0 -496
  30. package/skills/consciousness-council/SKILL.md +0 -151
  31. package/skills/dask/SKILL.md +0 -482
  32. package/skills/database-lookup/SKILL.md +0 -386
  33. package/skills/datamol/SKILL.md +0 -200
  34. package/skills/deepchem/SKILL.md +0 -244
  35. package/skills/deepspot-m/SKILL.md +0 -175
  36. package/skills/deeptools/SKILL.md +0 -412
  37. package/skills/depmap/SKILL.md +0 -301
  38. package/skills/dhdna-profiler/SKILL.md +0 -184
  39. package/skills/diffdock/SKILL.md +0 -488
  40. package/skills/dnanexus-integration/SKILL.md +0 -325
  41. package/skills/docx/SKILL.md +0 -99
  42. package/skills/esm/SKILL.md +0 -334
  43. package/skills/etetoolkit/SKILL.md +0 -327
  44. package/skills/exa-search/SKILL.md +0 -102
  45. package/skills/executing-plans/SKILL.md +0 -14
  46. package/skills/experimental-design/SKILL.md +0 -234
  47. package/skills/exploratory-data-analysis/SKILL.md +0 -280
  48. package/skills/flowio/SKILL.md +0 -310
  49. package/skills/fluidsim/SKILL.md +0 -279
  50. package/skills/frontend-design/SKILL.md +0 -100
  51. package/skills/generate-image/SKILL.md +0 -304
  52. package/skills/geniml/SKILL.md +0 -310
  53. package/skills/genomic-coordinates/SKILL.md +0 -189
  54. package/skills/genomic-intelligence/SKILL.md +0 -243
  55. package/skills/geomaster/README.md +0 -105
  56. package/skills/geomaster/SKILL.md +0 -366
  57. package/skills/geopandas/SKILL.md +0 -250
  58. package/skills/get-available-resources/SKILL.md +0 -260
  59. package/skills/gget/SKILL.md +0 -153
  60. package/skills/ginkgo-cloud-lab/SKILL.md +0 -106
  61. package/skills/glycoengineering/SKILL.md +0 -339
  62. package/skills/gtars/SKILL.md +0 -282
  63. package/skills/guardian-rails/SKILL.md +0 -54
  64. package/skills/histolab/SKILL.md +0 -243
  65. package/skills/hugging-science/SKILL.md +0 -132
  66. package/skills/hypogenic/SKILL.md +0 -290
  67. package/skills/hypothesis-generation/SKILL.md +0 -264
  68. package/skills/imaging-data-commons/SKILL.md +0 -496
  69. package/skills/infographics/SKILL.md +0 -315
  70. package/skills/iso-standards-readiness/SKILL.md +0 -352
  71. package/skills/lab-hardware-cad/SKILL.md +0 -372
  72. package/skills/labarchive-integration/SKILL.md +0 -216
  73. package/skills/lamindb/SKILL.md +0 -408
  74. package/skills/latchbio-integration/SKILL.md +0 -227
  75. package/skills/latex-posters/SKILL.md +0 -369
  76. package/skills/latex-posters/references/README.md +0 -439
  77. package/skills/liteparse/SKILL.md +0 -295
  78. package/skills/literature-review/SKILL.md +0 -263
  79. package/skills/markdown-mermaid-writing/SKILL.md +0 -322
  80. package/skills/market-research-reports/SKILL.md +0 -337
  81. package/skills/markitdown/SKILL.md +0 -264
  82. package/skills/matchms/SKILL.md +0 -276
  83. package/skills/matlab/SKILL.md +0 -274
  84. package/skills/matplotlib/SKILL.md +0 -378
  85. package/skills/medchem/SKILL.md +0 -321
  86. package/skills/modal/SKILL.md +0 -468
  87. package/skills/molecular-dynamics/SKILL.md +0 -458
  88. package/skills/molfeat/SKILL.md +0 -348
  89. package/skills/ncats-arax/SKILL.md +0 -178
  90. package/skills/networkx/SKILL.md +0 -440
  91. package/skills/neurokit2/SKILL.md +0 -323
  92. package/skills/neuropixels-analysis/SKILL.md +0 -412
  93. package/skills/nextflow/SKILL.md +0 -195
  94. package/skills/omero-integration/SKILL.md +0 -222
  95. package/skills/onekgpd/SKILL.md +0 -371
  96. package/skills/ontology-term-resolution/SKILL.md +0 -147
  97. package/skills/open-notebook/SKILL.md +0 -297
  98. package/skills/openpiv/SKILL.md +0 -469
  99. package/skills/opentrons-integration/SKILL.md +0 -322
  100. package/skills/optimize-for-gpu/SKILL.md +0 -176
  101. package/skills/owasp-top10/SKILL.md +0 -48
  102. package/skills/pacsomatic/LICENSE +0 -21
  103. package/skills/pacsomatic/SKILL.md +0 -150
  104. package/skills/paper-lookup/SKILL.md +0 -263
  105. package/skills/paperclip/SKILL.md +0 -413
  106. package/skills/paperzilla/SKILL.md +0 -159
  107. package/skills/parallel-web/SKILL.md +0 -128
  108. package/skills/pathml/SKILL.md +0 -222
  109. package/skills/pathogen-variant-surveillance/SKILL.md +0 -208
  110. package/skills/pathway-enrichment/SKILL.md +0 -194
  111. package/skills/pdf/SKILL.md +0 -322
  112. package/skills/peer-review/SKILL.md +0 -288
  113. package/skills/penetration-testing/SKILL.md +0 -31
  114. package/skills/pennylane/SKILL.md +0 -240
  115. package/skills/phylogenetics/SKILL.md +0 -409
  116. package/skills/pi-agent/SKILL.md +0 -83
  117. package/skills/pkpd-modeling/SKILL.md +0 -381
  118. package/skills/polars/SKILL.md +0 -393
  119. package/skills/polars-bio/SKILL.md +0 -379
  120. package/skills/ponytail/SKILL.md +0 -31
  121. package/skills/ponytail-audit/SKILL.md +0 -18
  122. package/skills/pptx/SKILL.md +0 -246
  123. package/skills/pptx-posters/SKILL.md +0 -258
  124. package/skills/primekg/SKILL.md +0 -99
  125. package/skills/protocolsio-integration/SKILL.md +0 -236
  126. package/skills/pufferlib/SKILL.md +0 -328
  127. package/skills/pydeseq2/SKILL.md +0 -369
  128. package/skills/pydicom/SKILL.md +0 -381
  129. package/skills/pyhealth/SKILL.md +0 -124
  130. package/skills/pylabrobot/SKILL.md +0 -216
  131. package/skills/pymatgen/SKILL.md +0 -404
  132. package/skills/pymc/SKILL.md +0 -310
  133. package/skills/pymoo/SKILL.md +0 -276
  134. package/skills/pyopenms/SKILL.md +0 -179
  135. package/skills/pysam/SKILL.md +0 -330
  136. package/skills/pytdc/SKILL.md +0 -297
  137. package/skills/pytorch-lightning/SKILL.md +0 -191
  138. package/skills/pyzotero/SKILL.md +0 -137
  139. package/skills/qiskit/SKILL.md +0 -259
  140. package/skills/qutip/SKILL.md +0 -317
  141. package/skills/rdkit/SKILL.md +0 -94
  142. package/skills/relsa-severity-assessment/SKILL.md +0 -354
  143. package/skills/research-grants/SKILL.md +0 -296
  144. package/skills/research-grants/references/README.md +0 -287
  145. package/skills/research-lookup/README.md +0 -106
  146. package/skills/research-lookup/SKILL.md +0 -338
  147. package/skills/rowan/SKILL.md +0 -398
  148. package/skills/scanpy/SKILL.md +0 -303
  149. package/skills/scholar-evaluation/SKILL.md +0 -296
  150. package/skills/scientific-brainstorming/SKILL.md +0 -282
  151. package/skills/scientific-critical-thinking/SKILL.md +0 -180
  152. package/skills/scientific-schematics/SKILL.md +0 -370
  153. package/skills/scientific-slides/SKILL.md +0 -379
  154. package/skills/scientific-visualization/SKILL.md +0 -285
  155. package/skills/scientific-writing/SKILL.md +0 -356
  156. package/skills/scikit-bio/SKILL.md +0 -470
  157. package/skills/scikit-learn/SKILL.md +0 -324
  158. package/skills/scikit-survival/SKILL.md +0 -313
  159. package/skills/scvelo/SKILL.md +0 -328
  160. package/skills/scvi-tools/SKILL.md +0 -201
  161. package/skills/seaborn/SKILL.md +0 -254
  162. package/skills/security-auditor/SKILL.md +0 -37
  163. package/skills/shap/SKILL.md +0 -282
  164. package/skills/simpy/SKILL.md +0 -283
  165. package/skills/stable-baselines3/SKILL.md +0 -325
  166. package/skills/statistical-analysis/SKILL.md +0 -446
  167. package/skills/statistical-power/SKILL.md +0 -200
  168. package/skills/statsmodels/SKILL.md +0 -238
  169. package/skills/sympy/SKILL.md +0 -354
  170. package/skills/systematic-debugging/SKILL.md +0 -35
  171. package/skills/tamarind/SKILL.md +0 -285
  172. package/skills/tdd/SKILL.md +0 -26
  173. package/skills/tiledbvcf/SKILL.md +0 -456
  174. package/skills/timesfm-forecasting/SKILL.md +0 -408
  175. package/skills/timesfm-forecasting/examples/global-temperature/README.md +0 -178
  176. package/skills/torch-geometric/SKILL.md +0 -458
  177. package/skills/torchdrug/SKILL.md +0 -241
  178. package/skills/transformers/SKILL.md +0 -195
  179. package/skills/treatment-plans/SKILL.md +0 -174
  180. package/skills/treatment-plans/references/README.md +0 -19
  181. package/skills/umap-learn/SKILL.md +0 -488
  182. package/skills/uncertainty-and-units/SKILL.md +0 -384
  183. package/skills/usfiscaldata/SKILL.md +0 -171
  184. package/skills/vaex/SKILL.md +0 -204
  185. package/skills/venue-templates/SKILL.md +0 -269
  186. package/skills/verification-before-completion/SKILL.md +0 -22
  187. package/skills/waypoint-bio/SKILL.md +0 -273
  188. package/skills/what-if-oracle/SKILL.md +0 -184
  189. package/skills/writing-plans/SKILL.md +0 -15
  190. package/skills/xlsx/SKILL.md +0 -110
  191. package/skills/zarr-python/SKILL.md +0 -241
@@ -1,301 +0,0 @@
1
- ---
2
- name: depmap
3
- description: 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.
4
- license: CC-BY-4.0
5
- metadata:
6
- version: "1.0"
7
- skill-author: Kuan-lin Huang
8
- ---
9
-
10
- # DepMap — Cancer Dependency Map
11
-
12
- ## Overview
13
-
14
- The 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:
15
- - Identifying which genes are essential for specific cancer types
16
- - Finding cancer-selective dependencies (therapeutic targets)
17
- - Validating oncology drug targets
18
- - Discovering synthetic lethal interactions
19
-
20
- **Key resources:**
21
- - DepMap Portal: https://depmap.org/portal/
22
- - DepMap data downloads: https://depmap.org/portal/download/all/
23
- - Python package: `depmap` (or access via API/downloads)
24
- - API: https://depmap.org/portal/api/
25
-
26
- ## When to Use This Skill
27
-
28
- Use DepMap when:
29
-
30
- - **Target validation**: Is a gene essential for survival in cancer cell lines with a specific mutation (e.g., KRAS-mutant)?
31
- - **Biomarker discovery**: What genomic features predict sensitivity to knockout of a gene?
32
- - **Synthetic lethality**: Find genes that are selectively essential when another gene is mutated/deleted
33
- - **Drug sensitivity**: What cell line features predict response to a compound?
34
- - **Pan-cancer essentiality**: Is a gene broadly essential across all cancer types (bad target) or selectively essential?
35
- - **Correlation analysis**: Which pairs of genes have correlated dependency profiles (co-essentiality)?
36
-
37
- ## Core Concepts
38
-
39
- ### Dependency Scores
40
-
41
- | Score | Range | Meaning |
42
- |-------|-------|---------|
43
- | **Chronos** (CRISPR) | ~ -3 to 0+ | More negative = more essential. Common essential threshold: −1. Pan-essential genes ~−1 to −2 |
44
- | **RNAi DEMETER2** | ~ -3 to 0+ | Similar scale to Chronos |
45
- | **Gene Effect** | normalized | Normalized Chronos; −1 = median effect of common essential genes |
46
-
47
- **Key thresholds:**
48
- - Chronos ≤ −0.5: likely dependent
49
- - Chronos ≤ −1: strongly dependent (common essential range)
50
-
51
- ### Cell Line Annotations
52
-
53
- Each cell line has:
54
- - `DepMap_ID`: unique identifier (e.g., `ACH-000001`)
55
- - `cell_line_name`: human-readable name
56
- - `primary_disease`: cancer type
57
- - `lineage`: broad tissue lineage
58
- - `lineage_subtype`: specific subtype
59
-
60
- ## Core Capabilities
61
-
62
- ### 1. DepMap API
63
-
64
- ```python
65
- import requests
66
- import pandas as pd
67
-
68
- BASE_URL = "https://depmap.org/portal/api"
69
-
70
- def depmap_get(endpoint, params=None):
71
- url = f"{BASE_URL}/{endpoint}"
72
- response = requests.get(url, params=params)
73
- response.raise_for_status()
74
- return response.json()
75
- ```
76
-
77
- ### 2. Gene Dependency Scores
78
-
79
- ```python
80
- def get_gene_dependency(gene_symbol, dataset="Chronos_Combined"):
81
- """Get CRISPR dependency scores for a gene across all cell lines."""
82
- url = f"{BASE_URL}/gene"
83
- params = {
84
- "gene_id": gene_symbol,
85
- "dataset": dataset
86
- }
87
- response = requests.get(url, params=params)
88
- return response.json()
89
-
90
- # Alternatively, use the /data endpoint:
91
- def get_dependencies_slice(gene_symbol, dataset_name="CRISPRGeneEffect"):
92
- """Get a gene's dependency slice from a dataset."""
93
- url = f"{BASE_URL}/data/gene_dependency"
94
- params = {"gene_name": gene_symbol, "dataset_name": dataset_name}
95
- response = requests.get(url, params=params)
96
- data = response.json()
97
- return data
98
- ```
99
-
100
- ### 3. Download-Based Analysis (Recommended for Large Queries)
101
-
102
- For large-scale analysis, download DepMap data files and analyze locally:
103
-
104
- ```python
105
- import pandas as pd
106
- import requests, os
107
-
108
- def download_depmap_data(url, output_path):
109
- """Download a DepMap data file."""
110
- response = requests.get(url, stream=True)
111
- with open(output_path, 'wb') as f:
112
- for chunk in response.iter_content(chunk_size=8192):
113
- f.write(chunk)
114
-
115
- # DepMap 24Q4 data files (update version as needed)
116
- FILES = {
117
- "crispr_gene_effect": "https://figshare.com/ndownloader/files/...",
118
- # OR download from: https://depmap.org/portal/download/all/
119
- # Files available:
120
- # CRISPRGeneEffect.csv - Chronos gene effect scores
121
- # OmicsExpressionProteinCodingGenesTPMLogp1.csv - mRNA expression
122
- # OmicsSomaticMutationsMatrixDamaging.csv - mutation binary matrix
123
- # OmicsCNGene.csv - copy number
124
- # sample_info.csv - cell line metadata
125
- }
126
-
127
- def load_depmap_gene_effect(filepath="CRISPRGeneEffect.csv"):
128
- """
129
- Load DepMap CRISPR gene effect matrix.
130
- Rows = cell lines (DepMap_ID), Columns = genes (Symbol (EntrezID))
131
- """
132
- df = pd.read_csv(filepath, index_col=0)
133
- # Rename columns to gene symbols only
134
- df.columns = [col.split(" ")[0] for col in df.columns]
135
- return df
136
-
137
- def load_cell_line_info(filepath="sample_info.csv"):
138
- """Load cell line metadata."""
139
- return pd.read_csv(filepath)
140
- ```
141
-
142
- ### 4. Identifying Selective Dependencies
143
-
144
- ```python
145
- import numpy as np
146
- import pandas as pd
147
-
148
- def find_selective_dependencies(gene_effect_df, cell_line_info, target_gene,
149
- cancer_type=None, threshold=-0.5):
150
- """Find cell lines selectively dependent on a gene."""
151
-
152
- # Get scores for target gene
153
- if target_gene not in gene_effect_df.columns:
154
- return None
155
-
156
- scores = gene_effect_df[target_gene].dropna()
157
- dependent = scores[scores <= threshold]
158
-
159
- # Add cell line info
160
- result = pd.DataFrame({
161
- "DepMap_ID": dependent.index,
162
- "gene_effect": dependent.values
163
- }).merge(cell_line_info[["DepMap_ID", "cell_line_name", "primary_disease", "lineage"]])
164
-
165
- if cancer_type:
166
- result = result[result["primary_disease"].str.contains(cancer_type, case=False, na=False)]
167
-
168
- return result.sort_values("gene_effect")
169
-
170
- # Example usage (after loading data)
171
- # df_effect = load_depmap_gene_effect("CRISPRGeneEffect.csv")
172
- # cell_info = load_cell_line_info("sample_info.csv")
173
- # deps = find_selective_dependencies(df_effect, cell_info, "KRAS", cancer_type="Lung")
174
- ```
175
-
176
- ### 5. Biomarker Analysis (Gene Effect vs. Mutation)
177
-
178
- ```python
179
- import pandas as pd
180
- from scipy import stats
181
-
182
- def biomarker_analysis(gene_effect_df, mutation_df, target_gene, biomarker_gene):
183
- """
184
- Test if mutation in biomarker_gene predicts dependency on target_gene.
185
-
186
- Args:
187
- gene_effect_df: CRISPR gene effect DataFrame
188
- mutation_df: Binary mutation DataFrame (1 = mutated)
189
- target_gene: Gene to assess dependency of
190
- biomarker_gene: Gene whose mutation may predict dependency
191
- """
192
- if target_gene not in gene_effect_df.columns or biomarker_gene not in mutation_df.columns:
193
- return None
194
-
195
- # Align cell lines
196
- common_lines = gene_effect_df.index.intersection(mutation_df.index)
197
- scores = gene_effect_df.loc[common_lines, target_gene].dropna()
198
- mutations = mutation_df.loc[scores.index, biomarker_gene]
199
-
200
- mutated = scores[mutations == 1]
201
- wt = scores[mutations == 0]
202
-
203
- stat, pval = stats.mannwhitneyu(mutated, wt, alternative='less')
204
-
205
- return {
206
- "target_gene": target_gene,
207
- "biomarker_gene": biomarker_gene,
208
- "n_mutated": len(mutated),
209
- "n_wt": len(wt),
210
- "mean_effect_mutated": mutated.mean(),
211
- "mean_effect_wt": wt.mean(),
212
- "pval": pval,
213
- "significant": pval < 0.05
214
- }
215
- ```
216
-
217
- ### 6. Co-Essentiality Analysis
218
-
219
- ```python
220
- import pandas as pd
221
-
222
- def co_essentiality(gene_effect_df, target_gene, top_n=20):
223
- """Find genes with most correlated dependency profiles (co-essential partners)."""
224
- if target_gene not in gene_effect_df.columns:
225
- return None
226
-
227
- target_scores = gene_effect_df[target_gene].dropna()
228
-
229
- correlations = {}
230
- for gene in gene_effect_df.columns:
231
- if gene == target_gene:
232
- continue
233
- other_scores = gene_effect_df[gene].dropna()
234
- common = target_scores.index.intersection(other_scores.index)
235
- if len(common) < 50:
236
- continue
237
- r = target_scores[common].corr(other_scores[common])
238
- if not pd.isna(r):
239
- correlations[gene] = r
240
-
241
- corr_series = pd.Series(correlations).sort_values(ascending=False)
242
- return corr_series.head(top_n)
243
-
244
- # Co-essential genes often share biological complexes or pathways
245
- ```
246
-
247
- ## Query Workflows
248
-
249
- ### Workflow 1: Target Validation for a Cancer Type
250
-
251
- 1. Download `CRISPRGeneEffect.csv` and `sample_info.csv`
252
- 2. Filter cell lines by cancer type
253
- 3. Compute mean gene effect for target gene in cancer vs. all others
254
- 4. Calculate selectivity: how specific is the dependency to your cancer type?
255
- 5. Cross-reference with mutation, expression, or CNA data as biomarkers
256
-
257
- ### Workflow 2: Synthetic Lethality Screen
258
-
259
- 1. Identify cell lines with mutation/deletion in gene of interest (e.g., BRCA1-mutant)
260
- 2. Compute gene effect scores for all genes in mutant vs. WT lines
261
- 3. Identify genes significantly more essential in mutant lines (synthetic lethal partners)
262
- 4. Filter by selectivity and effect size
263
-
264
- ### Workflow 3: Compound Sensitivity Analysis
265
-
266
- 1. Download PRISM compound sensitivity data (`primary-screen-replicate-treatment-info.csv`)
267
- 2. Correlate compound AUC/log2(fold-change) with genomic features
268
- 3. Identify predictive biomarkers for compound sensitivity
269
-
270
- ## DepMap Data Files Reference
271
-
272
- | File | Description |
273
- |------|-------------|
274
- | `CRISPRGeneEffect.csv` | CRISPR Chronos gene effect (primary dependency data) |
275
- | `CRISPRGeneEffectUnscaled.csv` | Unscaled CRISPR scores |
276
- | `RNAi_merged.csv` | DEMETER2 RNAi dependency |
277
- | `sample_info.csv` | Cell line metadata (lineage, disease, etc.) |
278
- | `OmicsExpressionProteinCodingGenesTPMLogp1.csv` | mRNA expression |
279
- | `OmicsSomaticMutationsMatrixDamaging.csv` | Damaging somatic mutations (binary) |
280
- | `OmicsCNGene.csv` | Copy number per gene |
281
- | `PRISM_Repurposing_Primary_Screens_Data.csv` | Drug sensitivity (repurposing library) |
282
-
283
- Download all files from: https://depmap.org/portal/download/all/
284
-
285
- ## Best Practices
286
-
287
- - **Use Chronos scores** (not DEMETER2) for current CRISPR analyses — better controlled for cutting efficiency
288
- - **Distinguish pan-essential from cancer-selective**: Target genes with low variance (essential in all lines) are poor drug targets
289
- - **Validate with expression data**: A gene not expressed in a cell line will score as non-essential regardless of actual function
290
- - **Use DepMap ID** for cell line identification — cell_line_name can be ambiguous
291
- - **Account for copy number**: Amplified genes may appear essential due to copy number effect (junk DNA hypothesis)
292
- - **Multiple testing correction**: When computing biomarker associations genome-wide, apply FDR correction
293
-
294
- ## Additional Resources
295
-
296
- - **DepMap Portal**: https://depmap.org/portal/
297
- - **Data downloads**: https://depmap.org/portal/download/all/
298
- - **DepMap paper**: Behan FM et al. (2019) Nature. PMID: 30971826
299
- - **Chronos paper**: Dempster JM et al. (2021) Nature Methods. PMID: 34349281
300
- - **GitHub**: https://github.com/broadinstitute/depmap-portal
301
- - **Figshare**: https://figshare.com/articles/dataset/DepMap_24Q4_Public/27993966
@@ -1,184 +0,0 @@
1
- ---
2
- name: dhdna-profiler
3
- description: Extract cognitive patterns and thinking fingerprints from any text. Use this skill when the user wants to analyze how someone thinks, understand cognitive style, profile writing or speech patterns, compare thinking styles between people, asks "what's my thinking style", "analyze how this person reasons", "cognitive profile", "thinking pattern", "DHDNA", "digital DNA", or wants to understand the mind behind any text. Also trigger when the user provides text and wants deeper insight into the author's reasoning patterns, decision-making style, or cognitive signature.
4
- allowed-tools: Read Write
5
- license: MIT license
6
- metadata:
7
- version: "1.1"
8
- skill-author: AHK Strategies (ashrafkahoush-ux)
9
- ---
10
-
11
- # DHDNA Profiler — Cognitive Pattern Extraction
12
-
13
- A structured system for extracting the cognitive fingerprint of any text's author. Based on the Digital Human DNA (DHDNA) framework — the theory that every mind has a unique signature pattern expressed through how it reasons, decides, values, and communicates.
14
-
15
- Published research: [DHDNA Pre-print (DOI: 10.5281/zenodo.18736629)](https://doi.org/10.5281/zenodo.18736629) | [IDNA Consolidation v2 (DOI: 10.5281/zenodo.18807387)](https://doi.org/10.5281/zenodo.18807387)
16
-
17
- ## Core Concept
18
-
19
- Just as biological DNA encodes physical identity through base pairs, Digital Human DNA encodes cognitive identity through thinking patterns. Every person's combination of analytical depth, creative range, emotional processing, strategic thinking, and ethical reasoning creates a **unique cognitive signature** — as distinctive as a fingerprint.
20
-
21
- The profiler doesn't judge thinking as "good" or "bad." It maps the topology of how a mind works.
22
-
23
- ## The 12 Cognitive Dimensions
24
-
25
- When profiling text, score each dimension on a 1–10 scale based on evidence in the text:
26
-
27
- | # | Dimension | What It Measures | Low Score (1-3) | High Score (8-10) |
28
- | --- | ------------------------ | ---------------------------------------------------------------- | ---------------------------------- | ------------------------------------------- |
29
- | 1 | **Analytical Depth** | Logical rigor, structured reasoning, causal chains | Intuitive, holistic, pattern-based | Systematic, proof-oriented, precise |
30
- | 2 | **Creative Range** | Novelty of connections, metaphor use, lateral thinking | Conventional, incremental | Paradigm-breaking, cross-domain synthesis |
31
- | 3 | **Emotional Processing** | Emotional vocabulary, empathy signals, affect integration | Detached, clinical | Emotionally rich, feeling-integrated |
32
- | 4 | **Linguistic Precision** | Vocabulary sophistication, sentence architecture, rhetoric | Simple, direct | Architecturally complex, nuanced |
33
- | 5 | **Ethical Reasoning** | Values signals, fairness concern, consequence awareness | Pragmatic, outcome-focused | Principle-driven, justice-oriented |
34
- | 6 | **Strategic Thinking** | Long-term planning, competitive awareness, resource optimization | Tactical, reactive | Multi-move, game-theoretic |
35
- | 7 | **Memory Integration** | Reference to past experience, historical patterns, continuity | Present-focused | Deep historical awareness, precedent-driven |
36
- | 8 | **Social Intelligence** | Audience awareness, perspective-taking, relational framing | Self-referential | Deeply other-aware, coalition-building |
37
- | 9 | **Domain Expertise** | Technical depth, specialized knowledge, jargon confidence | Generalist | Deep specialist |
38
- | 10 | **Intuitive Reasoning** | Gut-feel signals, heuristic shortcuts, pattern leaps | Methodical, step-by-step | Leap-of-faith, insight-driven |
39
- | 11 | **Temporal Orientation** | Time-horizon of thinking — past, present, or future focus | Present-anchored | Time-spanning, historical-to-futurist |
40
- | 12 | **Metacognition** | Self-awareness of own thinking, uncertainty acknowledgment | Unreflective | Deeply self-aware, thinks about thinking |
41
-
42
- ### The 6 Tension Pairs
43
-
44
- Dimensions exist in tension — high scores on one often correlate with lower scores on its pair. These tensions ARE the cognitive signature:
45
-
46
- | Pair | Tension | What It Reveals |
47
- | -------------- | -------------------------- | ---------------------------------------------------------------------- |
48
- | DIM 1 ↔ DIM 10 | Analytical ↔ Intuitive | Logic vs. Gut — how the mind reaches conclusions |
49
- | DIM 3 ↔ DIM 6 | Emotional ↔ Strategic | Heart vs. Head — what drives decisions |
50
- | DIM 2 ↔ DIM 5 | Creative ↔ Ethical | Freedom vs. Framework — innovation within or beyond rules |
51
- | DIM 4 ↔ DIM 12 | Linguistic ↔ Metacognitive | Expression vs. Self-Awareness — external craft vs. internal reflection |
52
- | DIM 7 ↔ DIM 11 | Memory ↔ Temporal | Past vs. Time Itself — experience vs. time-horizon |
53
- | DIM 8 ↔ DIM 9 | Social ↔ Domain | Breadth vs. Depth — people skills vs. technical mastery |
54
-
55
- ## How to Profile
56
-
57
- ### Phase 1 — Evidence Collection
58
-
59
- Read the text carefully. For each dimension, identify **specific textual evidence**:
60
-
61
- - Direct quotes that demonstrate the dimension
62
- - Structural patterns (how arguments are built)
63
- - What's present AND what's absent (gaps reveal as much as content)
64
- - Recurring patterns across multiple passages
65
-
66
- ### Phase 2 — Scoring
67
-
68
- For each of the 12 dimensions:
69
-
70
- 1. Score 1-10 based on evidence
71
- 2. Cite the strongest textual evidence for that score
72
- 3. Flag confidence level: HIGH (multiple clear signals), MEDIUM (some signals), LOW (inferred)
73
-
74
- ### Phase 3 — Pattern Synthesis
75
-
76
- After scoring, identify:
77
-
78
- **Dominant Pattern:** The 2-3 highest-scoring dimensions — this is the mind's "home base"
79
-
80
- **Shadow Pattern:** The 2-3 lowest-scoring dimensions — this is where the mind doesn't naturally go
81
-
82
- **Signature Tensions:** Which tension pairs show the widest gap? These define the cognitive style more than any individual score.
83
-
84
- **Reasoning Topology:** How does the mind move through ideas?
85
-
86
- - Linear (A → B → C → conclusion)
87
- - Spiral (approaches the same idea from multiple angles, each time deeper)
88
- - Web (connects disparate domains into synthesis)
89
- - Dialectic (thesis → antithesis → synthesis)
90
- - Fractal (same pattern at micro and macro levels)
91
-
92
- **Decision Fingerprint:** When facing choices, does this mind:
93
-
94
- - Analyze first, then decide? (Analytical-dominant)
95
- - Feel first, then rationalize? (Emotional-dominant)
96
- - Envision the outcome first, then work backward? (Strategic-dominant)
97
- - Question the question itself? (Metacognitive-dominant)
98
-
99
- ### Phase 4 — Profile Output
100
-
101
- Present the profile as:
102
-
103
- ```
104
- ═══════════════════════════════════════════
105
- DHDNA COGNITIVE PROFILE
106
- Subject: [Name or "Anonymous"]
107
- Text analyzed: [N words / N paragraphs]
108
- Confidence: [HIGH / MEDIUM / LOW]
109
- ═══════════════════════════════════════════
110
-
111
- DIMENSION SCORES:
112
- 1. Analytical Depth ···· [█████████·] 9/10
113
- 2. Creative Range ······ [███████···] 7/10
114
- ... (all 12)
115
-
116
- TENSION MAP:
117
- Analytical ████████░░ ↔ ░░████████ Intuitive
118
- Emotional ███░░░░░░░ ↔ ░░░░░░████ Strategic
119
- ... (all 6 pairs)
120
-
121
- DOMINANT PATTERN: [Top 2-3 dimensions]
122
- SHADOW PATTERN: [Bottom 2-3 dimensions]
123
- REASONING TOPOLOGY: [Linear / Spiral / Web / Dialectic / Fractal]
124
- DECISION FINGERPRINT: [Analyze-first / Feel-first / Envision-first / Question-first]
125
-
126
- NARRATIVE SYNTHESIS:
127
- [2-3 paragraph natural language description of how this mind works,
128
- what makes it distinctive, and what it might miss]
129
-
130
- KEY QUOTES:
131
- [3-5 most revealing quotes with dimension attribution]
132
- ═══════════════════════════════════════════
133
- ```
134
-
135
- ## Comparison Mode
136
-
137
- When the user provides two or more texts from different authors, produce individual profiles and then a **comparison synthesis**:
138
-
139
- - Where do the minds converge? (shared high dimensions)
140
- - Where do they diverge? (opposing scores on the same dimension)
141
- - Which tension pairs would create productive disagreement?
142
- - If these minds were in a room together, what would the conversation look like?
143
-
144
- ## Self-Profile Mode
145
-
146
- If the user asks to profile their own thinking (using the conversation history as text), be transparent:
147
-
148
- - **Ask before reading back through the conversation.** Say what you intend to use as source
149
- material and wait for an answer. Prior turns were written for a different purpose, and mining
150
- them for psychological inference is not something to do silently.
151
- - Score based on the conversation so far
152
- - Acknowledge that conversational text may not represent the full range
153
- - Note that people often think differently when writing for an AI vs. writing for humans
154
- - Offer to re-profile if the user provides other writing samples
155
-
156
- ## Consent and Scope
157
-
158
- This skill infers personal cognitive and psychological attributes. That is a different thing from
159
- summarizing a document, and the boundaries matter:
160
-
161
- - **Profile the text the user brings you for the current request.** Do not go looking for more
162
- material about the same author — other files, earlier sessions, or anything you happened to read.
163
- - **A profile of a third party is speculative and must say so.** When the author is someone who is
164
- not in the conversation and has not agreed to be analyzed — a colleague from a forwarded email, a
165
- candidate from an application, an author from a paper — label the output as an inference from one
166
- text sample, not a finding about that person.
167
- - **Decline profiling that feeds a consequential decision about someone.** Hiring, promotion,
168
- admission, clinical, disciplinary, or credit decisions are out of bounds; this framework has no
169
- validation supporting that use, and a 1–10 cognitive score reads as far more authoritative than
170
- it is.
171
- - **Everything stays local to the session.** Profiles are not written anywhere the user did not ask
172
- for and are not sent to any service.
173
-
174
- ## What This Is NOT
175
-
176
- - Not a personality test (MBTI, Big Five, etc.) — those measure behavioral tendencies, DHDNA measures cognitive architecture
177
- - Not a judgment of intelligence — a chess grandmaster and a poet may score very differently but both demonstrate profound cognitive capability
178
- - Not static — a person's DHDNA evolves as they learn, experience, and grow. A profile is a snapshot, not a destiny.
179
-
180
- ## Built By
181
-
182
- [AHK Strategies](https://ahkstrategies.net) — AI Horizon Knowledge
183
- Full platform: [themindbook.app](https://themindbook.app)
184
- Research: [DHDNA Paper (DOI: 10.5281/zenodo.18736629)](https://doi.org/10.5281/zenodo.18736629)