-
Notifications
You must be signed in to change notification settings - Fork 2
Build and import proteins into OpenSearch
After you've successfully set up and configured OpenSearch, it's time to start generating the protein metadata and importing it into the running OpenSearch instance.
Build protein metadata
Follow the information in this guide to start building all protein metadata (and other data) for Unipept.
Start a screen session
Since it can take some time to upload all proteins in OpenSearch, it is advised to start a new screen session that allows to run this process in the background.
screen -S "opensearch"Import data in OpenSearch
Warning
This will delete all data that's currently present in the OpenSearch instance and replace it with the most recent data.
Make sure that you've cloned the unipept-database repository (which you also needed for the previous step).
Navigate to the unipept-database/scripts directory and run the initialize_opensearch.sh script.
cd "unipept-database/scripts"
./initialize_opensearch.shThis step might take several hours to complete, press CTRL + A, followed by CTRL + D to exit the screen session.
You can always go back to the screen session later by typing screen -r opensearch.