Load the demo data then click to show the ClinVar track. Now add a new gene and the following error occurs:
The variants appear to show in the ClinVar track however. If the ClinVar track is closed, you go to the gene, then open the ClinVar track, things seem to be ok.
The main problem was the options argument sent into CohortModel.loadData. This was incorrectly used in CohortModel.loadVariants() as the options argument for the call to SampleModel.promiseAnnotateVariants.
There was a typo in GeneHome for the data attribute showKnownVariantsViz
Most importantly, there was old code that used a previous data attribute name in globalApp (GNOMAD_METHOD_BCFTOOLS was renamed to GNOMAD_METHOD_MERGE_ANNOTS.
And VariantInspectCard had a misspelling (GNOMAD_METHOD_MERGED_ANNOTS)
Load the demo data then click to show the ClinVar track. Now add a new gene and the following error occurs:
The variants appear to show in the ClinVar track however. If the ClinVar track is closed, you go to the gene, then open the ClinVar track, things seem to be ok.