geneontology / noctua-form-legacy

Simple annoton editor workbench for Noctua.
BSD 3-Clause "New" or "Revised" License
3 stars 3 forks source link

Allow autocomplete using accessions or ids #86

Open vanaukenk opened 5 years ago

vanaukenk commented 5 years ago

From: https://github.com/geneontology/noctua/issues/583

From @suzialeksander Under MF in Form, I'm trying to add a protein by UniProt accession, but it won't autofill. Even if you type out "UniProtKB'", when you continue with the ":" all results disappear. I made the model with a UniProt and the information is lost (with no warning to user). I had to type out the name/organism, when I already had the accession to paste in.

From @vanaukenk It would be desirable to be able to cut and paste an accession or id into the 'enabled by' fields of the form (and graph editor) and autofill on the correct entity. With the exception of the 'Add individual' field (which isn't an 'enabled by' field), cutting and pasting an accession or id does not yield anything from the autocomplete list.

tmushayahama commented 5 years ago

@vanaukenk @suzialeksander 1) I think the first problem of pasting was fixed 2) The second problem of putting ":" seems to work for GO, i.e. if I put GO:xyz, but somehow UniProtKB seems not to work. Also I don't think there are 2 MGI gps :) below autocomplete result

image

@lpalbou once brought this out, but I don't know what was the next step Also tagging @cmungall @kltm

vanaukenk commented 5 years ago

@tmushayahama @kltm

It would be very helpful to curators to be able to cut and paste just an entity id or an accession into the form and graph editor without the prefix.

For example, pasting 'WBGene00002121' does not match anything, but pasting 'WB:WBGene00002121' does.

When curators are copying ids or accessions, they are likely doing it from pages that don't have the prefixed form of the id. See below for examples from UniProt and WB.

image

image

kltm commented 5 years ago

This likely connects back to loader issues, etc: https://github.com/geneontology/amigo/issues/120