vcf_quality_check
Filter variants in a VCF file by minor allele frequency, missingness rate, and Hardy-Weinberg equilibrium p-value to remove low-quality genetic markers.
Instructions
Perform quality control on a VCF file. Filters variants based on MAF, missingness, and Hardy-Weinberg equilibrium.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"vcf_path": "<vcf_path>"
},
"name": "vcf_quality_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vcf_path | Yes | Path to VCF file (.vcf or .vcf.gz) | |
| maf_threshold | No | Minor allele frequency threshold (default: 0.01) | |
| missingness_threshold | No | Maximum allowed missingness rate (default: 0.1) | |
| hwe_pvalue | No | Hardy-Weinberg equilibrium p-value threshold (default: 1e-6) | |
| output_path | No | Optional path to save QC report |