-
Notifications
You must be signed in to change notification settings - Fork 11
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
bug: BTE misparsing Automat responses #776
Comments
Considering this high priority. |
This was referenced Jan 19, 2024
Merged
tokebe
added
On CI
Related changes are deployed to CI server
and removed
On Dev
Related changes are deployed to Dev server
labels
Jan 19, 2024
I've confirmed that things work as-expected after the Prod deployment. Closing issue Follow-up for example 1
POST to https://bte.transltr.io/v1/query
I now get only the two Automat-pharos edges that are in the original API automat-pharos-fixed.json:
Follow-up for example 2
POST to https://bte.transltr.io/v1/query
I now get only the two Automat-drugcentral edges that are in the original API automat-drugcentral-fixed.json:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
While working on #771, I noticed results where the Automat edges seemed almost identical.
After digging into this, I suspect that some of these edges are erroneously created by BTE and don't actually exist.
Example 1: imatinib-KIT from Automat Pharos
If we query BTE for edges between imatinib (PUBCHEM.COMPOUND:5291) and KIT (NCBIGene:3815), we get 5 edges from Automat Pharos imatinib-KIT.json:
ef352ea5b97b591391cdc453c24ef097
: related_todbac89955b6e2a343ad9a93ae4918d26
: physically_interacts_withb646f32eafa1a151eea892b5a0cf7765
: binds780d2bfeac965695fb923f35ff1c0bb2
: related_to000974f0ffe73e3a28b3f6297d5bd3c3
: affectsVS when I query Automat Pharos directly for edges between imatinib (PUBCHEM.COMPOUND:5291) and KIT (NCBIGene:3815), I get 2 edges automat-pharos-1.json:
Example 2: imatinib-PDGFRA from Automat DrugCentral
If we query BTE for edges between imatinib (PUBCHEM.COMPOUND:5291) and PDGFRA (NCBIGene:5156; as a Gene and a Protein), we get a similar situation to Example 1: 5 edges from Automat DrugCentral imatinib-PDGFRA.json...
f6f4696df6e39957f4cc8a51a1f4e737
: related_to643a722004d529d83ecab7dc2df7031d
: physically_interacts_with547c79b19227f6637110140877059ed3
: bindse42d078b7fa828c5ea7e531556289833
: related_to1cec3bbf58fe9ca53a48016975785eaa
: affectsVS when I query Automat DrugCentral directly for edges between imatinib (PUBCHEM.COMPOUND:5291) and PDGFRA (UniProtKB:P16234, as a Protein), I get 2 edges automat-drugcentral-1.json:
Note: this example also has 2 almost-identical Automat Pharos edges (related_to and affects, both with the same qualifier set, pIC50 of 8.7, and 3 PMIDs). The affects edge is likely the real one.
I think this is what is happening:
However, there are some oddities. BTE doesn't seem to be creating extra edges...
And a note: while I think there are real, separate edges in Automat pharos vs hetio vs drugcentral...these edges are very similar - as if they come from the same underlying sources (chembl?). Dunno if we want to bring that up with the Automat team...
The text was updated successfully, but these errors were encountered: