[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CZ2WVBDM1PZNF0WX36X2JJ":3,"skill-same:01M6CZ2WVBDM1PZNF0WX36X2JJ":90},{"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":22,"linkOnly":23,"markdownContent":24,"markdownBody":25,"frontMatter":26,"refName":27,"commitSha":28,"skillDirectory":29,"forksCount":30,"repositoryHtmlUrl":31,"repositoryHomepageUrl":6,"ownerHtmlUrl":32,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":33,"install":34,"resources":47},"01M6CZ2WVBDM1PZNF0WX36X2JJ","genome-variant-filtering",null,"Filter raw variant calls using GATK VQSR, GATK hard filters, or bcftools expression-based filtering.","Scientific-Tooling\u002Fstructured-intelligence","Scientific-Tooling","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F267453265?v=4","01M6CZ1SE6GGD4F67EAQ0PVX38","Scientific Tooling","01M6CZ1SJKCFVGH10Z3A152K02",4,"MIT","https:\u002F\u002Fgithub.com\u002FScientific-Tooling\u002Fstructured-intelligence\u002Fblob\u002Fmain\u002Fskills\u002Fgenome-variant-filtering\u002FSKILL.md",[],[19,20,21],"filtering","genome variant filtering","filters","2026-11-10 10:12:30",false,"---\nname: genome-variant-filtering\ndescription: Filter raw variant calls using GATK VQSR, GATK hard filters, or bcftools expression-based filtering.\n---\n\n# Skill: genome-variant-filtering\n\n## Use When\n\n- User wants to filter a raw VCF to remove low-confidence variants.\n- User needs to apply GATK best-practice hard filters or VQSR.\n- User wants to use custom bcftools filter expressions.\n- User needs to separate SNPs from indels for different filter strategies.\n\n## Inputs\n\n- Required:\n  - Raw VCF file (`.vcf.gz`).\n  - Reference FASTA (for GATK operations).\n- Optional:\n  - Filter strategy: `vqsr`, `hard`, or `bcftools` (default: `hard`).\n  - Resource VCFs for VQSR: HapMap, Omni, 1000 Genomes, dbSNP.\n  - Custom filter expressions (for bcftools mode).\n  - Truth sensitivity level for VQSR (default: 99.5 for SNPs, 99.0 for indels).\n\n## Workflow\n\n1. If hard-filter: split VCF into SNPs and indels with `gatk SelectVariants`.\n2. Apply GATK recommended hard filters:\n   - SNPs: `QD \u003C 2.0`, `FS > 60.0`, `MQ \u003C 40.0`, `MQRankSum \u003C -12.5`, `ReadPosRankSum \u003C -8.0`.\n   - Indels: `QD \u003C 2.0`, `FS > 200.0`, `ReadPosRankSum \u003C -20.0`.\n3. If VQSR: run `gatk VariantRecalibrator` + `gatk ApplyVQSR` for SNPs then indels with resource annotations.\n4. If bcftools: apply user-provided filter expressions via `bcftools filter`.\n5. Merge filtered SNPs and indels back into a single VCF.\n6. Index the output VCF.\n7. Report: variants before and after filtering, pass rate, filter category breakdown.\n\n## Output Contract\n\n- Filtered VCF file (`.vcf.gz`).\n- Filter summary statistics: total variants, PASS count, filtered count by category.\n\n## Limits\n\n- VQSR requires a sufficiently large call set to train the model (at least ~30 exomes or 1 WGS); use hard filters for small sample sets.\n- Resource VCFs must match the reference genome build (e.g., GRCh38).\n- GATK is required for VQSR and hard-filter modes; bcftools mode only requires bcftools.\n- Hard filters are recommended when VQSR training data is insufficient.\n- Common failure cases:\n  - VQSR failing due to too few variants in the training set for model convergence.\n  - Resource VCFs on a different genome build than the input VCF (e.g., GRCh37 vs GRCh38).\n  - bcftools filter expression syntax errors causing silent empty output.\n","# Skill: genome-variant-filtering\n\n## Use When\n\n- User wants to filter a raw VCF to remove low-confidence variants.\n- User needs to apply GATK best-practice hard filters or VQSR.\n- User wants to use custom bcftools filter expressions.\n- User needs to separate SNPs from indels for different filter strategies.\n\n## Inputs\n\n- Required:\n  - Raw VCF file (`.vcf.gz`).\n  - Reference FASTA (for GATK operations).\n- Optional:\n  - Filter strategy: `vqsr`, `hard`, or `bcftools` (default: `hard`).\n  - Resource VCFs for VQSR: HapMap, Omni, 1000 Genomes, dbSNP.\n  - Custom filter expressions (for bcftools mode).\n  - Truth sensitivity level for VQSR (default: 99.5 for SNPs, 99.0 for indels).\n\n## Workflow\n\n1. If hard-filter: split VCF into SNPs and indels with `gatk SelectVariants`.\n2. Apply GATK recommended hard filters:\n   - SNPs: `QD \u003C 2.0`, `FS > 60.0`, `MQ \u003C 40.0`, `MQRankSum \u003C -12.5`, `ReadPosRankSum \u003C -8.0`.\n   - Indels: `QD \u003C 2.0`, `FS > 200.0`, `ReadPosRankSum \u003C -20.0`.\n3. If VQSR: run `gatk VariantRecalibrator` + `gatk ApplyVQSR` for SNPs then indels with resource annotations.\n4. If bcftools: apply user-provided filter expressions via `bcftools filter`.\n5. Merge filtered SNPs and indels back into a single VCF.\n6. Index the output VCF.\n7. Report: variants before and after filtering, pass rate, filter category breakdown.\n\n## Output Contract\n\n- Filtered VCF file (`.vcf.gz`).\n- Filter summary statistics: total variants, PASS count, filtered count by category.\n\n## Limits\n\n- VQSR requires a sufficiently large call set to train the model (at least ~30 exomes or 1 WGS); use hard filters for small sample sets.\n- Resource VCFs must match the reference genome build (e.g., GRCh38).\n- GATK is required for VQSR and hard-filter modes; bcftools mode only requires bcftools.\n- Hard filters are recommended when VQSR training data is insufficient.\n- Common failure cases:\n  - VQSR failing due to too few variants in the training set for model convergence.\n  - Resource VCFs on a different genome build than the input VCF (e.g., GRCh37 vs GRCh38).\n  - bcftools filter expression syntax errors causing silent empty output.\n",{"name":5,"description":7},"main","5118e7fda890e9aa819cb71e003cd243d3a31970","skills\u002Fgenome-variant-filtering",1,"https:\u002F\u002Fgithub.com\u002FScientific-Tooling\u002Fstructured-intelligence","https:\u002F\u002Fgithub.com\u002FScientific-Tooling","2026-11-03 00:01:40",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add Scientific-Tooling\u002Fstructured-intelligence --skill genome-variant-filtering",{"tool":40,"command":41},"bunx","bunx skills add Scientific-Tooling\u002Fstructured-intelligence --skill genome-variant-filtering",{"tool":43,"command":44},"pnpm","pnpm dlx skills add Scientific-Tooling\u002Fstructured-intelligence --skill genome-variant-filtering","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FScientific-Tooling\u002Fstructured-intelligence\u002Fblob\u002Fmain\u002Fskills\u002Fgenome-variant-filtering\u002FSKILL.md",true,[48,54,58,62,68,72,76,80,86],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"agents\u002Fclaude.yaml","REFERENCE","参考文档",312,"https:\u002F\u002Fgithub.com\u002FScientific-Tooling\u002Fstructured-intelligence\u002Fblob\u002Fmain\u002Fskills\u002Fgenome-variant-filtering\u002Fagents\u002Fclaude.yaml",{"path":55,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":56,"sourceHtmlUrl":57},"agents\u002Fopenai.yaml",313,"https:\u002F\u002Fgithub.com\u002FScientific-Tooling\u002Fstructured-intelligence\u002Fblob\u002Fmain\u002Fskills\u002Fgenome-variant-filtering\u002Fagents\u002Fopenai.yaml",{"path":59,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":60,"sourceHtmlUrl":61},"agents\u002FREADME.md",322,"https:\u002F\u002Fgithub.com\u002FScientific-Tooling\u002Fstructured-intelligence\u002Fblob\u002Fmain\u002Fskills\u002Fgenome-variant-filtering\u002Fagents\u002FREADME.md",{"path":63,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":66,"sourceHtmlUrl":67},"assets\u002F.gitkeep","ASSET","资产文件",0,"https:\u002F\u002Fgithub.com\u002FScientific-Tooling\u002Fstructured-intelligence\u002Fblob\u002Fmain\u002Fskills\u002Fgenome-variant-filtering\u002Fassets\u002F.gitkeep",{"path":69,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":70,"sourceHtmlUrl":71},"config.yaml",283,"https:\u002F\u002Fgithub.com\u002FScientific-Tooling\u002Fstructured-intelligence\u002Fblob\u002Fmain\u002Fskills\u002Fgenome-variant-filtering\u002Fconfig.yaml",{"path":73,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":74,"sourceHtmlUrl":75},"references\u002Fgatk-vqsr-filters.md",5577,"https:\u002F\u002Fgithub.com\u002FScientific-Tooling\u002Fstructured-intelligence\u002Fblob\u002Fmain\u002Fskills\u002Fgenome-variant-filtering\u002Freferences\u002Fgatk-vqsr-filters.md",{"path":77,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":78,"sourceHtmlUrl":79},"references\u002FREADME.md",68,"https:\u002F\u002Fgithub.com\u002FScientific-Tooling\u002Fstructured-intelligence\u002Fblob\u002Fmain\u002Fskills\u002Fgenome-variant-filtering\u002Freferences\u002FREADME.md",{"path":81,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":84,"sourceHtmlUrl":85},"scripts\u002Fbatch_run.sh","SCRIPT","脚本",4708,"https:\u002F\u002Fgithub.com\u002FScientific-Tooling\u002Fstructured-intelligence\u002Fblob\u002Fmain\u002Fskills\u002Fgenome-variant-filtering\u002Fscripts\u002Fbatch_run.sh",{"path":87,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":88,"sourceHtmlUrl":89},"scripts\u002Frun.sh",10875,"https:\u002F\u002Fgithub.com\u002FScientific-Tooling\u002Fstructured-intelligence\u002Fblob\u002Fmain\u002Fskills\u002Fgenome-variant-filtering\u002Fscripts\u002Frun.sh",[91,114,127,140,154,166],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":22},"01M6CZ6S2C54G03K71G77H22KE","structured-intelligence-skill-creator","Create or update repository skills that conform to local templates, provider metadata requirements, registry rules, and validation workflows.","https:\u002F\u002Fgithub.com\u002FScientific-Tooling\u002Fstructured-intelligence\u002Fblob\u002Fmain\u002Fskills\u002Fstructured-intelligence-skill-creator\u002FSKILL.md",[],[98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113],"structured intelligence skill creator","skill creator","intelligence","structured","create","requirements","workflows","provider","update","registry","local","validation","metadata","repository","templates","Rules",{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":22},"01M6CZ6M3JFN400406T1NPWNER","stat-survival-analysis","Estimate and compare survival functions using Kaplan-Meier curves and log-rank test, with optional Cox proportional hazards regression.","https:\u002F\u002Fgithub.com\u002FScientific-Tooling\u002Fstructured-intelligence\u002Fblob\u002Fmain\u002Fskills\u002Fstat-survival-analysis\u002FSKILL.md",[],[121,122,123,124,125,126],"analysis","stat survival analysis","regression","log","functions","test",{"skillNo":128,"name":129,"nameZh":6,"description":130,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":131,"categories":132,"keywords":133,"publishedAt":22},"01M6CZ6G5JPDZASM4DRD9QCTEE","stat-pca","Perform PCA on a numeric data matrix to reduce dimensionality, visualize sample structure, and identify top contributing features.","https:\u002F\u002Fgithub.com\u002FScientific-Tooling\u002Fstructured-intelligence\u002Fblob\u002Fmain\u002Fskills\u002Fstat-pca\u002FSKILL.md",[],[134,135,136,137,138,139],"stat pca","sample","visualize","contributing","data","structure",{"skillNo":141,"name":142,"nameZh":6,"description":143,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":144,"categories":145,"keywords":146,"publishedAt":22},"01M6CZ6D9A3N6849BT9VYFSBK5","stat-pairwise-correlation","Compute pairwise correlations and significance tests across all numeric variables, and produce a correlation heatmap.","https:\u002F\u002Fgithub.com\u002FScientific-Tooling\u002Fstructured-intelligence\u002Fblob\u002Fmain\u002Fskills\u002Fstat-pairwise-correlation\u002FSKILL.md",[],[147,148,149,150,151,152,153],"stat pairwise correlation","correlation","produce","heatmap","compute","across","tests",{"skillNo":155,"name":156,"nameZh":6,"description":157,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":158,"categories":159,"keywords":160,"publishedAt":22},"01M6CZ69DMF1PDKW83RWARQX6D","stat-nonlinear-embedding","Embed high-dimensional data into 2D using t-SNE or UMAP for exploratory visualization of sample or cell relationships.","https:\u002F\u002Fgithub.com\u002FScientific-Tooling\u002Fstructured-intelligence\u002Fblob\u002Fmain\u002Fskills\u002Fstat-nonlinear-embedding\u002FSKILL.md",[],[161,162,138,163,135,164,165],"stat nonlinear embedding","visualization","relationships","cell","exploratory visualization",{"skillNo":167,"name":168,"nameZh":6,"description":169,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":170,"categories":171,"keywords":172,"publishedAt":22},"01M6CZ65YZGJV40F2FZNH04PBS","stat-logistic-regression","Fit a logistic regression model for binary outcomes, report odds ratios and model performance (AUC-ROC, confusion matrix).","https:\u002F\u002Fgithub.com\u002FScientific-Tooling\u002Fstructured-intelligence\u002Fblob\u002Fmain\u002Fskills\u002Fstat-logistic-regression\u002FSKILL.md",[],[123,173,174,175,176,177],"stat logistic regression","report","model","outcomes","performance"]