Skip to content

Commit 587475f

Browse files
committed
merge
2 parents 5664e59 + 3b1515c commit 587475f

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

v03_pipeline/lib/tasks/exports/fields.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,16 @@ def get_entries_export_fields(
156156
else {}
157157
),
158158
'xpos': ht.xpos,
159+
**(
160+
{
161+
'is_gnomad_gt_5_percent': hl.or_else(
162+
ht.gnomad_genomes.AF_POPMAX_OR_GLOBAL > FIVE_PERCENT,
163+
False,
164+
),
165+
}
166+
if dataset_type == DatasetType.SNV_INDEL and hasattr(ht, 'gnomad_genomes')
167+
else {}
168+
),
159169
**(
160170
{
161171
'geneIds': hl.set(ht.sorted_gene_consequences.gene_id)

0 commit comments

Comments
 (0)