When a new score set with hgvs_pro strings includes a deletion, the variants cannot be validated, and the following error is logged:
{
"type": "AttributeError",
"exception": "'AARefAlt' object has no attribute 'ref_n'",
"location": [
["/code/src/mavedb/worker/jobs.py", 168, "create_variants_for_score_set"],
["/code/src/mavedb/lib/validation/dataframe/dataframe.py", 88, "validate_and_standardize_dataframe_pair"],
["/code/src/mavedb/lib/validation/dataframe/dataframe.py", 170, "validate_dataframe"],
["/code/src/mavedb/lib/validation/dataframe/variant.py", 169, "validate_hgvs_genomic_column"],
["/code/src/mavedb/lib/validation/dataframe/variant.py", 169, "<listcomp>"],
["/code/src/mavedb/lib/validation/dataframe/variant.py", 238, "validate_genomic_variant"]
]
}
When a new score set with hgvs_pro strings includes a deletion, the variants cannot be validated, and the following error is logged:
This appears to be due to an unresolved problem in the hgvs package: biocommons/hgvs#727