Skip to content

Commit

Permalink
Update local ancestry copy to reflect availability for AFR
Browse files Browse the repository at this point in the history
  • Loading branch information
phildarnowsky-broad committed Oct 8, 2024
1 parent 8ad4d02 commit fe95655
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions browser/src/VariantPage/VariantPopulationFrequencies.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ const VariantPopulationFrequencies = ({ datasetId, variant }: Props) => {
const tgpPopulations = genome.populations
.filter((pop) => pop.id.startsWith('1kg:'))
.map((pop) => ({ ...pop, id: pop.id.slice(4) })) // Remove 1kg: prefix

const localAncestryPopulations = genome.local_ancestry_populations || []

return (
Expand Down Expand Up @@ -121,7 +120,8 @@ const VariantPopulationFrequencies = ({ datasetId, variant }: Props) => {
<p>
Local ancestry is not available for this variant. Local ancestry is only
available for bi-allelic variants with high call rates and with an allele
frequency &gt; 0.1% within the Latino/Admixed American gnomAD population.
frequency &gt; 0.1% within the Latino/Admixed American or
African/African-American gnomAD ancestry groups.
</p>
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1428,7 +1428,7 @@ exports[`VariantPage with the dataset "gnomad_r3" has no unexpected changes 1`]
}
>
<p>
Local ancestry is not available for this variant. Local ancestry is only available for bi-allelic variants with high call rates and with an allele frequency &gt; 0.1% within the Latino/Admixed American gnomAD population.
Local ancestry is not available for this variant. Local ancestry is only available for bi-allelic variants with high call rates and with an allele frequency &gt; 0.1% within the Latino/Admixed American or African/African-American gnomAD ancestry groups.
</p>
</div>
</div>
Expand Down

0 comments on commit fe95655

Please sign in to comment.