ld_pruning
Remove highly correlated SNPs by pruning based on linkage disequilibrium. Filters variants exceeding a specified r² threshold within a sliding window to yield an independent set.
Instructions
Prune SNPs based on linkage disequilibrium (LD). Removes variants in high LD to create an independent set.
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": {
"plink_prefix": "<plink_prefix>"
},
"name": "ld_pruning"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plink_prefix | Yes | Path prefix for PLINK files | |
| r2_threshold | No | r² threshold for LD pruning (default: 0.2) | |
| window_size | No | Window size in kb for LD calculation (default: 500) | |
| step_size | No | Step size in variants (default: 50) |