gnomad_methods icon indicating copy to clipboard operation
gnomad_methods copied to clipboard

filter_vep_transcript_csqs does not work for passing list of CSQ terms

Open mike-w-wilson opened this issue 8 months ago • 1 comments

There is a bug here: https://github.com/broadinstitute/gnomad_methods/blob/019865838f993841a540e0b29d8d2f3b1333b1b8/gnomad/utils/vep.py#L788

The most_severe_consequence field is a top level vep field, at the same level as transcript_consequences, so the way this is currently built does not work as the function looks for most_severe_consequence inside of transcript_consequences here. All other vep fields that get worked on in this function are within transcript_consequences so they work.

mike-w-wilson avatar May 31 '24 19:05 mike-w-wilson