-
Notifications
You must be signed in to change notification settings - Fork 0
Description
We list the samples (isolates) each gene has been identified in from the gene overview pages (src/components/displayPages/genedisplay.js). Currently, a list of all the samples containing the gene is sent to the backend, and each sample in the list queried against the sample elastic index to get additional metadata. This was fine in the initial tests, but when genes have been found in 1000+ samples this takes a very long time. We need an efficient way of linking the genes to the samples on this overview page, but without having to query the indices every time. This may just involve displaying the name of the sample and no other information, but it would be more informative to supplement the information for each sample with information in the sample elastic index. Worth discussing the best way to do this later.