fe0627da07b9f989bc642d824af381968163d9a8 lrnassar Wed Jul 8 13:40:04 2026 -0700 varFreqs: move ALFA to Global reference panels; add shared-sample bias caveat to description pages. refs #36642 Per Max's post-release feedback on the ticket: ALFA is not a European cohort, it is an NCBI aggregator of dbGaP studies from many sources. Moved from Europe to Global reference panels in the newsarch entry. Also adds a shared-sample bias caveat to the Pooled allele frequency section of both varFreqsAffected.html and varFreqsBackground.html. The background page cites the concrete overlaps (1000 Genomes in both gnomAD HGDP+1kG and HRC; HGDP/SGDP; AllOfUs/TOPMed; ALFA aggregating dbGaP studies used elsewhere). The affected page cites the SPARK WGS cohort being a subset of SPARK WES. Both explain that pooled AN is inflated and pooled AF is skewed toward the frequency in the shared subset, and point users to the per-cohort AC/AF/AN fields for unbiased single-cohort numbers. diff --git src/hg/makeDb/trackDb/human/varFreqsAffected.html src/hg/makeDb/trackDb/human/varFreqsAffected.html index bb67d401445..c5510bd7279 100644 --- src/hg/makeDb/trackDb/human/varFreqsAffected.html +++ src/hg/makeDb/trackDb/human/varFreqsAffected.html @@ -48,30 +48,39 @@
Affected AF is the pooled rate across contributing affected arms:
affectedAF = sum(AC) / sum(AN), where affectedAC sums the allele counts
and affectedAN sums the allele numbers across each cohort/arm that provides both AC and
AF (the per-arm AN is derived as round(AC / AF)). Cohorts that publish only AF
(with no AC or AN of their own) are still pooled by assigning them an assumed allele number,
set as a default_an in the build configuration; their per-arm AC is then derived
as round(AF × default_an). Cohorts
that publish only AC and have no default_an set (currently GREGoR's per-arm
AC_AFFECTED/UNAFFECTED/UNKNOWN) are listed in affectedCohorts but do not contribute
to the pool numerator or denominator; their carriers are visible in the per-database AC
column instead. The pooled rate is preferred over a max-across-cohorts statistic so a
small cohort with a high local AF cannot dominate the displayed frequency.
+The pooled rate also inherits a shared-sample bias: the SFARI SPARK WGS cohort +(~12k probands) is a subset of the larger SFARI SPARK WES cohort (~155k probands), so +probands sequenced in both contribute their AC and AN twice to the affected pool. Where +this happens, pooled AN is inflated and pooled AF is skewed toward the frequency in the +shared subset. Treat the pooled rate as a cross-cohort summary rather than an unbiased +population estimate; the per-cohort AC/AF/AN fields on each variant give the +single-cohort numbers. +
Alongside the pooled rate, the mouseover lists the top 3 contributing
affected arms ranked by their own per-source AF, formatted as
Source (AF). This surfaces case cohorts where the variant is
specifically enriched, even when the pooled rate across all arms is small.
For disease cohorts that ship a phenotype split (SPARK, SFARI WGS, SCHEMA,
GREGoR), the displayed AF is the affected-arm AF and the label includes the
arm (for example SPARK ASD, SCHEMA case); for
cohorts with no split (GA4K) the label is just the cohort name and the AF
is the whole-cohort AF. Arms that ship only AC and no AF (currently GREGoR
per-arm) are not included in this ranking because no AF is available;
they still appear in affectedCohorts.