-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve sequence details page's UI #1465
Comments
ResultSo I'm imagining subheadings for various things. (unheaded) frontmatter:
Sequence info:
Additional metadata:
ImplementationI'd be imagining the config yaml would have
etc. |
Also, we should
|
See also #100 from July last year. |
Here are a few ideas on how to improve the sequence page. AuthorsFor author lists, we probably want something like journals do: i.e. abbreviated author lists can be expanded on click. I imagine we need the same features for the datasets page. Authors might have an orcid or email associated. So we need something that renders a list of structured author data with optional features like links to orcid etc. Ingested data from NCBI is going to be messy, but a subset of these features will still work. HostFor the host, we can aggregate information like
Into a field that looks like Another group of fields could be on virus, lineage/clade/serotype etc. INSDCYet another group of fields would be INSDC which would be based on the raw data in
I'd imagine a header INSDC and them something like Alignment states and QC metrics.There will be several quality metrics like
And things like alignment length. The LANL HIV database for example includes little previews like this (they actually put these into the table to search and browse). Mutations, insertions, deletionsFor mutations, I would follow a similar approach to authors: truncated lists that by default only span one line. Mutations could be rendered as little badge which makes them easier to parse than plain text C87665T. One line could be nucleotide mutations, then one line for each for each gene/CDS. This way uses can quickly find mutations in a particular gene (most of the time, people only care about a specific gene. Alternatively, the amino acid mutations could have a drop down in which you select the gene of interest (with a sensible default for each pathogen). Insertions and deletions can be handled similarly, though they are typically fewer. |
This PR is quite a good template for similar improvements - it shows how to pipe through new config options from values.yaml (kubernetes) to website: https://github.com/loculus-project/loculus/pull/1442/files |
I started looking into this, from a short discussion with @corneliusroemer and @bh-ethz it would appear best to split this milestone into a couple sub-tasks.
Update: Added the tasks to the description to use github's subtask feature. |
Great idea to split it up in chunks! I've added an extra list item to show originally submitted data somehow, e.g. in tooltip. I think this is something @emmahodcroft suggested. We always process user submitted metadata, it can stay unchanged but in general we might reformat, so it's good to have the original data around to make the processing transparent. |
@corneliusroemer, @theosanderson - please share your ideas! :)
Summary of suggested improvements from the comments below:
Download FASTA
to the top of the sequence details page #1768The text was updated successfully, but these errors were encountered: