calculate_prs
Compute Polygenic Risk Scores by combining GWAS summary statistics with target genotype data, using p-value thresholds and LD clumping.
Instructions
Calculate Polygenic Risk Scores (PRS) for individuals using GWAS summary statistics and target genotypes.
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": {
"sumstats_path": "<sumstats_path>",
"target_plink_prefix": "<target_plink_prefix>"
},
"name": "calculate_prs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sumstats_path | Yes | Path to GWAS summary statistics (base data) | |
| target_plink_prefix | Yes | Path prefix for target PLINK files | |
| pvalue_threshold | No | P-value threshold for SNP inclusion (default: 1.0 - all SNPs) | |
| clump_r2 | No | LD r² threshold for clumping (default: 0.1) | |
| output_path | No | Path to save PRS results |