[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EEYS78TY58KVQT8AE6NC4F":3,"skill-same:01M7EEYS78TY58KVQT8AE6NC4F":62},{"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":30,"commitSha":31,"skillDirectory":32,"forksCount":14,"repositoryHtmlUrl":33,"repositoryHomepageUrl":33,"ownerHtmlUrl":34,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":35,"install":36,"resources":49},"01M7EEYS78TY58KVQT8AE6NC4F","bio-population-genetics-rare-variant-association",null,"Gene and region-based rare-variant aggregation - burden\u002Fcollapsing, SKAT, SKAT-O, ACAT-V\u002FACAT-O, annotation-weighted STAAR - with regenie (--vc-tests), SAIGE-GENE+, and the SKAT R package. Single-variant tests are powerless at low minor allele count, so rare variants are aggregated across a gene or region under an explicit mask (functional class plus a MAF cutoff). A burden test collapses variants into one score assuming a single effect direction (powerful when true, near-zero power when risk and protective variants cancel); SKAT is a variance-component test robust to mixed directions; SKAT-O blends the two; ACAT\u002FSTAAR are dependence-robust and annotation-weighted. The mask is the hypothesis, imbalance needs SPA or Firth, and testing burden is per-gene-per-mask. Use when aggregating rare coding or regulatory variants into gene or region tests, choosing burden vs SKAT vs SKAT-O, or building masks. For single-variant GWAS see association-testing; for mask annotations see variant-calling\u002Fvariant-annotation.","Mr-Nobody-Anonymous\u002FAll-skills","Mr-Nobody-Anonymous","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F184253119?v=4","01M7AEXFJHKTYQW5R0ZCQQTWFV","anonymous","01M7C00M3GQR4QKP9GZA42GFAK",0,"MIT","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fbiology\u002Fbio-population-genetics-rare-variant-association\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: bio-population-genetics-rare-variant-association\ndescription: Gene and region-based rare-variant aggregation - burden\u002Fcollapsing, SKAT, SKAT-O, ACAT-V\u002FACAT-O, annotation-weighted STAAR - with regenie (--vc-tests), SAIGE-GENE+, and the SKAT R package. Single-variant tests are powerless at low minor allele count, so rare variants are aggregated across a gene or region under an explicit mask (functional class plus a MAF cutoff). A burden test collapses variants into one score assuming a single effect direction (powerful when true, near-zero power when risk and protective variants cancel); SKAT is a variance-component test robust to mixed directions; SKAT-O blends the two; ACAT\u002FSTAAR are dependence-robust and annotation-weighted. The mask is the hypothesis, imbalance needs SPA or Firth, and testing burden is per-gene-per-mask. Use when aggregating rare coding or regulatory variants into gene or region tests, choosing burden vs SKAT vs SKAT-O, or building masks. For single-variant GWAS see association-testing; for mask annotations see variant-calling\u002Fvariant-annotation.\ntool_type: mixed\nprimary_tool: regenie\nsource: \"https:\u002F\u002Fgithub.com\u002FGPTomics\u002FbioSkills\"\nsource_repository: \"GPTomics\u002FbioSkills\"\nsource_path: \"population-genetics\u002Frare-variant-association\u002FSKILL.md\"\nlicense: \"MIT\"\nimported_at: \"2026-09-20\"\n---\n\n## Version Compatibility\n\nReference examples tested with: regenie 3.4+, SAIGE 1.3+, SKAT 2.2+ (R), STAAR 0.9.7+ (R).\n\nBefore using code patterns, verify installed versions match. If versions differ:\n- R: `packageVersion('\u003Cpkg>')` then `?function_name` to verify parameters\n- CLI: `\u003Ctool> --version` then `\u003Ctool> --help` to confirm flags\n\nIf code throws ImportError, AttributeError, or TypeError, introspect the installed\npackage and adapt the example to match the actual API rather than retrying.\n\nVersion traps that change results, not just syntax: regenie `--vc-tests` accepts `skat,skato,skato-acat,acatv,acato,acato-full` (not `skat-o`), `--aaf-bins` upper bounds always add an implicit singleton mask, and `--build-mask` defaults to `max` (one carrier-status column per set) not `sum`. SAIGE-GENE+ `--maxMAF_in_groupTest` takes multiple comma-separated cutoffs in ONE run (the whole point of GENE+ over GENE). The SKAT R package selects SKAT-O with `method=\"optimal.adj\"` or `method=\"SKATO\"`, and `r.corr` is the rho grid (0=SKAT, 1=burden); `weights.beta=c(1,25)` is the rarer-up-weighting default. The single source of truth for versions is this block, not headings.\n\n# Rare-Variant Association\n\n**\"Test whether rare variants in this gene associate with my trait\"** -> Aggregate the rare variants in a gene or region into one set-based statistic under an explicit mask, because no single rare variant has enough carriers to test alone.\n- CLI: `regenie --step 2 --anno-file ... --set-list ... --mask-def ... --aaf-bins 0.01 --vc-tests skato,acato` (biobank masks plus omnibus tests)\n- CLI: `step2_SPAtests.R --groupFile ... --annotation_in_groupTest lof,missense;lof --maxMAF_in_groupTest 0.0001,0.001,0.01` (SAIGE-GENE+, imbalance-robust)\n- R: `SKAT(Z, obj, method=\"SKATO\", weights.beta=c(1,25))` (direct, small cohorts)\n\nScope: gene\u002Fregion-based rare-variant aggregation (burden, SKAT, SKAT-O, ACAT-V\u002FACAT-O, STAAR), variant masks (functional class plus MAF cutoff), and the per-gene multiple-testing burden. Single-variant GWAS (linear\u002Flogistic\u002FLMM\u002FSPA per marker) routes to association-testing. The functional annotations that define masks (LoF, missense, CADD, regulatory) come from variant-calling\u002Fvariant-annotation. Variant prioritization for clinical interpretation routes to clinical-databases\u002Fvariant-prioritization.\n\n## The Single Most Important Insight -- a gene-based test is a bet about the direction-of-effect architecture, and the mask IS the hypothesis\n\n1. Single-variant GWAS is underpowered for rare variants because a handful of carriers gives a tiny non-centrality, so signal must be aggregated across a gene or region - and HOW it is aggregated encodes a belief about the unobserved effect architecture.\n2. A burden test collapses the set into one direction and is the most powerful test WHEN that holds, but mixing risk and protective variants makes their contributions cancel to a null (false negative); SKAT sums squared scores so directions cannot cancel but is weaker when the truth is unidirectional; SKAT-O optimizes a rho grid between the two and is the default when the architecture is unknown.\n3. The MASK is the hypothesis, not a preprocessing detail: which variants enter (LoF-only vs LoF+missense, MAF\u003C0.01 vs \u003C0.001, annotation weights) defines what is being tested, and a different mask is a different question with a different answer - so report the mask, not just the p-value.\n4. The aggregate is only as calibrated as the null model: case\u002Fcontrol imbalance and low MAC make naive set tests anti-conservative (SAIGE-GENE+ uses SPA, regenie uses Firth\u002FSPA), population structure and relatedness still need an LMM null, and imputed\u002Flow-quality variants silently corrupt the mask unless filtered by INFO\u002FR2 and genotype quality first.\n\n## Tool Taxonomy\n\n| Method | Citation | Mechanism | When |\n|--------|----------|-----------|------|\n| Burden \u002F collapsing (CMC, weighted-sum) | Li & Leal 2008; Madsen & Browning 2009 | Collapse variants into one score, test its single coefficient; assumes one effect direction | Strong prior that variants act the same way (e.g. LoF in a gene) |\n| SKAT | Wu 2011 | Variance-component score test on summed squared weighted single-variant scores; directions do not cancel | Mixed directions, or many neutral variants diluting the set |\n| SKAT-O | Lee 2012 | Optimal linear combination of burden and SKAT over a rho grid in [0,1]; data choose rho | Unknown architecture - the safe default |\n| ACAT-V \u002F ACAT-O | Liu 2019 | Cauchy combination of p-values, calibrated under arbitrary dependence, no permutation\u002FGRM; the smallest p dominates (one artifact can drive it) | Sparse-causal sets, fast omnibus, combining masks\u002Ftests |\n| STAAR \u002F STAAR-O | Li 2020 | Variance-component test weighting variants by multiple functional annotations (annotation PCs) | WGS regulatory regions where annotations carry the signal |\n| SAIGE-GENE+ | Zhou 2022 | LMM null + SPA + variance ratio; multiple MAF cutoffs and annotations in one set test | Biobank binary traits, case\u002Fcontrol imbalance, relatedness |\n| regenie --vc-tests | Mbatchou 2021 | Whole-genome ridge null (step 1), then masked burden\u002FSKAT\u002FSKAT-O\u002FACAT in step 2 with Firth\u002FSPA | Biobank pipelines wanting single-variant and gene tests together |\n\n## Decision Tree by Scenario\n\n| Scenario | Use | Why |\n|----------|-----|-----|\n| Strong prior all variants act one direction (LoF mask) | Burden \u002F collapsing | Most powerful under a true single direction |\n| Risk and protective variants expected in the same set | SKAT | Squared scores, directions do not cancel |\n| Architecture unknown | SKAT-O | Optimizes rho between burden and SKAT |\n| Sparse causal set, or one omnibus across masks | ACAT-V \u002F ACAT-O | Dependence-robust Cauchy combiner, no permutation |\n| WGS noncoding where annotations carry the signal | STAAR-O | Multiple functional-annotation weights in one test |\n| Biobank, imbalanced binary trait, relatedness | SAIGE-GENE+ | SPA + LMM null keeps the tail calibrated at low MAC |\n| One pipeline for single-variant + gene tests at biobank scale | regenie --vc-tests | Shared step-1 null, Firth\u002FSPA in step 2 |\n| Small cohort, full control of mask and weights | SKAT R package | Direct, scriptable, SSD files for many sets |\n\n## Build the Mask and Run Aggregate Tests with regenie\n\n**Goal:** test each gene under one or more masks (functional class x MAF cutoff) using burden plus variance-component tests in a biobank-scale pipeline.\n\n**Approach:** reuse the step-1 whole-genome ridge null, then in step 2 define annotations, gene sets, and mask rules and request the omnibus tests, letting Firth handle imbalanced binary traits.\n\n```bash\n# Step 1 builds the LOCO whole-genome predictor (the null) once, shared with single-variant GWAS.\nregenie --step 1 --bed geno_array --phenoFile pheno.txt --covarFile covar.txt \\\n    --bsize 1000 --lowmem --out fit_null\n\n# Step 2: --anno-file maps variant -> gene -> annotation; --set-list lists each gene's variants;\n# --mask-def names which annotation categories form each mask. --aaf-bins sets the MAF ceilings\n# (a singleton mask is always added). --vc-tests requests SKAT-O and the ACAT omnibus alongside\n# burden. --firth keeps the imbalanced binary-trait tail calibrated; --build-mask max is the default.\nregenie --step 2 --bed geno_wes --phenoFile pheno.txt --covarFile covar.txt \\\n    --pred fit_null_pred.list --anno-file annot.txt --set-list sets.txt --mask-def masks.txt \\\n    --aaf-bins 0.001,0.01 --vc-tests skato,acato --build-mask max \\\n    --bt --firth --approx --pThresh 0.05 --out gene_tests\n```\n\nMask-building file formats (one entry per line, space\u002Ftab separated):\n- `annot.txt`: `VARIANT_ID GENE ANNOTATION` (e.g. `1:55039839:T:C PCSK9 LoF`); variants with no entry fall in `NULL`.\n- `sets.txt`: `GENE CHR POS VARIANT_ID,VARIANT_ID,...` (the gene plus its comma-separated variant list).\n- `masks.txt`: `MASK_NAME ANNOTATION,ANNOTATION` (e.g. `Mask_LoF LoF` and `Mask_LoF_mis LoF,missense`).\n\nRun `regenie --step 2 ... --check-burden-files --ignore-pred` first to catch variants in the set-list that are absent from the annotation file (a silent source of empty or wrong masks). `--ignore-pred` is required here because this validation runs before the step-1 predictor exists.\n\n## Imbalance-Robust Set Tests with SAIGE-GENE+\n\n**Goal:** test genes for an imbalanced binary trait in a related sample, scanning several MAF cutoffs and annotation groups in one pass.\n\n**Approach:** fit the SPA-LMM null once (step 1, with a variance ratio), then run the set test passing multiple annotations and multiple max-MAF thresholds so GENE+ combines them.\n\n```bash\n# Step 2 set test. --annotation_in_groupTest gives the masks (semicolon-separated groups, each a\n# comma-separated annotation list). --maxMAF_in_groupTest passes several MAF cutoffs in ONE run -\n# this multi-cutoff combination is exactly what GENE+ adds over the original SAIGE-GENE.\nstep2_SPAtests.R --bgenFile geno_wes.bgen --groupFile groups.txt \\\n    --GMMATmodelFile null.rda --varianceRatioFile null.varianceRatio.txt \\\n    --annotation_in_groupTest \"lof;lof,missense;lof,missense,synonymous\" \\\n    --maxMAF_in_groupTest 0.0001,0.001,0.01 --is_output_moreDetails TRUE \\\n    --SAIGEOutputFile gene_tests.txt\n```\n\nThe `groups.txt` file gives, per gene, a line of variant IDs and a matching line of their annotations (and optionally a weight line); the annotation labels there must match `--annotation_in_groupTest`.\n\n## Direct SKAT-O in R for a Small Cohort\n\n**Goal:** run burden, SKAT, and SKAT-O on a gene's rare-variant genotype matrix with explicit MAF weighting, for a sample small enough to hold in memory.\n\n**Approach:** fit the null model once on covariates, then call SKAT per gene with the rho grid; for many genes use SSD files keyed by a SetID rather than passing matrices.\n\n```r\nlibrary(SKAT)\n\n# Null model on covariates only (out_type='D' binary, 'C' continuous). Refit once, reuse per gene.\nobj \u003C- SKAT_Null_Model(phenotype ~ age + sex + PC1 + PC2, out_type = 'D', data = covar_df)\n\n# Z is the n x m genotype matrix (0\u002F1\u002F2) for the m rare variants in one gene.\n# weights.beta=c(1,25) is the Beta(MAF;1,25) up-weighting of rarer variants (the SKAT default; the\n# Madsen-Browning weight is the gentler Beta(0.5,0.5)). method='SKATO' searches the rho grid (rho=0\n# SKAT, rho=1 burden); 'burden' or default SKAT recover the endpoints. r.corr passes an explicit rho grid.\nskato \u003C- SKAT(Z, obj, method = 'SKATO', weights.beta = c(1, 25))\nburden \u003C- SKAT(Z, obj, r.corr = 1, weights.beta = c(1, 25))\nskat \u003C- SKAT(Z, obj, weights.beta = c(1, 25))\nc(skato = skato$p.value, burden = burden$p.value, skat = skat$p.value)\n```\n\nFor genome-wide gene scans, build an SSD file with `Generate_SSD_SetID(bed, bim, fam, SetID, SSD, Info)`, `Open_SSD()`, then `SKAT.SSD.All(SSD.INFO, obj)` to test every set without holding all matrices in memory.\n\n## Per-Method Failure Modes\n\n### Burden test cancels under mixed directions\n**Trigger:** a mask mixing risk and protective (or many null) variants. **Mechanism:** the collapsed score sums signed contributions that offset. **Symptom:** near-null p for a gene that SKAT flags strongly. **Fix:** use SKAT or SKAT-O; reserve pure burden for a mask with a real single-direction prior (LoF-only).\n\n### SKAT underpowered when truth is unidirectional\n**Trigger:** a clean LoF mask where every variant raises risk. **Mechanism:** the variance-component test spends power on a 2-sided alternative it does not need. **Symptom:** burden hits, SKAT does not. **Fix:** SKAT-O (lets rho->1) or a burden test for that mask.\n\n### Wrong or default mask\n**Trigger:** running one default MAF cutoff or an unfiltered annotation set. **Mechanism:** the mask defines the hypothesis; a too-loose MAF or LoF+benign-missense mask dilutes signal with noise. **Symptom:** a true gene disappears under one mask, appears under another. **Fix:** test a small grid of masks (LoF, LoF+missense; MAF 0.001, 0.01) and combine with ACAT-O, accounting for the masks in the burden.\n\n### Uncalibrated tail under case\u002Fcontrol imbalance\n**Trigger:** a naive set test on an imbalanced binary trait at low MAC. **Mechanism:** the score statistic's normal\u002Fchi-square null is wrong in the tail. **Symptom:** anti-conservative gene p-values, inflated QQ for rare masks. **Fix:** SAIGE-GENE+ (SPA) or regenie `--firth`\u002F`--spa`; never a plain score test here.\n\n### Residual structure\u002Frelatedness in the null\n**Trigger:** aggregating in a structured or related sample with a fixed-effect-only null. **Mechanism:** relatedness is a covariance structure PCs cannot remove. **Symptom:** genome-wide gene inflation that PCs do not fix. **Fix:** an LMM null (SAIGE-GENE+, regenie step-1 LOCO predictor) before the set test.\n\n### Imputed\u002Flow-quality variants in the mask\n**Trigger:** building masks from imputed or low-callrate genotypes. **Mechanism:** miscalled rare variants add spurious carriers. **Symptom:** unreplicable gene hits driven by a few low-quality sites. **Fix:** filter by INFO\u002FR2 (>=0.8 for rare) and genotype quality before masking; prefer sequenced calls for rare-variant sets.\n\n## Quantitative Thresholds\n\n| Quantity | Typical value | Rationale |\n|----------|---------------|-----------|\n| \"Rare\" MAF cutoff for aggregation | MAF \u003C 0.01 (\u003C 0.001 for LoF-only) | below this single-variant power collapses; aggregate instead |\n| Mask MAF tiers | 0.0001 \u002F 0.001 \u002F 0.01 | nested AAF bins capture ultra-rare and rare jointly (regenie `--aaf-bins`, SAIGE `--maxMAF_in_groupTest`) |\n| Exome-wide gene significance | ~2.5e-6 | Bonferroni 0.05 over ~20,000 genes; tighten further for multiple masks per gene |\n| Per-mask multiple testing | divide by (genes x masks) or combine masks via ACAT-O | each mask is a separate test unless an omnibus absorbs them |\n| Ultra-rare collapsing (MAC) | collapse MAC \u003C ~10 into one pseudo-variant | regenie `--vc-MACthr` default 10; SAIGE-GENE+ collapses ultra-rare for calibration |\n| Imputed-variant quality for masks | INFO\u002FR2 >= 0.8 (rare) | rare imputed dosages are noisy; lenient 0.3 cutoffs corrupt masks |\n| SKAT MAF weighting | Beta(MAF; 1, 25) | `weights.beta=c(1,25)` up-weights rarer variants (Wu 2011 default) |\n\nThresholds are conventions; inspect the per-gene QQ plot and verify current best practice before applying numbers blindly.\n\n## Common Errors\n\n| Error \u002F symptom | Cause | Solution |\n|-----------------|-------|----------|\n| regenie `--vc-tests skat-o` unrecognized | wrong token | use `skato` (and `acato`, `acatv`, `skato-acat`); not `skat-o` |\n| Empty or tiny masks, genes silently dropped | variants in set-list absent from anno-file | run `--check-burden-files` first; harmonize variant IDs |\n| Inflated gene QQ for an imbalanced trait | plain score test, no SPA\u002FFirth | SAIGE-GENE+ or regenie `--firth`\u002F`--spa` |\n| SKAT-O not actually run in R | passing `method=\"SKAT\"` or omitting it | `method=\"SKATO\"` or `\"optimal.adj\"`; `r.corr=1` is pure burden |\n| Single MAF cutoff misses ultra-rare signal | one `--aaf-bins`\u002F`--maxMAF` value | pass nested cutoffs (0.0001,0.001,0.01) in one run |\n| Same single-variant p reported as \"gene\" | testing markers, not a set | confirm a set\u002Fgroup file is supplied and the test is set-based |\n| Gene hit driven by one artifactual variant | ACAT\u002Fburden dominated by a miscalled site | QC inputs (INFO\u002FR2, genotype quality) before aggregating |\n\n## References\n\n1. Li B, Leal SM. Methods for detecting associations with rare variants for common diseases: application to analysis of sequence data. American Journal of Human Genetics 2008; 83(3):311-321. DOI:10.1016\u002Fj.ajhg.2008.06.024.\n2. Madsen BE, Browning SR. A groupwise association test for rare mutations using a weighted sum statistic. PLoS Genetics 2009; 5(2):e1000384. DOI:10.1371\u002Fjournal.pgen.1000384.\n3. Wu MC, Lee S, Cai T, Li Y, Boehnke M, Lin X. Rare-variant association testing for sequencing data with the sequence kernel association test. American Journal of Human Genetics 2011; 89(1):82-93. DOI:10.1016\u002Fj.ajhg.2011.05.029.\n4. Lee S, Emond MJ, Bamshad MJ, et al. Optimal unified approach for rare-variant association testing with application to small-sample case-control whole-exome sequencing studies. American Journal of Human Genetics 2012; 91(2):224-237. DOI:10.1016\u002Fj.ajhg.2012.06.007.\n5. Liu Y, Chen S, Li Z, Morrison AC, Boerwinkle E, Lin X. ACAT: a fast and powerful p value combination method for rare-variant analysis in sequencing studies. American Journal of Human Genetics 2019; 104(3):410-421. DOI:10.1016\u002Fj.ajhg.2019.01.002.\n6. Li X, Li Z, Zhou H, et al. Dynamic incorporation of multiple in silico functional annotations empowers rare variant association analysis of large whole-genome sequencing studies at scale. Nature Genetics 2020; 52(9):969-983. DOI:10.1038\u002Fs41588-020-0676-4.\n7. Mbatchou J, Barnard L, Backman J, et al. Computationally efficient whole-genome regression for quantitative and binary traits. Nature Genetics 2021; 53(7):1097-1103. DOI:10.1038\u002Fs41588-021-00870-7.\n8. Zhou W, Bi W, Zhao Z, et al. SAIGE-GENE+ improves the efficiency and accuracy of set-based rare variant association tests. Nature Genetics 2022; 54(10):1466-1469. DOI:10.1038\u002Fs41588-022-01178-w.\n\n## Related Skills\n\n- association-testing - single-variant GWAS (linear\u002Flogistic\u002FLMM\u002FSPA per marker) that this skill aggregates beyond\n- plink-basics - genotype QC and format conversion before masking\n- population-structure - PCs and relatedness for the null model that calibrates the set test\n- variant-calling\u002Fvariant-annotation - functional annotations (LoF, missense, CADD, regulatory) that define masks\n- clinical-databases\u002Fvariant-prioritization - clinical interpretation of variants flagged by gene tests\n- causal-genomics\u002Ffine-mapping - resolving which variants in a significant gene\u002Fregion carry the signal\n","## Version Compatibility\n\nReference examples tested with: regenie 3.4+, SAIGE 1.3+, SKAT 2.2+ (R), STAAR 0.9.7+ (R).\n\nBefore using code patterns, verify installed versions match. If versions differ:\n- R: `packageVersion('\u003Cpkg>')` then `?function_name` to verify parameters\n- CLI: `\u003Ctool> --version` then `\u003Ctool> --help` to confirm flags\n\nIf code throws ImportError, AttributeError, or TypeError, introspect the installed\npackage and adapt the example to match the actual API rather than retrying.\n\nVersion traps that change results, not just syntax: regenie `--vc-tests` accepts `skat,skato,skato-acat,acatv,acato,acato-full` (not `skat-o`), `--aaf-bins` upper bounds always add an implicit singleton mask, and `--build-mask` defaults to `max` (one carrier-status column per set) not `sum`. SAIGE-GENE+ `--maxMAF_in_groupTest` takes multiple comma-separated cutoffs in ONE run (the whole point of GENE+ over GENE). The SKAT R package selects SKAT-O with `method=\"optimal.adj\"` or `method=\"SKATO\"`, and `r.corr` is the rho grid (0=SKAT, 1=burden); `weights.beta=c(1,25)` is the rarer-up-weighting default. The single source of truth for versions is this block, not headings.\n\n# Rare-Variant Association\n\n**\"Test whether rare variants in this gene associate with my trait\"** -> Aggregate the rare variants in a gene or region into one set-based statistic under an explicit mask, because no single rare variant has enough carriers to test alone.\n- CLI: `regenie --step 2 --anno-file ... --set-list ... --mask-def ... --aaf-bins 0.01 --vc-tests skato,acato` (biobank masks plus omnibus tests)\n- CLI: `step2_SPAtests.R --groupFile ... --annotation_in_groupTest lof,missense;lof --maxMAF_in_groupTest 0.0001,0.001,0.01` (SAIGE-GENE+, imbalance-robust)\n- R: `SKAT(Z, obj, method=\"SKATO\", weights.beta=c(1,25))` (direct, small cohorts)\n\nScope: gene\u002Fregion-based rare-variant aggregation (burden, SKAT, SKAT-O, ACAT-V\u002FACAT-O, STAAR), variant masks (functional class plus MAF cutoff), and the per-gene multiple-testing burden. Single-variant GWAS (linear\u002Flogistic\u002FLMM\u002FSPA per marker) routes to association-testing. The functional annotations that define masks (LoF, missense, CADD, regulatory) come from variant-calling\u002Fvariant-annotation. Variant prioritization for clinical interpretation routes to clinical-databases\u002Fvariant-prioritization.\n\n## The Single Most Important Insight -- a gene-based test is a bet about the direction-of-effect architecture, and the mask IS the hypothesis\n\n1. Single-variant GWAS is underpowered for rare variants because a handful of carriers gives a tiny non-centrality, so signal must be aggregated across a gene or region - and HOW it is aggregated encodes a belief about the unobserved effect architecture.\n2. A burden test collapses the set into one direction and is the most powerful test WHEN that holds, but mixing risk and protective variants makes their contributions cancel to a null (false negative); SKAT sums squared scores so directions cannot cancel but is weaker when the truth is unidirectional; SKAT-O optimizes a rho grid between the two and is the default when the architecture is unknown.\n3. The MASK is the hypothesis, not a preprocessing detail: which variants enter (LoF-only vs LoF+missense, MAF\u003C0.01 vs \u003C0.001, annotation weights) defines what is being tested, and a different mask is a different question with a different answer - so report the mask, not just the p-value.\n4. The aggregate is only as calibrated as the null model: case\u002Fcontrol imbalance and low MAC make naive set tests anti-conservative (SAIGE-GENE+ uses SPA, regenie uses Firth\u002FSPA), population structure and relatedness still need an LMM null, and imputed\u002Flow-quality variants silently corrupt the mask unless filtered by INFO\u002FR2 and genotype quality first.\n\n## Tool Taxonomy\n\n| Method | Citation | Mechanism | When |\n|--------|----------|-----------|------|\n| Burden \u002F collapsing (CMC, weighted-sum) | Li & Leal 2008; Madsen & Browning 2009 | Collapse variants into one score, test its single coefficient; assumes one effect direction | Strong prior that variants act the same way (e.g. LoF in a gene) |\n| SKAT | Wu 2011 | Variance-component score test on summed squared weighted single-variant scores; directions do not cancel | Mixed directions, or many neutral variants diluting the set |\n| SKAT-O | Lee 2012 | Optimal linear combination of burden and SKAT over a rho grid in [0,1]; data choose rho | Unknown architecture - the safe default |\n| ACAT-V \u002F ACAT-O | Liu 2019 | Cauchy combination of p-values, calibrated under arbitrary dependence, no permutation\u002FGRM; the smallest p dominates (one artifact can drive it) | Sparse-causal sets, fast omnibus, combining masks\u002Ftests |\n| STAAR \u002F STAAR-O | Li 2020 | Variance-component test weighting variants by multiple functional annotations (annotation PCs) | WGS regulatory regions where annotations carry the signal |\n| SAIGE-GENE+ | Zhou 2022 | LMM null + SPA + variance ratio; multiple MAF cutoffs and annotations in one set test | Biobank binary traits, case\u002Fcontrol imbalance, relatedness |\n| regenie --vc-tests | Mbatchou 2021 | Whole-genome ridge null (step 1), then masked burden\u002FSKAT\u002FSKAT-O\u002FACAT in step 2 with Firth\u002FSPA | Biobank pipelines wanting single-variant and gene tests together |\n\n## Decision Tree by Scenario\n\n| Scenario | Use | Why |\n|----------|-----|-----|\n| Strong prior all variants act one direction (LoF mask) | Burden \u002F collapsing | Most powerful under a true single direction |\n| Risk and protective variants expected in the same set | SKAT | Squared scores, directions do not cancel |\n| Architecture unknown | SKAT-O | Optimizes rho between burden and SKAT |\n| Sparse causal set, or one omnibus across masks | ACAT-V \u002F ACAT-O | Dependence-robust Cauchy combiner, no permutation |\n| WGS noncoding where annotations carry the signal | STAAR-O | Multiple functional-annotation weights in one test |\n| Biobank, imbalanced binary trait, relatedness | SAIGE-GENE+ | SPA + LMM null keeps the tail calibrated at low MAC |\n| One pipeline for single-variant + gene tests at biobank scale | regenie --vc-tests | Shared step-1 null, Firth\u002FSPA in step 2 |\n| Small cohort, full control of mask and weights | SKAT R package | Direct, scriptable, SSD files for many sets |\n\n## Build the Mask and Run Aggregate Tests with regenie\n\n**Goal:** test each gene under one or more masks (functional class x MAF cutoff) using burden plus variance-component tests in a biobank-scale pipeline.\n\n**Approach:** reuse the step-1 whole-genome ridge null, then in step 2 define annotations, gene sets, and mask rules and request the omnibus tests, letting Firth handle imbalanced binary traits.\n\n```bash\n# Step 1 builds the LOCO whole-genome predictor (the null) once, shared with single-variant GWAS.\nregenie --step 1 --bed geno_array --phenoFile pheno.txt --covarFile covar.txt \\\n    --bsize 1000 --lowmem --out fit_null\n\n# Step 2: --anno-file maps variant -> gene -> annotation; --set-list lists each gene's variants;\n# --mask-def names which annotation categories form each mask. --aaf-bins sets the MAF ceilings\n# (a singleton mask is always added). --vc-tests requests SKAT-O and the ACAT omnibus alongside\n# burden. --firth keeps the imbalanced binary-trait tail calibrated; --build-mask max is the default.\nregenie --step 2 --bed geno_wes --phenoFile pheno.txt --covarFile covar.txt \\\n    --pred fit_null_pred.list --anno-file annot.txt --set-list sets.txt --mask-def masks.txt \\\n    --aaf-bins 0.001,0.01 --vc-tests skato,acato --build-mask max \\\n    --bt --firth --approx --pThresh 0.05 --out gene_tests\n```\n\nMask-building file formats (one entry per line, space\u002Ftab separated):\n- `annot.txt`: `VARIANT_ID GENE ANNOTATION` (e.g. `1:55039839:T:C PCSK9 LoF`); variants with no entry fall in `NULL`.\n- `sets.txt`: `GENE CHR POS VARIANT_ID,VARIANT_ID,...` (the gene plus its comma-separated variant list).\n- `masks.txt`: `MASK_NAME ANNOTATION,ANNOTATION` (e.g. `Mask_LoF LoF` and `Mask_LoF_mis LoF,missense`).\n\nRun `regenie --step 2 ... --check-burden-files --ignore-pred` first to catch variants in the set-list that are absent from the annotation file (a silent source of empty or wrong masks). `--ignore-pred` is required here because this validation runs before the step-1 predictor exists.\n\n## Imbalance-Robust Set Tests with SAIGE-GENE+\n\n**Goal:** test genes for an imbalanced binary trait in a related sample, scanning several MAF cutoffs and annotation groups in one pass.\n\n**Approach:** fit the SPA-LMM null once (step 1, with a variance ratio), then run the set test passing multiple annotations and multiple max-MAF thresholds so GENE+ combines them.\n\n```bash\n# Step 2 set test. --annotation_in_groupTest gives the masks (semicolon-separated groups, each a\n# comma-separated annotation list). --maxMAF_in_groupTest passes several MAF cutoffs in ONE run -\n# this multi-cutoff combination is exactly what GENE+ adds over the original SAIGE-GENE.\nstep2_SPAtests.R --bgenFile geno_wes.bgen --groupFile groups.txt \\\n    --GMMATmodelFile null.rda --varianceRatioFile null.varianceRatio.txt \\\n    --annotation_in_groupTest \"lof;lof,missense;lof,missense,synonymous\" \\\n    --maxMAF_in_groupTest 0.0001,0.001,0.01 --is_output_moreDetails TRUE \\\n    --SAIGEOutputFile gene_tests.txt\n```\n\nThe `groups.txt` file gives, per gene, a line of variant IDs and a matching line of their annotations (and optionally a weight line); the annotation labels there must match `--annotation_in_groupTest`.\n\n## Direct SKAT-O in R for a Small Cohort\n\n**Goal:** run burden, SKAT, and SKAT-O on a gene's rare-variant genotype matrix with explicit MAF weighting, for a sample small enough to hold in memory.\n\n**Approach:** fit the null model once on covariates, then call SKAT per gene with the rho grid; for many genes use SSD files keyed by a SetID rather than passing matrices.\n\n```r\nlibrary(SKAT)\n\n# Null model on covariates only (out_type='D' binary, 'C' continuous). Refit once, reuse per gene.\nobj \u003C- SKAT_Null_Model(phenotype ~ age + sex + PC1 + PC2, out_type = 'D', data = covar_df)\n\n# Z is the n x m genotype matrix (0\u002F1\u002F2) for the m rare variants in one gene.\n# weights.beta=c(1,25) is the Beta(MAF;1,25) up-weighting of rarer variants (the SKAT default; the\n# Madsen-Browning weight is the gentler Beta(0.5,0.5)). method='SKATO' searches the rho grid (rho=0\n# SKAT, rho=1 burden); 'burden' or default SKAT recover the endpoints. r.corr passes an explicit rho grid.\nskato \u003C- SKAT(Z, obj, method = 'SKATO', weights.beta = c(1, 25))\nburden \u003C- SKAT(Z, obj, r.corr = 1, weights.beta = c(1, 25))\nskat \u003C- SKAT(Z, obj, weights.beta = c(1, 25))\nc(skato = skato$p.value, burden = burden$p.value, skat = skat$p.value)\n```\n\nFor genome-wide gene scans, build an SSD file with `Generate_SSD_SetID(bed, bim, fam, SetID, SSD, Info)`, `Open_SSD()`, then `SKAT.SSD.All(SSD.INFO, obj)` to test every set without holding all matrices in memory.\n\n## Per-Method Failure Modes\n\n### Burden test cancels under mixed directions\n**Trigger:** a mask mixing risk and protective (or many null) variants. **Mechanism:** the collapsed score sums signed contributions that offset. **Symptom:** near-null p for a gene that SKAT flags strongly. **Fix:** use SKAT or SKAT-O; reserve pure burden for a mask with a real single-direction prior (LoF-only).\n\n### SKAT underpowered when truth is unidirectional\n**Trigger:** a clean LoF mask where every variant raises risk. **Mechanism:** the variance-component test spends power on a 2-sided alternative it does not need. **Symptom:** burden hits, SKAT does not. **Fix:** SKAT-O (lets rho->1) or a burden test for that mask.\n\n### Wrong or default mask\n**Trigger:** running one default MAF cutoff or an unfiltered annotation set. **Mechanism:** the mask defines the hypothesis; a too-loose MAF or LoF+benign-missense mask dilutes signal with noise. **Symptom:** a true gene disappears under one mask, appears under another. **Fix:** test a small grid of masks (LoF, LoF+missense; MAF 0.001, 0.01) and combine with ACAT-O, accounting for the masks in the burden.\n\n### Uncalibrated tail under case\u002Fcontrol imbalance\n**Trigger:** a naive set test on an imbalanced binary trait at low MAC. **Mechanism:** the score statistic's normal\u002Fchi-square null is wrong in the tail. **Symptom:** anti-conservative gene p-values, inflated QQ for rare masks. **Fix:** SAIGE-GENE+ (SPA) or regenie `--firth`\u002F`--spa`; never a plain score test here.\n\n### Residual structure\u002Frelatedness in the null\n**Trigger:** aggregating in a structured or related sample with a fixed-effect-only null. **Mechanism:** relatedness is a covariance structure PCs cannot remove. **Symptom:** genome-wide gene inflation that PCs do not fix. **Fix:** an LMM null (SAIGE-GENE+, regenie step-1 LOCO predictor) before the set test.\n\n### Imputed\u002Flow-quality variants in the mask\n**Trigger:** building masks from imputed or low-callrate genotypes. **Mechanism:** miscalled rare variants add spurious carriers. **Symptom:** unreplicable gene hits driven by a few low-quality sites. **Fix:** filter by INFO\u002FR2 (>=0.8 for rare) and genotype quality before masking; prefer sequenced calls for rare-variant sets.\n\n## Quantitative Thresholds\n\n| Quantity | Typical value | Rationale |\n|----------|---------------|-----------|\n| \"Rare\" MAF cutoff for aggregation | MAF \u003C 0.01 (\u003C 0.001 for LoF-only) | below this single-variant power collapses; aggregate instead |\n| Mask MAF tiers | 0.0001 \u002F 0.001 \u002F 0.01 | nested AAF bins capture ultra-rare and rare jointly (regenie `--aaf-bins`, SAIGE `--maxMAF_in_groupTest`) |\n| Exome-wide gene significance | ~2.5e-6 | Bonferroni 0.05 over ~20,000 genes; tighten further for multiple masks per gene |\n| Per-mask multiple testing | divide by (genes x masks) or combine masks via ACAT-O | each mask is a separate test unless an omnibus absorbs them |\n| Ultra-rare collapsing (MAC) | collapse MAC \u003C ~10 into one pseudo-variant | regenie `--vc-MACthr` default 10; SAIGE-GENE+ collapses ultra-rare for calibration |\n| Imputed-variant quality for masks | INFO\u002FR2 >= 0.8 (rare) | rare imputed dosages are noisy; lenient 0.3 cutoffs corrupt masks |\n| SKAT MAF weighting | Beta(MAF; 1, 25) | `weights.beta=c(1,25)` up-weights rarer variants (Wu 2011 default) |\n\nThresholds are conventions; inspect the per-gene QQ plot and verify current best practice before applying numbers blindly.\n\n## Common Errors\n\n| Error \u002F symptom | Cause | Solution |\n|-----------------|-------|----------|\n| regenie `--vc-tests skat-o` unrecognized | wrong token | use `skato` (and `acato`, `acatv`, `skato-acat`); not `skat-o` |\n| Empty or tiny masks, genes silently dropped | variants in set-list absent from anno-file | run `--check-burden-files` first; harmonize variant IDs |\n| Inflated gene QQ for an imbalanced trait | plain score test, no SPA\u002FFirth | SAIGE-GENE+ or regenie `--firth`\u002F`--spa` |\n| SKAT-O not actually run in R | passing `method=\"SKAT\"` or omitting it | `method=\"SKATO\"` or `\"optimal.adj\"`; `r.corr=1` is pure burden |\n| Single MAF cutoff misses ultra-rare signal | one `--aaf-bins`\u002F`--maxMAF` value | pass nested cutoffs (0.0001,0.001,0.01) in one run |\n| Same single-variant p reported as \"gene\" | testing markers, not a set | confirm a set\u002Fgroup file is supplied and the test is set-based |\n| Gene hit driven by one artifactual variant | ACAT\u002Fburden dominated by a miscalled site | QC inputs (INFO\u002FR2, genotype quality) before aggregating |\n\n## References\n\n1. Li B, Leal SM. Methods for detecting associations with rare variants for common diseases: application to analysis of sequence data. American Journal of Human Genetics 2008; 83(3):311-321. DOI:10.1016\u002Fj.ajhg.2008.06.024.\n2. Madsen BE, Browning SR. A groupwise association test for rare mutations using a weighted sum statistic. PLoS Genetics 2009; 5(2):e1000384. DOI:10.1371\u002Fjournal.pgen.1000384.\n3. Wu MC, Lee S, Cai T, Li Y, Boehnke M, Lin X. Rare-variant association testing for sequencing data with the sequence kernel association test. American Journal of Human Genetics 2011; 89(1):82-93. DOI:10.1016\u002Fj.ajhg.2011.05.029.\n4. Lee S, Emond MJ, Bamshad MJ, et al. Optimal unified approach for rare-variant association testing with application to small-sample case-control whole-exome sequencing studies. American Journal of Human Genetics 2012; 91(2):224-237. DOI:10.1016\u002Fj.ajhg.2012.06.007.\n5. Liu Y, Chen S, Li Z, Morrison AC, Boerwinkle E, Lin X. ACAT: a fast and powerful p value combination method for rare-variant analysis in sequencing studies. American Journal of Human Genetics 2019; 104(3):410-421. DOI:10.1016\u002Fj.ajhg.2019.01.002.\n6. Li X, Li Z, Zhou H, et al. Dynamic incorporation of multiple in silico functional annotations empowers rare variant association analysis of large whole-genome sequencing studies at scale. Nature Genetics 2020; 52(9):969-983. DOI:10.1038\u002Fs41588-020-0676-4.\n7. Mbatchou J, Barnard L, Backman J, et al. Computationally efficient whole-genome regression for quantitative and binary traits. Nature Genetics 2021; 53(7):1097-1103. DOI:10.1038\u002Fs41588-021-00870-7.\n8. Zhou W, Bi W, Zhao Z, et al. SAIGE-GENE+ improves the efficiency and accuracy of set-based rare variant association tests. Nature Genetics 2022; 54(10):1466-1469. DOI:10.1038\u002Fs41588-022-01178-w.\n\n## Related Skills\n\n- association-testing - single-variant GWAS (linear\u002Flogistic\u002FLMM\u002FSPA per marker) that this skill aggregates beyond\n- plink-basics - genotype QC and format conversion before masking\n- population-structure - PCs and relatedness for the null model that calibrates the set test\n- variant-calling\u002Fvariant-annotation - functional annotations (LoF, missense, CADD, regulatory) that define masks\n- clinical-databases\u002Fvariant-prioritization - clinical interpretation of variants flagged by gene tests\n- causal-genomics\u002Ffine-mapping - resolving which variants in a significant gene\u002Fregion carry the signal\n",{"name":5,"source":24,"license":15,"tool_type":25,"description":7,"imported_at":26,"source_path":27,"primary_tool":28,"source_repository":29},"https:\u002F\u002Fgithub.com\u002FGPTomics\u002FbioSkills","mixed","2026-09-20","population-genetics\u002Frare-variant-association\u002FSKILL.md","regenie","GPTomics\u002FbioSkills","main","2d1750717747097b602acf30bd09a7cbd4b4c6ea","awesome_skills\u002Fbiology\u002Fbio-population-genetics-rare-variant-association","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous","2026-11-09 11:45:36",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill bio-population-genetics-rare-variant-association",{"tool":42,"command":43},"bunx","bunx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill bio-population-genetics-rare-variant-association",{"tool":45,"command":46},"pnpm","pnpm dlx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill bio-population-genetics-rare-variant-association","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fbiology\u002Fbio-population-genetics-rare-variant-association\u002FSKILL.md",true,[50,56],{"path":51,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":54,"sourceHtmlUrl":55},"examples\u002Frare_variant_test.sh","SCRIPT","脚本",3031,"https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fbiology\u002Fbio-population-genetics-rare-variant-association\u002Fexamples\u002Frare_variant_test.sh",{"path":57,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":60,"sourceHtmlUrl":61},"usage-guide.md","REFERENCE","参考文档",6179,"https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fbiology\u002Fbio-population-genetics-rare-variant-association\u002Fusage-guide.md",[63,71,78,85,92,99],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":70},"01M7FFFZPC2025JQQHPHDX154J","dei-assessment","Assess diversity, equity, and inclusion with metrics. TRIGGERS - Use when user needs help with dei-assessment related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fdei-assessment\u002FSKILL.md",[],[],"2026-11-16 10:05:34",{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":70},"01M7FFFWN8H4WA7A6Y398QKB6J","dei-action-plan","Create DEI action plans with goals and initiatives. TRIGGERS - Use when user needs help with dei-action-plan related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fdei-action-plan\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":70},"01M7FFFSHTM0QZRVZ2NRJTJ0PY","culture-fit-assessment","Design culture add assessment processes. TRIGGERS - Use when user needs help with culture-fit-assessment related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fculture-fit-assessment\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":70},"01M7FFFMA12RKEQA38KHJSXXPS","cowork-to-code-bridge","Use an already-installed, independently verified cowork-to-code bridge to run narrowly approved actions on the user's own macOS, Linux, or WSL2 machine through a local file queue.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fcowork-to-code-bridge\u002FSKILL.md",[],[],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":70},"01M7FFFH1F6M8YRGW5V487GH1K","counter-offer-response","Draft counter-offer responses for retention. TRIGGERS - Use when user needs help with counter-offer-response related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fcounter-offer-response\u002FSKILL.md",[],[],{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":70},"01M7FFFDGEHV8Y7J9N40HZXW52","continuous-feedback-system","Design continuous feedback systems. TRIGGERS - Use when user needs help with continuous-feedback-system related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fcontinuous-feedback-system\u002FSKILL.md",[],[]]