obophenotype / upheno-dev

Framework for the automated construction of uPheno 2.0
MIT License
5 stars 5 forks source link

Pipeline to suggest new patterns #31

Closed matentzn closed 1 year ago

matentzn commented 2 years ago

We need a pipeline to suggest new DOSDP patterns from existing EQ definitions in the ontologies.

abnormalQualityOfThing:

morphology (10 phenotypes)

- Example row 1
- Example row 2
- Example row 3

increased size (10 phenotypes)
rays22 commented 2 years ago

Progress as of 2022-02-11:

rays22 commented 2 years ago

I have added the first version of the script that helps identify new patterns (src/scripts/suggest_new_patterns.py) in commit https://github.com/obophenotype/upheno-dev/commit/43e5b53aff6dec1972d7f50d84d45d86fd86a86b. It still has some known limitations including:

  1. It uses a library (petl) that is not part of standard python distributions.
  2. It is not optimised for a large number of tsv files, so it frequently runs out of steam.
matentzn commented 2 years ago

Thank you @rays22

Do you want to start adding pull requests to the uPheno repo then with new patterns?

rays22 commented 2 years ago

Thank you @rays22

Do you want to start adding pull requests to the uPheno repo then with new patterns?

Yes, that is my plan.

matentzn commented 1 year ago

@rays22 has completed this sufficiently.

There are some patterns we still have to create but nothing we need to focus on now.