In the Computational Prediction tile, display the name of any ENIGMA CI domain the variant overlaps or falls within
Closed this issue · 0 comments
Using the constants in splicingData.js:
first determine if the variant overlaps with an ENIGMA CI domain. Using brca1CIDomains for brca1 variants and brca2CIDomains for brca2 variants, check whether any part of the variant is inside the start and end coordinates for any ENIGMA Consortium domains (the ENIGMA Consortium domains only - don't consider the Huntsman Cancer Institute domains). When checking the BRCA1 domains, be aware that "start" > "end" for each domain.
If the variant overlaps a CI domain, then determine if it overlaps an exon as well (you could check the exons first, but since there are a lot fewer CI domains than exons, the CI domains might be the easier ones to check first). Looking at brca1Exons for BRCA1 and brca2Exons for BRCA2, check whether the variant falls within or overlaps any exons. Once again, for BRCA1, beware that "start" > "end".
If the variant overlaps a CI domain AND if the variant overlaps an exon, then display the CI domain name in the computational prediction tile in the "Variant Location" field. Otherwise, display "N/A".
Special case: large deletion variants could overlap more than one domain. If that's the case, the nicest approach is to generate a comma-separated list of all the domains the variant overlaps. If that presents ANY complications, then show the name of any overlapping domain - any domain will do. In such cases, the key information is that the variant impacts at least one CI domain.