I am not sure how to fetch the groupmax FAF along with the variant_id using the python API. Can you please give an example of the python API code for the same. Thank you.
I was able to figure it out. Had to fetch the fafmax from the joint in the schema. Below is the query if someone needs it
{
gene(gene_symbol: “BRCA2”, reference_genome: GRCh38) {
variants(dataset: gnomad_r4) {
variant_id
joint{
ac
an
fafmax {
faf95_max
}
}
}
}
}