-
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
feat(website): Create a standardized sequence name with the format: {country}/{AccessionVersion}/{date} #2246
Conversation
Add display_name to INSDC header just to see what it looks like
Fix little bug
…llow specification of concatenation order.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice
Just to make public my comment to Anna in a DM, I asked that this be updated so that if there isn't a date or location, the leading/trailing So, to avoid: |
Great stuff! Because we discussed that the sequence name would not be unchangeable and is more of a display name, we should warn users somehow that they must not use the sequence names for things that require stability (like annotations, or referring to it in publications) Any thoughts on how we should add that if at all? Should we prefix the display name with "Display name:" for example in the UI? |
1 similar comment
Great stuff! Because we discussed that the sequence name would not be unchangeable and is more of a display name, we should warn users somehow that they must not use the sequence names for things that require stability (like annotations, or referring to it in publications) Any thoughts on how we should add that if at all? Should we prefix the display name with "Display name:" for example in the UI? |
IMO we should aim for our plans on the display name to settle down fairly quickly and therefore we don't need to explicitly do anything in the UI, but could include something in the docs (outside this PR) |
Would second this |
Even if we don't change the format of the display name in the future, the content can still change, as we might curate dates etc. Maybe we'll change country display names, from Turkey to Türkiye etc. To be able to do so easily without users' workflows breaking, we should tell them explicitly that display names are not stable. I think a middle ground is tricky here. If we don't tell people from the start that they should not use the display name as a key, they will do so. One of the painful learnings of the Nextstrain team has been to not use sequence/strain names as primary keys. The problem is that it's the intuitive thing to do, but it causes inevitable issues down the line - because display names don't come with uniqueness guarantees for example (the way ours would be structured now they would be unique, but that is just the current implementation and not something to rely on. |
…by specifying type in a separate argument.
Update: the last commit fixed the issue - there was an issue when I merged in main. |
resolves #1487
preview URL: https://standardize-sequence-name.loculus.org/
Summary
This adds a concatenation function to the preprocessing pod which can be used to generate the sequence display name.
Screenshot