Skip to content

Commit

Permalink
fafmax not in gnomad t2t liftover
Browse files Browse the repository at this point in the history
  • Loading branch information
davmlaw committed Dec 11, 2024
1 parent b57093c commit 763c282
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,10 @@ def get_infos_for_version(gnomad_version) -> tuple[list[str], list[str], list[st
if gnomad_version in (GNOMAD_V_4_0, GNOMAD_V_4_1_T2T_LIFTOVER):
popmax_fields = grpmax_fields
chr_x_male = chr_x_xy
info_fields.extend(["faf95", "faf99", "fafmax_faf95_max", "fafmax_faf99_max"])
if gnomad_version == GNOMAD_V_4_0:
# Not in 4.1
info_fields.extend(["faf95", "faf99"])
info_fields.extend(["fafmax_faf95_max", "fafmax_faf99_max"])
# Others are now called remaining
sub_pops.remove("oth")
sub_pops.append("remaining") #
Expand Down

0 comments on commit 763c282

Please sign in to comment.