-
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
How to download individual metadata? #2019
Comments
To clarify would this be in TSV format with one row, or something else? |
I also noticed this - to only download the metadata of one sequence at the moment you need to add the specific accession of that sequence to the search filter and then you can use the download options box to only download the metadata |
+1 from Richard in https://loculus.slack.com/archives/C05G172HL6L/p1724457474224369 |
@emmahodcroft what to you mean with GB file? I'd suggest that when the download button is clicked there is a dropdown/pop-up menu with multiple options (metadata, Fasta, GB (?)) |
I guess Emma means a GenBank file. I would defer that to a future issue for now as it will be quite a bit more involved. |
In the full sequence view (i.e. https://pathoplexus.org/seq/PP_000PHAJ.2 ) the Download FASTA button is not rendered if the sequence is restricted. Should downloading metadata still be allowed or not? For now (because it's the easiest) I just have it display nothing if the sequence is restricted, and show both options if it isn't. Also I think in the regular popover details, the button doesn't have this behaviour. In the code, the two buttons are implemented differently. |
I wasn't aware that we don't show the button if the sequence is restricted! iMO we should change that – especially as we show the sequence anyway. |
Can you give me a bit of domain knowledge about this, what does it mean that a sequence is restricted? |
The best nomenclature is probably a bit more nuanced than calling the sequence just "restricted" - although it's easy to slip into doing that. All sequences released on Pathoplexus are publicly available. But some researchers want to maintain an exclusive ability to publish results analysing their sequences for some time to ensure they are not "scooped". To allow early sharing of sequences Pathoplexus allows submitters to choose between "Open" and "Restricted" data use terms on submission. The "Restricted" case, if chosen, applies for up to a year, then sequences move to the Open Data Use Terms. Under the Restricted Data Use Terms the sequence is available, but only under the Restricted Use Terms which prevent others from publishing analysis focusing on this data. From a dev point of view the goals are to make very clear when sequences are only available under restricted terms, but not to prevent their download. |
Got it, thanks for clarifying! |
(For others reading - as discussed in the more detailed review - on reviewing the code this visibility-of-download-button thing isn't about restricted sequences but about revocations) |
I was tying to check our field (column) names and so went to download the info for just one sequence. I went to Ebola Sudan (though don't think this matters) and clicked on the first sequence in the list, bringing it into the 'pop up view'.
However, I was surprised when I clicked the 'download' icon in the top-right and was not given any choice of what to download - it just downloaded a Fasta - when what I actually want is the metadata!
I'd suggest we add possibly two links (one FASTA, one metadata) or some other kind of selector (perhaps also offering GB file that has both?) - it's odd to me one can't just download metadata for one sequence!
The text was updated successfully, but these errors were encountered: