NCATSTranslator / minihackathons

MIT License
5 stars 5 forks source link

COHD error on Workflow A.2 #137

Closed vgardner-renci closed 3 years ago

vgardner-renci commented 3 years ago

https://arax.ncats.io/?source=ARS&id=84fc74fb-03d9-4fec-a2f4-6293955bb2b0

ROHBTB2-neg_reg_entity_to_entity-Gene

image

vgardner-renci commented 3 years ago

{
  "callback": "http://0.0.0.0:8000/ars/api/messages/a5226a5c-a1fb-48ce-8741-f3124a3e45c0",
  "logs": [
    {
      "level": "INFO",
      "message": "ARS info: biolink:negatively_regulates_entity_to_entity was not recognized as a biolink predicate"
    },
    {
      "level": "INFO",
      "message": "ARS info: tr_ars.Server: nginx/1.16.1"
    },
    {
      "level": "INFO",
      "message": "ARS info: tr_ars.Date: Thu, 15 Jul 2021 16:10:19 GMT"
    },
    {
      "level": "INFO",
      "message": "ARS info: tr_ars.Content-Type: text/html; charset=utf-8"
    },
    {
      "level": "INFO",
      "message": "ARS info: tr_ars.Content-Length: 87"
    },
    {
      "level": "INFO",
      "message": "ARS info: tr_ars.Connection: keep-alive"
    },
    {
      "level": "INFO",
      "message": "ARS info: tr_ars.Access-Control-Allow-Origin: *"
    },
    {
      "level": "INFO",
      "message": "ARS info: tr_ars.reason: BAD REQUEST"
    },
    {
      "level": "INFO",
      "message": "ARS info: tr_ars.url: https://cohd.io/api/1.1.0/translator/query"
    }
  ],
  "max_results": 100,
  "message": {
    "query_graph": {
      "edges": {
        "e01": {
          "object": "n0",
          "predicates": [
            "biolink:entity_negatively_regulates_entity",
            "biolink:negatively_regulates_entity_to_entity"
          ],
          "subject": "n1"
        }
      },
      "nodes": {
        "n0": {
          "categories": [
            "biolink:Gene"
          ],
          "ids": [
            "NCBIGene:23221"
          ]
        },
        "n1": {
          "categories": [
            "biolink:Gene"
          ]
        }
      }
    }
  },
  "validation_result": {
    "message": "Returned response is not TRAPI: biolink:negatively_regulates_entity_to_entity was not recognized as a biolink predicate",
    "size": "2 kB",
    "status": "NA",
    "version": "1.1.1"
  }
}
CaseyTa commented 3 years ago

COHD does not support genes or these predicates