Closed NLSVTN closed 4 years ago
No Annotations were selected and that's the issue. No 'gene consequences' are added on the line:
And then the code is trying to access it and it crashes it. Maybe need to add a better error handling here, provide user with the message that he needs to add Annotations.
Yes this appears to be a bug for compound het search with no annotation filtering, which should be handled better so I will fix it. However, this search is trying to find compound heterozygous variants where both hits are in clinvar as likely benign. I think it is very unlikely that that is what you were actually trying to search for. As a workaround until this is fixed, if you aren't really trying to restrict yourself ONLY to clinvar benign variants and instead are interested in variants with any predicted consequence, just select all the annotations instead of selecting none of them
This is fixed now, although I don't really recommend looking for compound hets with so little filtering
Describe the bug When we do variants search selecting Inheritance as 'Compound Heterozygous' and Pathogenicity as 'Clinvar -> Likely Benign' (for instance) then it crashes on the following line:
https://github.com/macarthur-lab/seqr/blob/2d0d81bedd199d0adcca812300a64306351d4cae/seqr/utils/elasticsearch/es_search.py#L740
Here is stack trace:
Screenshots