Skip to content

Change the way samples are linked to genes.  #21

@Danderson123

Description

@Danderson123

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions