/genetics-neuroscience-technical:neurogen-population-genetics-and-genome-engineeringfrom genetics-neuroscience-technical
Provides reference material on population genetics, heritability, GWAS, polygenic scores, CRISPR genome engineering, and synthetic biology for work at population scale or genome editing.
Ships in genetics-neuroscience-technical. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Part 2 of 5 of the Genetics and Neuroscience reference (plugin
genetics-neuroscience-technical), covering §4–§6. Sibling skills:neurogen-molecular-genetics-and-regulation(§0–§3),neurogen-neuron-biophysics-plasticity-and-coding(§7–§9),neurogen-circuits-neuromodulation-and-neural-engineering(§10–§14),neurogen-reference(§15–§20). Section numbers are shared across the set; a reference written as §N →skillpoints into that sibling skill.Currency: Molecular mechanism, population genetics and cellular neuroscience are settled; therapeutic genome editing and connectomics moved materially. See §17 →
neurogen-referencefor the frontier.
Scope. Complements a biomedical-engineering reference, which covered bioinformatics pipelines (alignment, variant calling), structural biology, and neural interfaces at the hardware level. This document is the underlying biology and its mathematics. Cross-references point there rather than repeating.
⚠️ GOTCHA boxes mark where the standard summary is wrong or where a number is routinely misinterpreted.
The three facts that recur throughout:
- ⚠️ Regulation, not gene content, explains most biological difference. Humans and chimps share nearly all protein-coding sequence; the difference is when and where genes are expressed (§2 →
neurogen-molecular-genetics-and-regulation).- ⚠️ Heritability is a population statistic, not a property of an individual or a trait. Almost every public misuse of the word stems from missing this (§4.1).
- ⚠️ The brain's computational unit is the circuit, not the neuron. Single-cell biophysics is well understood; how populations implement computation is not (§9 →
neurogen-neuron-biophysics-plasticity-and-coding, §17 →neurogen-reference).
Hardy–Weinberg: p² + 2pq + q² = 1 under random mating, no selection/drift/migration/
mutation. ⚠️ Deviation is usually a genotyping artifact, and HWE testing is a standard
QC filter before it is ever a biological finding.
Variance decomposition: V_P = V_G + V_E + V_GxE, with V_G = V_A + V_D + V_I.
Broad-sense H² = V_G / V_P
Narrow-sense h² = V_A / V_P ⚠️ additive only — this is what responds to selection
⚠️ GOTCHA — what heritability does NOT mean.
- It is a property of a population in an environment, not of a trait or a person. ⚠️ "h² = 0.8" says nothing about any individual.
- It says nothing about malleability. ⚠️ Height is highly heritable and rose dramatically with nutrition. Phenylketonuria is fully genetic and fully treated by diet.
- ⚠️ High h² requires low environmental variance. In a uniform environment, heritability rises mechanically — because the denominator shrank, not because genes matter more.
- ⚠️ It says nothing about between-group differences. Within-group heritability is mathematically compatible with a purely environmental between-group gap — Lewontin's seed-lot argument.
Selection: Δp ≈ spq/w̄ for weak selection. Drift: variance pq/2N_e, and
⚠️ fixation probability of a new neutral allele is 1/2N — small populations lose
variation fast. Effective population size N_e is usually much smaller than census
size. Mutation-selection balance: q̂ ≈ √(µ/s) for recessives, q̂ ≈ µ/s for
dominants.
Linkage disequilibrium: D = p_AB − p_A p_B, normalized as D′ and r².
⚠️ LD decays with recombination and time: D_t = D_0(1−c)^t. This is the entire
basis of GWAS — you genotype a tag SNP and detect an association driven by an
ungenotyped causal variant in LD with it, ⚠️ which is why the lead SNP is usually not
causal.
Model: y = Xβ + ε per variant, with genome-wide significance at p < 5 × 10⁻⁸
(⚠️ Bonferroni for ~1 million independent tests).
⚠️ The technical requirements that make or break a GWAS:
neurogen-molecular-genetics-and-regulation). Use eQTL colocalization,
chromatin contact data, or functional follow-up.Polygenic scores: PRS_i = Σ_j β_j · G_ij.
⚠️ GOTCHA — PRS portability across ancestries is poor, and the reason is structural. Predictive accuracy drops substantially in populations distant from the discovery cohort, because LD patterns, allele frequencies, and effect sizes all differ. Since discovery cohorts have been overwhelmingly European-ancestry, PRS work worst where they are most needed. This is a property of the method plus the sampling, not a fixable analysis choice.
Missing heritability — GWAS-explained variance long fell short of twin-study h².
⚠️ Largely resolved by: many variants of tiny effect below significance thresholds
(SNP-heritability from GREML/LDSC captures much more), rare variants not on arrays, and
⚠️ upward bias in twin-study estimates from shared-environment and assortative-mating
assumptions.
Cas9 (Type II): guide RNA (~20 nt spacer) + PAM (⚠️ SpCas9 requires 5′-NGG-3′ immediately 3′ of the protospacer — the PAM is the targeting constraint, and it is why not every site is editable) → blunt double-strand break ~3 bp upstream of PAM.
Repair determines outcome — ⚠️ this is the crux:
NHEJ error-prone, indels → ⚠️ frameshift KNOCKOUT. Active in all cell-cycle phases
MMEJ microhomology-mediated, predictable deletions
HDR precise KNOCK-IN — ⚠️ requires a donor template AND S/G2 phase,
so it is inefficient and nearly absent in post-mitotic cells (neurons, muscle)
⚠️ "CRISPR can rewrite any gene" collides with this: knockout is easy, precise correction by HDR is hard, and in non-dividing tissue it barely works.
Cas12a (Cpf1): T-rich PAM, staggered cut, ⚠️ processes its own crRNA array — convenient for multiplexing. Cas13: RNA-targeting, ⚠️ edits the transcript, so the effect is transient and the genome is untouched.
Base editing (Komor/Gaudelli) — ⚠️ no double-strand break:
CBE: cytosine deaminase + nCas9 → C•G → T•A
ABE: evolved adenine deaminase + nCas9 → A•T → G•C
⚠️ Editing window is ~4–8 nt within the protospacer, which creates bystander edits — other identical bases in the window are also changed. Together CBE and ABE cover the four transition mutations, but not transversions.
Prime editing (Anzalone): nCas9 fused to reverse transcriptase, guided by a pegRNA that carries both the target and the desired edit as an RT template. ⚠️ Can install all 12 base substitutions plus small insertions and deletions, without a double-strand break or a donor template. The trade: lower efficiency and a much more complex reagent to design.
CRISPRi/CRISPRa: catalytically dead dCas9 fused to KRAB (repress) or VP64/VPR (activate). ⚠️ No sequence change at all — a reversible, tunable perturbation, which makes it the right tool for screens (§6.2).
⚠️ Specificity and safety concerns that are real:
Restriction enzymes and cloning, PCR (⚠️ 2ⁿ amplification; qPCR C_t), Gibson
assembly, Golden Gate, ZFNs and TALENs (⚠️ protein-DNA recognition — harder to
retarget than CRISPR's RNA guide, which is the entire reason CRISPR won),
recombinases (Cre-lox, Flp-FRT — ⚠️ the basis of conditional knockouts),
RNAi (transient knockdown, ⚠️ off-target seed effects are pervasive),
transposons (Sleeping Beauty, PiggyBac).
| Vector | Capacity | Notes |
|---|---|---|
| AAV | ⚠️ ~4.7 kb | Non-integrating (mostly), long expression, serotype-dependent tropism. ⚠️ SpCas9 alone is ~4.2 kb — barely fits, hence dual-vector and compact orthologs |
| Lentivirus | ~8–10 kb | ⚠️ Integrates — durable but insertional mutagenesis risk |
| Adenovirus | ~30 kb | High immunogenicity |
| LNP | large | ⚠️ Transient, re-dosable, liver-tropic by default. The workhorse for in vivo editing |
| Electroporation / RNP | — | ⚠️ Ex vivo standard — transient and highly specific |
⚠️ Tropism is the constraint that shapes the whole field: LNPs go to liver (ApoE-mediated LDLR uptake) unless engineered otherwise. This is why liver diseases dominated the in vivo editing pipeline — not because they were most important, but because they were reachable. CNS, muscle and lung remain hard.
Immunogenicity: pre-existing AAV neutralizing antibodies exclude a large fraction of patients; ⚠️ and AAV re-dosing is generally not possible.
Pooled CRISPR screens: library of guides → select or sort → sequence guide abundance → enrichment/depletion. Readouts: viability, reporter, FACS. ⚠️ Perturb-seq / CROP-seq couples perturbation with single-cell transcriptomic readout, giving a rich phenotype per perturbation rather than a single number. ⚠️ Design essentials: 4–10 guides per gene, non-targeting and safe-harbour controls, adequate library representation (⚠️ ≥500–1000× coverage; under-representation produces noise that looks like hits), and MAGeCK or similar for analysis.
Parts (promoters, RBS, terminators, CDS), devices, systems. Standards: BioBricks, SBOL. Circuits: toggle switch (⚠️ mutual repression → bistability), repressilator (⚠️ three-node ring → oscillation), logic gates, feedback controllers. ⚠️ The recurring practical problems: burden (circuits compete with host metabolism), evolutionary instability (⚠️ a costly circuit is selected against and breaks within tens of generations), context dependence (a part behaves differently in a new construct), and retroactivity (downstream load changes upstream behaviour). Gene drives: super-Mendelian inheritance via homing; ⚠️ resistance alleles arise readily through NHEJ repair at the cut site, which is the central technical obstacle.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
5 skills in this plugin
/neurogen-circuits-neuromodulation-and-neural-engineeringUse when working on circuits or intervening in them: canonical circuit architectures, neuromodulatory systems and their computational roles, development and glia, neural engineering methods including electrophysiology, calcium and voltage imaging, optogenetics and connectomics, and stimulation and intervention including deep brain stimulation and transcranial methods./neurogen-molecular-genetics-and-regulationUse when working with genes and their expression: the central dogma stated accurately, transcription and splicing, translation and protein fate, cis-regulation, chromatin and epigenetic marks, non-coding RNA, and mutation, variant classes and their consequences together with the inheritance patterns. Includes the router for the whole genetics-neuroscience reference./neurogen-neuron-biophysics-plasticity-and-codingUse when reasoning about how neurons compute: neuron biophysics including membrane potentials, the Hodgkin-Huxley treatment, cable theory and synaptic transmission; plasticity including long-term potentiation and depression, spike-timing-dependent plasticity and homeostatic mechanisms; and neural coding — rate versus temporal codes, population coding, and decoding methods.npx claudepluginhub the-vibey-project/vibey --plugin genetics-neuroscience-technical