Compare allele frequency across populations
Keep the variant fixed and change the population code in each call. The returned rates are fractions.
Check vg0100001306 in All.
{
"name": "get_variant_frequency",
"arguments": {
"var_id": "vg0100001306",
"population": "All"
}
}
View verified result
{
"var_id": "vg0100001306",
"frequency": {
"population": "All",
"major_genotype": "G",
"minor_genotype": "A",
"major_rate": 0.984,
"minor_rate": 0.015,
"count": 4726
}
}
Source · RiceVarMap REST response
Check vg0100001306 in IndII.
{
"name": "get_variant_frequency",
"arguments": {
"var_id": "vg0100001306",
"population": "IndII"
}
}
View verified result
{
"var_id": "vg0100001306",
"frequency": {
"population": "IndII",
"major_genotype": "G",
"minor_genotype": "A",
"major_rate": 1.0,
"minor_rate": 0.0,
"count": 465
}
}
Source · RiceVarMap REST response
Check vg0100001306 in VI.
{
"name": "get_variant_frequency",
"arguments": {
"var_id": "vg0100001306",
"population": "VI"
}
}
View verified result
{
"var_id": "vg0100001306",
"frequency": {
"population": "VI",
"major_genotype": "G",
"minor_genotype": "A",
"major_rate": 1.0,
"minor_rate": 0.0,
"count": 96
}
}
Source · RiceVarMap REST response