[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7DKY2XPCQ2S639KTPSAJ170":3,"skill-same:01M7DKY2XPCQ2S639KTPSAJ170":68},{"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":37,"commitSha":38,"skillDirectory":39,"forksCount":40,"repositoryHtmlUrl":41,"repositoryHomepageUrl":6,"ownerHtmlUrl":42,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":43,"install":44,"resources":57},"01M7DKY2XPCQ2S639KTPSAJ170","normalize-vcf-with-bcftools",null,"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.","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\u002Fnormalize-vcf-with-bcftools\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: normalize-vcf-with-bcftools\ndescription: 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.\nlicense: MIT\ncompatibility: bcftools from bioconda, bash, and Python 3.11+ (standard library only); a reference genome FASTA matching the VCF's build and contig names. No GPU, no scheduler.\nmetadata:\n  category: variants\n  version: \"1.0.0\"\n  status: community\n  author: \"Yijun Sun\"\n  aliases: \"normalize_vcf\"\n  tags: \"vcf, variant-normalization, bcftools, left-alignment, multiallelic, clinvar, gnomad\"\n  tested-with: \"bcftools 1.24, htslib 1.23.1, Python 3.12.15\"\n  compute: \"1 CPU, under 100 MB RAM, about 1 s for a 4-record VCF on a 60-base reference\"\n  requires-gpu: \"false\"\n  scheduler: \"none\"\n  requires-network: \"install\"\n  requires-secrets: \"none\"\n---\n\n# Normalize a VCF with bcftools\n\n`scripts\u002Freference.py` runs three `bcftools norm` stages as one pipe: `-m-any` splits multiallelic\nsites into biallelic records, `--atomize` splits MNPs into single SNPs, and `-f REF` left-aligns and\ntrims indels against the reference FASTA. It writes `normalized.vcf.gz` with a `.tbi` index and\n`data\u002Fnormalization_summary.json` with the record counts before and after.\n\nWhy it matters: dbSNP, ClinVar and gnomAD store variants in a left-aligned, parsimonious form. An\nindel written at the other end of a repeat, or an allele hidden inside a multiallelic record, does\nnot match its database record, so a real pathogenic variant is reported as `not_in_clinvar` with no\nerror anywhere. The most likely mistake is a reference FASTA that does not match the VCF: another\nbuild (GRCh37 vs GRCh38) or other contig names (`chr1` vs `1`). bcftools then stops, and the script\nreports `bcftools norm failed` with the reason. Left-alignment cannot be done without the reference,\nso the script refuses to run without it rather than writing a half-normalized file.\n\nThe stage order is deliberate. Atomizing first makes bcftools 1.24 rewrite a multiallelic SNP\n`G>A,T` as `G>A,*` and `G>T,*`, and the split then leaves spurious `G>*` records with wrong\ngenotypes. Splitting first gives clean biallelic records.\n\nAdapted from the variant-calling-variant-normalization protocol of\n[operon](https:\u002F\u002Fgithub.com\u002Fswaruplab\u002Foperon) (MIT licence, Copyright (c) 2026 Swarup Lab), with the stage order changed as above.\n\nTested on synthetic data only (`tests\u002F`: a one-sample VCF of 4 records on a 60-base reference,\nholding a multiallelic SNP, an MNP, a deletion inside a CA repeat and a plain SNP; 6 records come\nout, the deletion moved to the left end of the repeat) with bcftools 1.24, htslib 1.23.1 and\nPython 3.12.15 on macOS arm64. It has been an AiScientist skill since July 2026.\n\n## 1. Environment setup\n\n```bash\nmamba create -y -n bcftools_1.24 -c conda-forge -c bioconda bcftools=1.24 htslib=1.23.1 python=3.12\nsource \"$(conda info --base)\u002Fetc\u002Fprofile.d\u002Fconda.sh\"\nconda activate bcftools_1.24\nbcftools --version | head -1   # bcftools 1.24\n```\n\nThe script also needs `bash`, which runs the three-stage pipe.\n\n## 2. Prepare inputs\n\n- The VCF (`.vcf` or `.vcf.gz`). The script reads `$AISCIENTIST_DATASET`, else\n  `$AISCIENTIST_WORK\u002Finput.vcf.gz`.\n- The reference FASTA of the VCF's assembly. bcftools builds the `.fai` index beside it when it is\n  missing and the folder is writable.\n\nCheck before running that the contig names agree, and that the build does:\n\n```bash\nbcftools view -h \u002Fpath\u002Fto\u002Fcalls.vcf.gz | grep '^##contig' | head -3\ncut -f1,2 \u002Fpath\u002Fto\u002Fgenome.fa.fai | head -3\n```\n\nchr1 is 249250621 bases in GRCh37 and 248956422 in GRCh38.\n\nSkip normalization when the VCF is already normalized, for example a single-caller GATK or DRAGEN\noutput you know to be left-aligned. Normalizing twice is harmless but wastes time.\n\n## 3. Configure\n\n| Variable | Meaning | Example |\n| --- | --- | --- |\n| `AISCIENTIST_DATASET` | the input VCF (`INPUT_VCF` in the script) | `\u002Fpath\u002Fto\u002Fcalls.vcf.gz` |\n| `AISCIENTIST_REF_FASTA` | the reference FASTA (`REF_FASTA`), same build and contig names as the VCF | `\u002Fpath\u002Fto\u002FGRCh38.primary_assembly.genome.fa` |\n| `AISCIENTIST_WORK` | where `normalized.vcf.gz` and its index are written | `\u002Fpath\u002Fto\u002Fwork` |\n| `AISCIENTIST_ARTIFACTS` | where `data\u002Fnormalization_summary.json` is written | `\u002Fpath\u002Fto\u002Fresults` |\n\nWhether a downstream tool needs biallelic records (from the operon protocol): PLINK yes, ClinVar\nmatching yes, VEP either way, Hail no.\n\n## 4. Run\n\n```bash\nexport AISCIENTIST_DATASET=\u002Fpath\u002Fto\u002Fcalls.vcf.gz AISCIENTIST_REF_FASTA=\u002Fpath\u002Fto\u002Fgenome.fa\nexport AISCIENTIST_WORK=\u002Fpath\u002Fto\u002Fwork AISCIENTIST_ARTIFACTS=\u002Fpath\u002Fto\u002Fresults\npython scripts\u002Freference.py\n```\n\nThe pipe runs as `bash -c` with `set -o pipefail`, so a failure in any stage stops the run, and the\nerror message includes the stderr of all three stages. Paths are shell-quoted, so file names with\nspaces or quotes are safe.\n\nIn AiScientist: under the offline annotation path (`AISCIENTIST_VARIANT_ON_HPC`), do not plan a\nnormalize step. `annotate_variants` already runs `bcftools norm -m-any -f REF` before VEP, which\nsplits multiallelic sites and left-aligns against the reference; it skips only `--atomize`, a minor\ngap for SNV and indel database matching. A separate step could not run there anyway: the `run_code`\nsandbox mounts no reference FASTA, so the script stops at its reference check. Never replace this\nstep with hand-written Python (cyvcf2 or similar): it cannot left-align. Only a REST-path run on a\nsmall, indel-heavy VCF that is known not to be normalized gains from running this first, where\nbcftools and the reference are both available; then point `annotate_variants` at\n`normalized.vcf.gz`.\n\n## 5. Validate before using the output\n\n1. `records_after` in the summary is at least `records_before`: splitting and atomizing only add\n   records. `-1` means bcftools could not read the file to count it.\n2. No star alleles came out of the pipe:\n\n   ```bash\n   bcftools view -H \u002Fpath\u002Fto\u002Fwork\u002Fnormalized.vcf.gz | awk '$5 == \"*\"' | wc -l   # 0\n   ```\n\n   A star allele already in the input (a spanning deletion, `A,*`) comes out as its own `G>*`\n   record, so if the count is not 0, check whether the input had star alleles.\n3. Look up one indel you know sits in a repeat: its `POS` should be the leftmost equivalent\n   position.\n4. `normalized.vcf.gz.tbi` exists; region queries need it.\n\n## Report\n\nThe input VCF, the reference FASTA and its build, the record counts before and after, and the\npath of the normalized VCF that annotation should read. If the step was skipped because the\nannotation path normalizes, say so.\n","# Normalize a VCF with bcftools\n\n`scripts\u002Freference.py` runs three `bcftools norm` stages as one pipe: `-m-any` splits multiallelic\nsites into biallelic records, `--atomize` splits MNPs into single SNPs, and `-f REF` left-aligns and\ntrims indels against the reference FASTA. It writes `normalized.vcf.gz` with a `.tbi` index and\n`data\u002Fnormalization_summary.json` with the record counts before and after.\n\nWhy it matters: dbSNP, ClinVar and gnomAD store variants in a left-aligned, parsimonious form. An\nindel written at the other end of a repeat, or an allele hidden inside a multiallelic record, does\nnot match its database record, so a real pathogenic variant is reported as `not_in_clinvar` with no\nerror anywhere. The most likely mistake is a reference FASTA that does not match the VCF: another\nbuild (GRCh37 vs GRCh38) or other contig names (`chr1` vs `1`). bcftools then stops, and the script\nreports `bcftools norm failed` with the reason. Left-alignment cannot be done without the reference,\nso the script refuses to run without it rather than writing a half-normalized file.\n\nThe stage order is deliberate. Atomizing first makes bcftools 1.24 rewrite a multiallelic SNP\n`G>A,T` as `G>A,*` and `G>T,*`, and the split then leaves spurious `G>*` records with wrong\ngenotypes. Splitting first gives clean biallelic records.\n\nAdapted from the variant-calling-variant-normalization protocol of\n[operon](https:\u002F\u002Fgithub.com\u002Fswaruplab\u002Foperon) (MIT licence, Copyright (c) 2026 Swarup Lab), with the stage order changed as above.\n\nTested on synthetic data only (`tests\u002F`: a one-sample VCF of 4 records on a 60-base reference,\nholding a multiallelic SNP, an MNP, a deletion inside a CA repeat and a plain SNP; 6 records come\nout, the deletion moved to the left end of the repeat) with bcftools 1.24, htslib 1.23.1 and\nPython 3.12.15 on macOS arm64. It has been an AiScientist skill since July 2026.\n\n## 1. Environment setup\n\n```bash\nmamba create -y -n bcftools_1.24 -c conda-forge -c bioconda bcftools=1.24 htslib=1.23.1 python=3.12\nsource \"$(conda info --base)\u002Fetc\u002Fprofile.d\u002Fconda.sh\"\nconda activate bcftools_1.24\nbcftools --version | head -1   # bcftools 1.24\n```\n\nThe script also needs `bash`, which runs the three-stage pipe.\n\n## 2. Prepare inputs\n\n- The VCF (`.vcf` or `.vcf.gz`). The script reads `$AISCIENTIST_DATASET`, else\n  `$AISCIENTIST_WORK\u002Finput.vcf.gz`.\n- The reference FASTA of the VCF's assembly. bcftools builds the `.fai` index beside it when it is\n  missing and the folder is writable.\n\nCheck before running that the contig names agree, and that the build does:\n\n```bash\nbcftools view -h \u002Fpath\u002Fto\u002Fcalls.vcf.gz | grep '^##contig' | head -3\ncut -f1,2 \u002Fpath\u002Fto\u002Fgenome.fa.fai | head -3\n```\n\nchr1 is 249250621 bases in GRCh37 and 248956422 in GRCh38.\n\nSkip normalization when the VCF is already normalized, for example a single-caller GATK or DRAGEN\noutput you know to be left-aligned. Normalizing twice is harmless but wastes time.\n\n## 3. Configure\n\n| Variable | Meaning | Example |\n| --- | --- | --- |\n| `AISCIENTIST_DATASET` | the input VCF (`INPUT_VCF` in the script) | `\u002Fpath\u002Fto\u002Fcalls.vcf.gz` |\n| `AISCIENTIST_REF_FASTA` | the reference FASTA (`REF_FASTA`), same build and contig names as the VCF | `\u002Fpath\u002Fto\u002FGRCh38.primary_assembly.genome.fa` |\n| `AISCIENTIST_WORK` | where `normalized.vcf.gz` and its index are written | `\u002Fpath\u002Fto\u002Fwork` |\n| `AISCIENTIST_ARTIFACTS` | where `data\u002Fnormalization_summary.json` is written | `\u002Fpath\u002Fto\u002Fresults` |\n\nWhether a downstream tool needs biallelic records (from the operon protocol): PLINK yes, ClinVar\nmatching yes, VEP either way, Hail no.\n\n## 4. Run\n\n```bash\nexport AISCIENTIST_DATASET=\u002Fpath\u002Fto\u002Fcalls.vcf.gz AISCIENTIST_REF_FASTA=\u002Fpath\u002Fto\u002Fgenome.fa\nexport AISCIENTIST_WORK=\u002Fpath\u002Fto\u002Fwork AISCIENTIST_ARTIFACTS=\u002Fpath\u002Fto\u002Fresults\npython scripts\u002Freference.py\n```\n\nThe pipe runs as `bash -c` with `set -o pipefail`, so a failure in any stage stops the run, and the\nerror message includes the stderr of all three stages. Paths are shell-quoted, so file names with\nspaces or quotes are safe.\n\nIn AiScientist: under the offline annotation path (`AISCIENTIST_VARIANT_ON_HPC`), do not plan a\nnormalize step. `annotate_variants` already runs `bcftools norm -m-any -f REF` before VEP, which\nsplits multiallelic sites and left-aligns against the reference; it skips only `--atomize`, a minor\ngap for SNV and indel database matching. A separate step could not run there anyway: the `run_code`\nsandbox mounts no reference FASTA, so the script stops at its reference check. Never replace this\nstep with hand-written Python (cyvcf2 or similar): it cannot left-align. Only a REST-path run on a\nsmall, indel-heavy VCF that is known not to be normalized gains from running this first, where\nbcftools and the reference are both available; then point `annotate_variants` at\n`normalized.vcf.gz`.\n\n## 5. Validate before using the output\n\n1. `records_after` in the summary is at least `records_before`: splitting and atomizing only add\n   records. `-1` means bcftools could not read the file to count it.\n2. No star alleles came out of the pipe:\n\n   ```bash\n   bcftools view -H \u002Fpath\u002Fto\u002Fwork\u002Fnormalized.vcf.gz | awk '$5 == \"*\"' | wc -l   # 0\n   ```\n\n   A star allele already in the input (a spanning deletion, `A,*`) comes out as its own `G>*`\n   record, so if the count is not 0, check whether the input had star alleles.\n3. Look up one indel you know sits in a repeat: its `POS` should be the leftmost equivalent\n   position.\n4. `normalized.vcf.gz.tbi` exists; region queries need it.\n\n## Report\n\nThe input VCF, the reference FASTA and its build, the record counts before and after, and the\npath of the normalized VCF that annotation should read. If the step was skipped because the\nannotation path normalizes, say so.\n",{"name":5,"license":15,"metadata":24,"description":7,"compatibility":36},{"tags":25,"author":26,"status":27,"aliases":28,"compute":29,"version":30,"category":31,"scheduler":32,"tested-with":33,"requires-gpu":34,"requires-network":35,"requires-secrets":32},"vcf, variant-normalization, bcftools, left-alignment, multiallelic, clinvar, gnomad","Yijun Sun","community","normalize_vcf","1 CPU, under 100 MB RAM, about 1 s for a 4-record VCF on a 60-base reference","1.0.0","variants","none","bcftools 1.24, htslib 1.23.1, Python 3.12.15","false","install","bcftools from bioconda, bash, and Python 3.11+ (standard library only); a reference genome FASTA matching the VCF's build and contig names. No GPU, no scheduler.","main","5c42aa74b19348cb68aa35301eba042a737d94d4","skills\u002Fvariants\u002Fnormalize-vcf-with-bcftools",2,"https:\u002F\u002Fgithub.com\u002Flijinbio\u002Faiscientist-skills","https:\u002F\u002Fgithub.com\u002Flijinbio","2026-11-14 05:44:08",{"source":8,"skillName":5,"commands":45,"prompt":55,"zipAvailable":56},[46,49,52],{"tool":47,"command":48},"npx","npx skills add lijinbio\u002Faiscientist-skills --skill normalize-vcf-with-bcftools",{"tool":50,"command":51},"bunx","bunx skills add lijinbio\u002Faiscientist-skills --skill normalize-vcf-with-bcftools",{"tool":53,"command":54},"pnpm","pnpm dlx skills add lijinbio\u002Faiscientist-skills --skill normalize-vcf-with-bcftools","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flijinbio\u002Faiscientist-skills\u002Fblob\u002Fmain\u002Fskills\u002Fvariants\u002Fnormalize-vcf-with-bcftools\u002FSKILL.md",true,[58,64],{"path":59,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":62,"sourceHtmlUrl":63},"scripts\u002Freference.py","SCRIPT","脚本",4018,"https:\u002F\u002Fgithub.com\u002Flijinbio\u002Faiscientist-skills\u002Fblob\u002Fmain\u002Fskills\u002Fvariants\u002Fnormalize-vcf-with-bcftools\u002Fscripts\u002Freference.py",{"path":65,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":66,"sourceHtmlUrl":67},"tests\u002Ftest_normalize_vcf_with_bcftools.py",4278,"https:\u002F\u002Fgithub.com\u002Flijinbio\u002Faiscientist-skills\u002Fblob\u002Fmain\u002Fskills\u002Fvariants\u002Fnormalize-vcf-with-bcftools\u002Ftests\u002Ftest_normalize_vcf_with_bcftools.py",[69,76,83,90,97,104],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"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":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"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":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"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":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"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":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":19},"01M7DKYDRBFTBS2J58QMB7SMHK","prioritize-clinical-variants","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.","https:\u002F\u002Fgithub.com\u002Flijinbio\u002Faiscientist-skills\u002Fblob\u002Fmain\u002Fskills\u002Fvariants\u002Fprioritize-clinical-variants\u002FSKILL.md",[],[],{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"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",[],[]]