serratus-bio / serratus.io

Front-end code for Serratus project website
https://serratus.io
GNU Affero General Public License v3.0
11 stars 11 forks source link

RdRP run-family match links are invalid #135

Closed victorlin closed 3 years ago

victorlin commented 3 years ago

The query building experience and the result chart have conflicting values for family. Example:

ERR2756788 result

All of the links under Matches are invalid. Reason: the filter for family-level matches is for family_name (Coronaviridae) while the results above are based on family_id. (Coronaviridae-1)

Some options:

  1. Transform links Coronaviridae-1, Coronaviridae-2, ... to query for Coronaviridae.
  2. Filter on family_id instead of family_name (this would explode the family dropdown options)
  3. Allow both family_id and family_name filters (this will require some thought for design, but makes the most out of our data)