There is a bug here:
|
criteria.append(lambda csq: csqs.contains(csq.most_severe_consequence)) |
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.