Skip to content
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

Theiler stages ids not working when submitting to Minerva #449

Open
tmushayahama opened this issue Jan 27, 2022 · 10 comments
Open

Theiler stages ids not working when submitting to Minerva #449

tmushayahama opened this issue Jan 27, 2022 · 10 comments
Assignees

Comments

@tmushayahama
Copy link
Contributor

It all started here geneontology/noctua-form#152

For Example when you put TS12 in the autocomplete, it will not save with an error

image

To reproduce

  1. Add Individual
  2. Autocomplete TS12
  3. Click Add
    tagging @balhoff @vanaukenk @ukemi @kltm
@vanaukenk
Copy link

@ukemi will discuss with Terry at MGI to see if the TS terms in EMAPA can be assigned curies

@balhoff
Copy link
Member

balhoff commented Jan 28, 2022

@kltm I think this may be primarily an issue between Noctua and the autocomplete service (GOlr?). This is the requests value being sent to Minerva:

[
  {
    "entity": "individual",
    "operation": "add",
    "arguments": {
      "expressions": [
        {
          "type": "class",
          "id": "TS12"
        }
      ],
      "model-id": "gomodel:61f3310500000000",
      "assign-to-variable": "113c31d8-9f68-4c08-8613-9c32ff96f277"
    }
  }
]

The id value is supposed to be a CURIE, as Minerva says:

"message": "Could not successfully handle batch request. Exception: org.geneontology.minerva.MolecularModelManager$UnknownIdentifierException. Relative IRIs are not allowed: TS12"

My guess is that GOlr or Noctua are tripped up by the unusual IRI structure for the Theiler stages.

@kltm
Copy link
Member

kltm commented Jan 28, 2022

@balhoff Can you outline what this structure is? It's mostly invisible to me until it reaches NEO (and AmiGO). I.e., the damage seems to already be in place in NEO (http://noctua-amigo.berkeleybop.org/amigo/term/TS12), so the autocomplete is doing as expected.

So, in emapa.owl (assuming this is the origin file--I may be wrong about that), grepping for oboInOwl:id returns stuff like: EMAPA:38000 and things like TS12. I feel like most of the IDs in our universe are usually CURIEs; why are these the exception? With that, I'm also curious why TS:0 has a colon, but none of the children do (http://noctua-amigo.berkeleybop.org/amigo/term/TS:0#display-lineage-tab)?

@balhoff
Copy link
Member

balhoff commented Jan 28, 2022

The URIs for the stages look like http://purl.obolibrary.org/obo/emapa#TS12. Probably this is intended to be http://purl.obolibrary.org/obo/TS_12 like it is for TS:0. So that could be fixed in EMAPA and probably solve this problem (although TS is not a registered OBO prefix; they really should give these EMAPA IDs).

As a separate issue, I don't think any software should use the oboInOwl:id annotation for anything. Maybe the GOlr loader is looking at this?

@kltm
Copy link
Member

kltm commented Jan 29, 2022

@balhoff Sorry, I'm not actually sure what the loader looks at off the top of my head, I was just using oboInOwl:id to show my work and try and make a point about the IDs.

I would agree that I feel that this is more of an upstream ontology issue in EMAPA, rather than one that is occurring within our data flow. Even if we tried to fix it at this end, I feel that it would likely boil down to essentially CURIEifying them at some level anyways.

@balhoff
Copy link
Member

balhoff commented Jan 29, 2022

I opened a PR on EMAPA, in case they want to accept it.

@vanaukenk
Copy link

@ukemi @balhoff
Do either of you know what the current status of this work is?
Thx.

@ukemi
Copy link

ukemi commented Mar 4, 2022

I can check on this today.

@ukemi
Copy link

ukemi commented Mar 4, 2022

No new updates.

@vanaukenk
Copy link

@ukemi - can you post an update on this ticket so we know where things stand? Thx.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants