-
Notifications
You must be signed in to change notification settings - Fork 85
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
allow upload and download of JSON for functional annotation #2601
Comments
from google doc: I can add this to the user-interface pretty easily. However, I have some questions: |
Funtional_annotation_workflow.pdf response:
|
@mbc32 I would propose loading the output JSON into its own app (or even something like the JSON beautifier) in tree mode. Once fixed and validated, I would use the web service to the JSON feature by feature. If its too slow, I can write an end-point for bulk loading. We might be able to add one to the python-apollo library as well. Anyway, that is my 2 cents on that, but happy to discuss further. |
Hi @nathandunn
|
FYI @rbuels |
@mbc32 I'd like to have an idea of the JSON you'll have to upload so that you know what it converts into. If we are going to do it this way, I would probably do something like:
where the empty objects are the valid annotations already supported by the existing web services. That being, if you are pulling these out of a database, it would be trivial (and possibly cleaner) to call a web service to do the same thing, but I'm unsure what the curator workflow is, how they are pulling JSON, etc. They would have to be aware of the uniqueName, however. I could also add it here: https://github.com/galaxy-genome-annotation/python-apollo/ so the command would be: |
What are you pulling in from the existing database? |
Hi @nathandunn
|
That makes sense.
Could you provide a sample json that you pull from the functional annotation database so that I can make sure we can convert it?
Thanks,
Nathan
… On May 4, 2021, at 9:13 AM, Mikkel Christensen ***@***.***> wrote:
Hi @nathandunn
The JSON schema looks fine to me
We would be getting all existing functional annotation for a gene, then correct it or add to it in apollo.
Would there be any may to load the data direct into the web-forms from a JSON file. Bypassing the database and data checks?
For this to work the annotator should not be required to find and copy the uniqueName.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Hi @nathandunn There are some point
|
@mbc32 I think your schema makes sense. What I'm missing is the process. I'm a little Leary of pushing raw JSON through a UI (that's why we have a UI!), though we can do it if that is what we do. My understanding of the process is:
I'm assuming you will do this at the gene and transcript level both? |
Hi @nathandunn ,
|
@mbc32 I think your workflow makes a lot of sense. I'm just wondering for step 2 if having a command-line interface would make more sense? For step 1 and 5, are you doing that via an interface or via scripts? Are curators doing all of this one at a time or are you doing a bulk load of functional annotations? Thanks. |
HI @nathandunn |
If With / From is not provided, should add |
* fixes #2601 when complete * added reasonable UI * kind of validating * added example * works, but only for the first anntation * fixed compilation errors * fixed empty references and withOrFrom * added * updated * server code working * updated rest doc and added reload * fixed messages * fixed messages * fixed null references * fixed formatting * fixed deletions * removed consol logs * updated REST api * added changelog * fixed calls to clear
Should support both downloading and uploading as JSON of functional annotation data. Minimally this will include:
May also include attributes / PMID, etc. but maybe not necessary if not immediate need.
The text was updated successfully, but these errors were encountered: