dgidb / dgidb-v5

Providing interactions between drugs and genes sourced from a variety of publications and knowledgebases
https://dgidb.org
MIT License
15 stars 2 forks source link

`conceptIds` args in `interactions` query don't work #517

Open jsstevenson opened 3 weeks ago

jsstevenson commented 3 weeks ago

The drugConceptIds and geneConceptIds args for interactions appear to not be working:

{
  interactions(drugConceptIds:["rxcui:282388"]) {
    edges {
      node {
        drug {
          name
          conceptId
        }
        gene {
          name
          conceptId
        }
      }
    }
  }
}

This ^^ should return the same thing as this:

{
  interactions(drugNames: ["imatinib"]) {
    edges {
      node {
        drug {
          name
          conceptId
        }
        gene {
          name
          conceptId
        }
      }
    }
  }
}

However, the former returns an empty response. This isn't immediately urgent because I don't think this query is used on the frontend, but it's helpful for analysis reasons.