Closed yaseminbridges closed 1 year ago
Looks good but note that you cant call .strip on
None
, so you should be certain you are guarded against that possibility. Safer would beif "alt" in result_entry and result["alt"] != None: return result_entry["alt"].strip(">").strip("<") else: return ""
Yes, you're right, better to be safe!
Structural variants are reported in the Exomiser json results in angled brackets, e.g.,
<DEL>
or<INS>
. These need to be removed for accurate comparison with what is reported in the phenopackets