[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7DKYDRBFTBS2J58QMB7SMHK":3,"skill-same:01M7DKYDRBFTBS2J58QMB7SMHK":67},{"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":36,"commitSha":37,"skillDirectory":38,"forksCount":39,"repositoryHtmlUrl":40,"repositoryHomepageUrl":6,"ownerHtmlUrl":41,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":42,"install":43,"resources":56},"01M7DKYDRBFTBS2J58QMB7SMHK","prioritize-clinical-variants",null,"Rank annotated variants into research-triage tiers (ClinVar pathogenic, likely pathogenic, VUS favouring pathogenic, VUS, likely benign, benign) from ClinVar significance used verbatim, gnomAD allele frequency against a dominant or recessive disease-model cutoff and the ACMG BA1 5 percent rule, and in-silico predictors (SIFT, PolyPhen, REVEL, CADD, AlphaMissense) as supporting evidence only. Pure Python; reads a per-variant annotation TSV and writes a tier-sorted CSV with the evidence for each tier plus a JSON of tier counts. Use when a rare-variant list from VEP, ClinVar and gnomAD annotation must be ordered for review (which variants to look at first) or when choosing the disease model and cutoffs for that ordering. Research triage only, NOT a clinical ACMG\u002FAMP classification.","lijinbio\u002Faiscientist-skills","lijinbio","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F16247242?v=4","01M7DKPQK7Q6V7QXAAPV51Z89N","Jin Li","01M7DKPQM0NMDN3M6XH7Z9AAKM",0,"MIT","https:\u002F\u002Fgithub.com\u002Flijinbio\u002Faiscientist-skills\u002Fblob\u002Fmain\u002Fskills\u002Fvariants\u002Fprioritize-clinical-variants\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: prioritize-clinical-variants\ndescription: Rank annotated variants into research-triage tiers (ClinVar pathogenic, likely pathogenic, VUS favouring pathogenic, VUS, likely benign, benign) from ClinVar significance used verbatim, gnomAD allele frequency against a dominant or recessive disease-model cutoff and the ACMG BA1 5 percent rule, and in-silico predictors (SIFT, PolyPhen, REVEL, CADD, AlphaMissense) as supporting evidence only. Pure Python; reads a per-variant annotation TSV and writes a tier-sorted CSV with the evidence for each tier plus a JSON of tier counts. Use when a rare-variant list from VEP, ClinVar and gnomAD annotation must be ordered for review (which variants to look at first) or when choosing the disease model and cutoffs for that ordering. Research triage only, NOT a clinical ACMG\u002FAMP classification.\nlicense: MIT\ncompatibility: Python 3.11+, standard library only. No GPU, no scheduler, no network.\nmetadata:\n  category: variants\n  version: \"1.0.0\"\n  status: community\n  author: \"Yijun Sun\"\n  aliases: \"clinical_variant_prioritization\"\n  tags: \"variant-prioritization, clinvar, gnomad, acmg, rare-disease, vus, in-silico-predictors\"\n  tested-with: \"Python 3.12.15 and 3.13.9 (standard library only)\"\n  compute: \"1 CPU, under 100 MB RAM, well under 1 s for 10 variants\"\n  requires-gpu: \"false\"\n  scheduler: \"none\"\n  requires-network: \"none\"\n  requires-secrets: \"none\"\n---\n\n# Prioritize annotated variants into research-triage tiers\n\n`scripts\u002Freference.py` reads `tables\u002Fvariant_annotation.tsv` (one row per annotated variant) and\nwrites `tables\u002Fprioritized_variants.csv`, sorted from the most to the least actionable tier with\nthe evidence behind each tier, and `data\u002Fprioritization_summary.json` with the tier counts and the\ncaveat below. It needs nothing beyond the Python standard library.\n\n> **Research triage only, not a clinical ACMG\u002FAMP diagnosis.** ClinVar significance is used\n> verbatim and never upgraded. Computational predictions are supporting evidence only (ACMG\n> PP3\u002FBP4): a rare variant with strong predictions becomes `VUS_FAVOR_PATH`, still a VUS, never\n> pathogenic from computation alone. Every prioritized variant needs orthogonal validation\n> (segregation, phenotype, expert review) before any clinical use.\n\nThe most likely mistake is the wrong disease model: the dominant cutoff (AF below 1e-4) is 100\ntimes stricter than the recessive one (below 1e-2), so the same variant can be `VUS` under one and\n`VUS_LIKELY_BENIGN` under the other. Also note that a blank frequency counts as AF 0, so a variant\nwith no gnomAD record is treated as rare, and that absence from ClinVar is not evidence of\nbenignity.\n\nAdapted from the `classify_variant()` heuristic of the variant-calling-clinical-interpretation\nprotocol of [operon](https:\u002F\u002Fgithub.com\u002Fswaruplab\u002Foperon) (MIT licence, Copyright (c) 2026 Swarup Lab) (disease-model AF thresholds, ClinVar and\nin-silico predictors).\n\nTested on synthetic data only (`tests\u002F`: 10 variants covering every tier, under both disease\nmodels, plus a missing and an empty table) with Python 3.12.15 and 3.13.9. It has been an\nAiScientist skill since July 2026.\n\n## 1. Environment setup\n\nAny Python 3.11 or newer; no packages to install.\n\n```bash\npython3 --version   # 3.11 or newer\n```\n\n## 2. Prepare inputs\n\nA tab-separated table at `$AISCIENTIST_ARTIFACTS\u002Ftables\u002Fvariant_annotation.tsv` with one row per\nvariant. The script uses these columns and ignores the rest:\n\n| Column | Content | Used for |\n| --- | --- | --- |\n| `clinical_significance` | ClinVar significance as VEP writes it (`pathogenic`, `likely_pathogenic`, `uncertain_significance`, `conflicting_interpretations_of_pathogenicity`, `benign`, ...); blank when not in ClinVar | the ClinVar tiers |\n| `max_af` | highest population allele frequency (gnomAD, 1000 Genomes) as a decimal; blank when there is no record | rarity, BA1 |\n| `impact`, `consequence` | VEP impact and consequence terms | loss of function |\n| `sift`, `polyphen` | VEP SIFT and PolyPhen calls (`deleterious...`, `probably_damaging`, `possibly_damaging`) | predictor hits |\n| `revel`, `cadd_phred`, `alphamissense` | predictor scores, optional; blank or absent is fine | predictor hits |\n| `gene_symbol`, `location`, `rsid` | copied to the output | |\n\nIn AiScientist, `annotate_variants` writes this table with exactly these column names. Elsewhere,\nbuild it from your own annotation (for example a VEP run with ClinVar and gnomAD) with these\ncolumn names. Prefer the gnomAD filtering allele frequency (FAF) over the raw AF in `max_af` when\nyou have it.\n\n## 3. Configure\n\n| Value | Meaning | Default |\n| --- | --- | --- |\n| `AISCIENTIST_DISEASE_MODEL` (`DISEASE_MODEL`) | `dominant` or `recessive`; sets the rare cutoff | `dominant` |\n| `RARE_AF` | rare when AF is below it: dominant 1e-4, recessive 1e-2; any other model uses 1e-4 | from the model |\n| `BA1_AF` | above it, a variant not in ClinVar is `LIKELY_BENIGN_COMMON` (ACMG BA1: too common to cause a rare disease) | 0.05 |\n| `REVEL_PATH`, `CADD_PATH`, `ALPHAMISSENSE_PATH` | a predictor hit is REVEL above 0.5, CADD phred 20 or more, AlphaMissense above 0.564 | as listed |\n| `LOF_CONSEQUENCES` | consequence substrings counted as loss of function, as is `impact` `HIGH` | frameshift, stop_gained, splice_donor, splice_acceptor, start_lost |\n\nSIFT `deleterious` and PolyPhen `probably_damaging` or `possibly_damaging` are hits too. Change a\ncutoff only with a reason, and report it.\n\nThe tiers, in order of precedence and in the order of the output:\n\n| Tier | Rule |\n| --- | --- |\n| `PATHOGENIC_CLINVAR` | ClinVar significance is exactly `pathogenic` |\n| `LIKELY_PATHOGENIC_CLINVAR` | any other significance containing `pathogenic` but not `conflicting` (`likely_pathogenic`, `pathogenic\u002Flikely_pathogenic`) |\n| `VUS_FAVOR_PATH` | rare, and loss of function or 2 or more predictor hits |\n| `VUS_ELEVATED` | rare, 1 predictor hit |\n| `VUS` | rare, no hits |\n| `VUS_LIKELY_BENIGN` | AF between the rare cutoff and BA1 |\n| `LIKELY_BENIGN_COMMON` | AF above BA1 (0.05) |\n| `BENIGN_CLINVAR` | ClinVar significance containing `benign` but not `conflicting` |\n\nClinVar is checked first, then BA1, then the computed band. `uncertain_significance` and\n`conflicting_...` fall through to the computed band: they are never upgraded. The pathogenic check\nruns before the benign one, so a combined ClinVar string holding both words without `conflicting`\nlands in a pathogenic tier; read such rows.\n\n## 4. Run\n\n```bash\nexport AISCIENTIST_ARTIFACTS=\u002Fpath\u002Fto\u002Fresults AISCIENTIST_DISEASE_MODEL=recessive\npython scripts\u002Freference.py\n```\n\nIn AiScientist: run it after `annotate_variants`, when the study wants the actionable variants\nordered rather than the flat `high_priority_variants` shortlist the tool writes. Read the script\nwith `read_skill_reference`, set `DISEASE_MODEL` for the study, and run it with `run_code`.\n\n## 5. Validate before using the output\n\n1. `total_variants` in the summary equals the number of rows in the input table.\n2. If `max_af` is blank in most rows, every one of them counts as rare: check that the frequency\n   annotation actually ran before trusting the VUS tiers.\n3. The predictor columns are blank unless the annotation added them. With SIFT and PolyPhen only,\n   2 hits need both; say which predictors were present.\n4. Read the `Evidence` column of the top rows: each computed tier names the AF, the cutoff, the\n   predictor hits and the loss-of-function flag behind it.\n\n## Report\n\nThe disease model and the cutoffs, the tier counts, then lead the actionable section with the top\ntiers (`PATHOGENIC_CLINVAR`, `LIKELY_PATHOGENIC_CLINVAR`, `VUS_FAVOR_PATH`), giving gene, location,\nrsID and the evidence for each. Always carry the research-triage caveat, report ClinVar\nsignificance verbatim, and say that absence from ClinVar is not evidence of benignity.\n","# Prioritize annotated variants into research-triage tiers\n\n`scripts\u002Freference.py` reads `tables\u002Fvariant_annotation.tsv` (one row per annotated variant) and\nwrites `tables\u002Fprioritized_variants.csv`, sorted from the most to the least actionable tier with\nthe evidence behind each tier, and `data\u002Fprioritization_summary.json` with the tier counts and the\ncaveat below. It needs nothing beyond the Python standard library.\n\n> **Research triage only, not a clinical ACMG\u002FAMP diagnosis.** ClinVar significance is used\n> verbatim and never upgraded. Computational predictions are supporting evidence only (ACMG\n> PP3\u002FBP4): a rare variant with strong predictions becomes `VUS_FAVOR_PATH`, still a VUS, never\n> pathogenic from computation alone. Every prioritized variant needs orthogonal validation\n> (segregation, phenotype, expert review) before any clinical use.\n\nThe most likely mistake is the wrong disease model: the dominant cutoff (AF below 1e-4) is 100\ntimes stricter than the recessive one (below 1e-2), so the same variant can be `VUS` under one and\n`VUS_LIKELY_BENIGN` under the other. Also note that a blank frequency counts as AF 0, so a variant\nwith no gnomAD record is treated as rare, and that absence from ClinVar is not evidence of\nbenignity.\n\nAdapted from the `classify_variant()` heuristic of the variant-calling-clinical-interpretation\nprotocol of [operon](https:\u002F\u002Fgithub.com\u002Fswaruplab\u002Foperon) (MIT licence, Copyright (c) 2026 Swarup Lab) (disease-model AF thresholds, ClinVar and\nin-silico predictors).\n\nTested on synthetic data only (`tests\u002F`: 10 variants covering every tier, under both disease\nmodels, plus a missing and an empty table) with Python 3.12.15 and 3.13.9. It has been an\nAiScientist skill since July 2026.\n\n## 1. Environment setup\n\nAny Python 3.11 or newer; no packages to install.\n\n```bash\npython3 --version   # 3.11 or newer\n```\n\n## 2. Prepare inputs\n\nA tab-separated table at `$AISCIENTIST_ARTIFACTS\u002Ftables\u002Fvariant_annotation.tsv` with one row per\nvariant. The script uses these columns and ignores the rest:\n\n| Column | Content | Used for |\n| --- | --- | --- |\n| `clinical_significance` | ClinVar significance as VEP writes it (`pathogenic`, `likely_pathogenic`, `uncertain_significance`, `conflicting_interpretations_of_pathogenicity`, `benign`, ...); blank when not in ClinVar | the ClinVar tiers |\n| `max_af` | highest population allele frequency (gnomAD, 1000 Genomes) as a decimal; blank when there is no record | rarity, BA1 |\n| `impact`, `consequence` | VEP impact and consequence terms | loss of function |\n| `sift`, `polyphen` | VEP SIFT and PolyPhen calls (`deleterious...`, `probably_damaging`, `possibly_damaging`) | predictor hits |\n| `revel`, `cadd_phred`, `alphamissense` | predictor scores, optional; blank or absent is fine | predictor hits |\n| `gene_symbol`, `location`, `rsid` | copied to the output | |\n\nIn AiScientist, `annotate_variants` writes this table with exactly these column names. Elsewhere,\nbuild it from your own annotation (for example a VEP run with ClinVar and gnomAD) with these\ncolumn names. Prefer the gnomAD filtering allele frequency (FAF) over the raw AF in `max_af` when\nyou have it.\n\n## 3. Configure\n\n| Value | Meaning | Default |\n| --- | --- | --- |\n| `AISCIENTIST_DISEASE_MODEL` (`DISEASE_MODEL`) | `dominant` or `recessive`; sets the rare cutoff | `dominant` |\n| `RARE_AF` | rare when AF is below it: dominant 1e-4, recessive 1e-2; any other model uses 1e-4 | from the model |\n| `BA1_AF` | above it, a variant not in ClinVar is `LIKELY_BENIGN_COMMON` (ACMG BA1: too common to cause a rare disease) | 0.05 |\n| `REVEL_PATH`, `CADD_PATH`, `ALPHAMISSENSE_PATH` | a predictor hit is REVEL above 0.5, CADD phred 20 or more, AlphaMissense above 0.564 | as listed |\n| `LOF_CONSEQUENCES` | consequence substrings counted as loss of function, as is `impact` `HIGH` | frameshift, stop_gained, splice_donor, splice_acceptor, start_lost |\n\nSIFT `deleterious` and PolyPhen `probably_damaging` or `possibly_damaging` are hits too. Change a\ncutoff only with a reason, and report it.\n\nThe tiers, in order of precedence and in the order of the output:\n\n| Tier | Rule |\n| --- | --- |\n| `PATHOGENIC_CLINVAR` | ClinVar significance is exactly `pathogenic` |\n| `LIKELY_PATHOGENIC_CLINVAR` | any other significance containing `pathogenic` but not `conflicting` (`likely_pathogenic`, `pathogenic\u002Flikely_pathogenic`) |\n| `VUS_FAVOR_PATH` | rare, and loss of function or 2 or more predictor hits |\n| `VUS_ELEVATED` | rare, 1 predictor hit |\n| `VUS` | rare, no hits |\n| `VUS_LIKELY_BENIGN` | AF between the rare cutoff and BA1 |\n| `LIKELY_BENIGN_COMMON` | AF above BA1 (0.05) |\n| `BENIGN_CLINVAR` | ClinVar significance containing `benign` but not `conflicting` |\n\nClinVar is checked first, then BA1, then the computed band. `uncertain_significance` and\n`conflicting_...` fall through to the computed band: they are never upgraded. The pathogenic check\nruns before the benign one, so a combined ClinVar string holding both words without `conflicting`\nlands in a pathogenic tier; read such rows.\n\n## 4. Run\n\n```bash\nexport AISCIENTIST_ARTIFACTS=\u002Fpath\u002Fto\u002Fresults AISCIENTIST_DISEASE_MODEL=recessive\npython scripts\u002Freference.py\n```\n\nIn AiScientist: run it after `annotate_variants`, when the study wants the actionable variants\nordered rather than the flat `high_priority_variants` shortlist the tool writes. Read the script\nwith `read_skill_reference`, set `DISEASE_MODEL` for the study, and run it with `run_code`.\n\n## 5. Validate before using the output\n\n1. `total_variants` in the summary equals the number of rows in the input table.\n2. If `max_af` is blank in most rows, every one of them counts as rare: check that the frequency\n   annotation actually ran before trusting the VUS tiers.\n3. The predictor columns are blank unless the annotation added them. With SIFT and PolyPhen only,\n   2 hits need both; say which predictors were present.\n4. Read the `Evidence` column of the top rows: each computed tier names the AF, the cutoff, the\n   predictor hits and the loss-of-function flag behind it.\n\n## Report\n\nThe disease model and the cutoffs, the tier counts, then lead the actionable section with the top\ntiers (`PATHOGENIC_CLINVAR`, `LIKELY_PATHOGENIC_CLINVAR`, `VUS_FAVOR_PATH`), giving gene, location,\nrsID and the evidence for each. Always carry the research-triage caveat, report ClinVar\nsignificance verbatim, and say that absence from ClinVar is not evidence of benignity.\n",{"name":5,"license":15,"metadata":24,"description":7,"compatibility":35},{"tags":25,"author":26,"status":27,"aliases":28,"compute":29,"version":30,"category":31,"scheduler":32,"tested-with":33,"requires-gpu":34,"requires-network":32,"requires-secrets":32},"variant-prioritization, clinvar, gnomad, acmg, rare-disease, vus, in-silico-predictors","Yijun Sun","community","clinical_variant_prioritization","1 CPU, under 100 MB RAM, well under 1 s for 10 variants","1.0.0","variants","none","Python 3.12.15 and 3.13.9 (standard library only)","false","Python 3.11+, standard library only. No GPU, no scheduler, no network.","main","5c42aa74b19348cb68aa35301eba042a737d94d4","skills\u002Fvariants\u002Fprioritize-clinical-variants",2,"https:\u002F\u002Fgithub.com\u002Flijinbio\u002Faiscientist-skills","https:\u002F\u002Fgithub.com\u002Flijinbio","2026-11-14 05:44:08",{"source":8,"skillName":5,"commands":44,"prompt":54,"zipAvailable":55},[45,48,51],{"tool":46,"command":47},"npx","npx skills add lijinbio\u002Faiscientist-skills --skill prioritize-clinical-variants",{"tool":49,"command":50},"bunx","bunx skills add lijinbio\u002Faiscientist-skills --skill prioritize-clinical-variants",{"tool":52,"command":53},"pnpm","pnpm dlx skills add lijinbio\u002Faiscientist-skills --skill prioritize-clinical-variants","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flijinbio\u002Faiscientist-skills\u002Fblob\u002Fmain\u002Fskills\u002Fvariants\u002Fprioritize-clinical-variants\u002FSKILL.md",true,[57,63],{"path":58,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":61,"sourceHtmlUrl":62},"scripts\u002Freference.py","SCRIPT","脚本",6603,"https:\u002F\u002Fgithub.com\u002Flijinbio\u002Faiscientist-skills\u002Fblob\u002Fmain\u002Fskills\u002Fvariants\u002Fprioritize-clinical-variants\u002Fscripts\u002Freference.py",{"path":64,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":65,"sourceHtmlUrl":66},"tests\u002Ftest_prioritize_clinical_variants.py",5634,"https:\u002F\u002Fgithub.com\u002Flijinbio\u002Faiscientist-skills\u002Fblob\u002Fmain\u002Fskills\u002Fvariants\u002Fprioritize-clinical-variants\u002Ftests\u002Ftest_prioritize_clinical_variants.py",[68,75,82,89,96,103],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M7DKZPCPYM78N1R0MVAVVYKT","verb-object-with-tool","One or two sentences on what the skill does and when to use it. Name the tool, the input it takes and the output it produces, then list the situations that should trigger it (for example \"Use when setting up X, writing a Y config, or diagnosing a failed Z run\").","https:\u002F\u002Fgithub.com\u002Flijinbio\u002Faiscientist-skills\u002Fblob\u002Fmain\u002Ftemplate\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M7DKZCJMFJJB9ZH9YGCSQHR5","write-variant-tables","Write the five standard variant-annotation result tables - consequence, impact and ClinVar-significance distributions, a ClinVar pathogenic and likely-pathogenic list, and a shortlist of rare, damaging variants not in ClinVar - plus a JSON summary, from an annotated per-variant TSV (VEP consequence and impact, SIFT, PolyPhen, max population AF, rsID, ClinVar significance), in pure Python without re-parsing the VCF or re-running VEP. Use when a study needs these tables with a different rarity cutoff, impact set or damaging-predictor rule, or when rebuilding them from an existing annotation table. In AiScientist, annotate_variants already writes the default tables, so use this only for a custom cut.","https:\u002F\u002Fgithub.com\u002Flijinbio\u002Faiscientist-skills\u002Fblob\u002Fmain\u002Fskills\u002Fvariants\u002Fwrite-variant-tables\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M7DKZ3R4E6JEJT3YB6AHXE60","rank-phenotype-differentials-with-mcp","Map clinical phenotype text to grounded HPO terms and rank a research differential through an already configured phenotype-diagnosis MCP service with LIRICAL and optional literature adjudication. Use for explicit service-based analysis while preserving negation, uncertainty and original probabilities; retain the established workflow when the service is unavailable.","https:\u002F\u002Fgithub.com\u002Flijinbio\u002Faiscientist-skills\u002Fblob\u002Fmain\u002Fskills\u002Fvariants\u002Frank-phenotype-differentials-with-mcp\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":19},"01M7DKYS9R4F5EPCMDHSH3TEZ7","qc-vcf-callset","Judge whether a germline VCF callset is trustworthy before interpreting any variant - Ti\u002FTv, Het\u002FHom, SNP, indel and multiallelic counts, sample count and genotype call rate from bcftools stats (falling back to cyvcf2, then to a plain-Python Ti\u002FTv scan) - and flag values outside the expected human WGS or WES ranges. Writes tables\u002Fvcf_qc_summary.csv and data\u002Fvcf_qc.json with a qc_flags list. Use when a VCF (one sample or a cohort) arrives for annotation or prioritization, when a Ti\u002FTv or Het\u002FHom value needs interpreting, or when deciding whether downstream variant tables must carry a low-confidence caveat.","https:\u002F\u002Fgithub.com\u002Flijinbio\u002Faiscientist-skills\u002Fblob\u002Fmain\u002Fskills\u002Fvariants\u002Fqc-vcf-callset\u002FSKILL.md",[],[],{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":19},"01M7DKY2XPCQ2S639KTPSAJ170","normalize-vcf-with-bcftools","Normalize a VCF with bcftools norm before annotation or ClinVar\u002FgnomAD matching - split multiallelic sites into biallelic records, atomize MNPs into SNPs, then left-align and trim indels against the reference FASTA of the same build - writing an indexed normalized.vcf.gz and a JSON of record counts before and after. Use when a VCF not known to be normalized (especially an indel-heavy one) will be matched against ClinVar, gnomAD or dbSNP, compared between callers or loaded into PLINK, or when a known pathogenic indel comes back as not in ClinVar. In AiScientist, the offline annotate_variants path already normalizes, so do not plan it as a separate step there.","https:\u002F\u002Fgithub.com\u002Flijinbio\u002Faiscientist-skills\u002Fblob\u002Fmain\u002Fskills\u002Fvariants\u002Fnormalize-vcf-with-bcftools\u002FSKILL.md",[],[],{"skillNo":104,"name":105,"nameZh":6,"description":106,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":107,"categories":108,"keywords":109,"publishedAt":19},"01M7DKXR4BGMV141VS7RP3JX6Y","build-variant-db-with-tiledbvcf","Build and query a TileDB-VCF variant database for a cohort with tiledbvcf-py - ingest many indexed single-sample VCFs into one compressed sparse-array dataset (a re-run adds only new samples, with no re-merging), query genomic regions across all or selected samples, and export the matching records (sample, contig, position, alleles, genotype) to a TSV with per-sample counts. Use when a study has many single-sample VCFs and needs population-scale storage, incremental sample addition or fast region and sample queries instead of repeated bcftools merges. Skip it for a single VCF.","https:\u002F\u002Fgithub.com\u002Flijinbio\u002Faiscientist-skills\u002Fblob\u002Fmain\u002Fskills\u002Fvariants\u002Fbuild-variant-db-with-tiledbvcf\u002FSKILL.md",[],[]]