Skip to content

Update loadDrugMechDB.py to include treats edges for indication paths#264

Open
beasleyjonm wants to merge 2 commits into
masterfrom
drugmechdb_treats_edges
Open

Update loadDrugMechDB.py to include treats edges for indication paths#264
beasleyjonm wants to merge 2 commits into
masterfrom
drugmechdb_treats_edges

Conversation

@beasleyjonm

@beasleyjonm beasleyjonm commented Oct 25, 2024

Copy link
Copy Markdown
Contributor

Each indication path in drugmechdb describes the COP for a drug-disease indication pair, but the "treats" edge is not explicitly included. I edited the parser to introduce these as "biolink:treats" edges.

@eKathleenCarter eKathleenCarter linked an issue Oct 28, 2024 that may be closed by this pull request
@eKathleenCarter

Copy link
Copy Markdown
Contributor

Looks like this needs a refactor.

@eKathleenCarter eKathleenCarter added the Refactor Parser needs refactoring and revision label Oct 28, 2024
@eKathleenCarter eKathleenCarter self-assigned this Oct 28, 2024
@eKathleenCarter

Copy link
Copy Markdown
Contributor

Given the "treats"/"ameliorates" edge refactor, I hesitate to approve this PR. I suggest we look at it more before merging it into main.

@eKathleenCarter eKathleenCarter added the Biological Context QC Require validation of biological context to ensure accuracy and consistency label Oct 28, 2024
@beasleyjonm

Copy link
Copy Markdown
Contributor Author

From the DrugMechDB paper: "DrugMechDB was constructed considering drug-disease indications from the DrugCentral
database, using the version downloaded on September 18, 2020"

So each drug-disease pair in each path in the source file could be considered an indication, at least as of 2020.

@eKathleenCarter

Copy link
Copy Markdown
Contributor

@beasleyjonm, how about we use the biolink:treats_or_applied_or_studied_to_treat for now until we can dig in to this some more?

@beasleyjonm

Copy link
Copy Markdown
Contributor Author

@beasleyjonm, how about we use the biolink:treats_or_applied_or_studied_to_treat for now until we can dig in to this some more?

Let's do that, since it's not clear that they update this regularly with latest indications on drug central and they state they used the 2020 version. It's possible some of the indications could have changed since then, so "treats_or_applied_or_studied_to_treat" seems the safest option.

@eKathleenCarter eKathleenCarter left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@eKathleenCarter eKathleenCarter added the Source: DrugMechDB ORION category: Source: DrugMechDB label Apr 30, 2026
This was referenced Apr 30, 2026
@cbizon

cbizon commented May 6, 2026

Copy link
Copy Markdown
Contributor

Given that we are independently ingesting drugcentral, my opinion is that we would not want to also add those same edges from here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Biological Context QC Require validation of biological context to ensure accuracy and consistency Refactor Parser needs refactoring and revision Source: DrugMechDB ORION category: Source: DrugMechDB

Projects

None yet

Development

Successfully merging this pull request may close these issues.

code improvement for DrugMechDB

3 participants