sorgerlab / bioagents

Biological reasoning agents
BSD 2-Clause "Simplified" License
5 stars 15 forks source link

DTDA is-drug-target wrong answer #37

Open bgyori opened 7 years ago

bgyori commented 7 years ago

The answer to

(REQUEST :CONTENT (IS-DRUG-TARGET :DRUG "<ekb timestamp=\"20170822T153926\">
  <TERM id=\"V35676\" dbid=\"MESH:C484810|PC:5494449|NCIT:C98053\">
    <type>ONT::PHARMACOLOGIC-SUBSTANCE</type>
    <name>TOZASERTIB</name>
    <drum-terms>
      <drum-term dbid=\"NCIT:C98053\" match-score=\"1.0\" name=\"tozasertib\" matched-name=\"tozasertib\">
        <types>
          <type>ONT::PHARMACOLOGIC-SUBSTANCE</type>
        </types>
      </drum-term>
      <drum-term dbid=\"PC:5494449\" name=\"Tozasertib\" matched-name=\"Tozasertib\" match-score=\"0.99587\">
        <types>
          <type>ONT::PHARMACOLOGIC-SUBSTANCE</type>
        </types>
      </drum-term>
      <drum-term match-score=\"0.65301\" name=\"VX680\" matched-name=\"Tozasertib\" dbid=\"MESH:C484810\">
        <types>
          <type>ONT::PHARMACOLOGIC-SUBSTANCE</type>
        </types>
      </drum-term>
    </drum-terms>
  </TERM>
</ekb>" :TARGET "<ekb timestamp=\"20170822T153926\">
  <TERM id=\"V35915\" dbid=\"HGNC:11772|NCIT:C51730|UP:P36897|NCIT:C30098\">
    <type>ONT::GENE-PROTEIN</type>
    <name>TGFBR-1</name>
    <drum-terms>
      <drum-term dbid=\"HGNC:11772\" matched-name=\"TGFBR1\" name=\"transforming growth factor beta receptor 1\" match-score=\"1.0\">
        <types>
          <type>ONT::GENE</type>
        </types>
        <xrefs>
          <xref dbid=\"UP:P36897\"/>
        </xrefs>
      </drum-term>
      <drum-term name=\"TGFBR1\" matched-name=\"TGFBR1\" match-score=\"1.0\" dbid=\"NCIT:C51730\">
        <types>
          <type>ONT::GENE</type>
        </types>
      </drum-term>
      <drum-term dbid=\"NCIT:C30098\" name=\"transforming growth factor beta receptor-I\" match-score=\"0.82857\" matched-name=\"TGFBR1\">
        <types>
          <type>ONT::PROTEIN</type>
        </types>
      </drum-term>
    </drum-terms>
  </TERM>
</ekb>") :REPLY-WITH DTDA-QUERY-328 :sender BA)

should be TRUE i.e.

(reply :content (SUCCESS :is-target TRUE) :receiver BA :in-reply-to DTDA-QUERY-328).

It is currently FALSE for some reason.

bgyori commented 7 years ago

Okay, so this is technically not an error but perhaps the behavior defined here should be changed. Currently is-drug-target only looks at nominal targets and not all targets listed, and TGFBR1 isn't the nominal target of Tozasertib according to the database.