ncats/RDAS

Update neo4J regularly

wzkariampuzha opened this issue · 7 comments

query PubMed regularly and update neo4J db

We also need to query OMIM API regularly and check any newly added references

Devon is working on PubMed and Richard is working on OMIM

We should add all references from OMIM, including PubMed indexed ones and non-PubMed indexed ones

Also remove publications older than 50 years. and update weekly @qianzhu2018 Do you want to do a sliding date window

Edit the initial_loading python script to support full database creation and reoccurring updates

  • Check txt or json file to see if a "database_exists" variable is set to True
    • if "database_exists" == False, set minimum date to lowest date needed for full creation
    • if "database_exists" == True, access the txt or json file for the last time the script was ran and set the minimum retrieval date to that date

@devonleadman Fixed the update function here: #9

Needs to have a cron script or something natively on linux machine that automatically calls the update-neo4j.py script