WGLab / PhenCards

Development of phencards.org web server for one stop shop of phenotype information
5 stars 1 forks source link

Add literature search and HPO linked disease to patient page #90

Closed jimhavrilla closed 3 years ago

jimhavrilla commented 4 years ago

When making the Results section I realized, Patient page is pretty incomplete, and while doing this may not produce an incredibly fast result, I think it is doable.

Pubmed search should be really easy to do, instead of just one string, add OR and let it search all. As for HPO linked disease search, can concatenate all HPO term query results together and sort by score maybe? Since it is normalized.

jimhavrilla commented 4 years ago

https://eutils.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi?db=pubmed&term="intellectual%20disability"+OR+"cortical%20atrophy"+OR+"flat%20nasal%20bridge"+OR+"loss%20of%20bladder%20control"+OR+"smooth%20philtrum"+OR+"synophrys"+OR+"thick%20lips"+OR+"unibrow"+OR+"ventricular%20dilatation" is the best i can do for literature search... not very specific though. can't really use it the same way and give the top hits but i can give a user the pubmed query and let them swap ORs for ANDs to gain more specificity. potentially a good alternative choice.

jimhavrilla commented 3 years ago

So the literature search is pretty disappointingly difficult to implement in a useful way.

However I did manage to make a pretty decent disease search using combined elasticsearch scores for fuzzy + exact matching for linked HPO terms. For an article where @kaichop is last author (https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4267425/) I used those notes and added a negation line for demonstration purposes.

The actual phenotype is mucopolysaccharidosis IIIB, which is the 8th result in sort order. The number 1 result is mucopolysaccharidosis IIID, which is pretty damn close. The only difference between IIIB and IIID is whether the gene is NAGLU (B) or GNS (D).

jimhavrilla commented 3 years ago

image image

jimhavrilla commented 3 years ago

Now added a pretty cool tool to search Google Scholar with great flexibility:

image

Can also potentially use this same tool to customize linked disease search by removing excess HPO terms!

jimhavrilla commented 3 years ago

Closed with PR #95