Skip to content

Latest commit

 

History

History
51 lines (35 loc) · 1.34 KB

README.md

File metadata and controls

51 lines (35 loc) · 1.34 KB

EpiVar Browser - Production instance

TODO

Importing Data

Setting up EPIVAR_UID environment variable before working:

export EPIVAR_UID=$UID

Genes and gene-peak pairs:

docker compose exec -iT epivar-node-1-server node ./scripts/import-genes.mjs < /opt/epivar/input-files/flu-infection-gene-peaks.csv
docker compose exec -iT epivar-node-2-server node ./scripts/import-genes.mjs < /flu-infection-data/node2/flu-infection-gene-peaks-hg38.csv

Peaks:

docker compose exec epivar-node-1-server node ./scripts/import-peaks.js
docker compose exec epivar-node-2-server node ./scripts/import-peaks.js

Calculate summary data:

docker compose exec epivar-node-1-server node ./scripts/calculate-peak-groups.mjs
docker compose exec epivar-node-2-server node ./scripts/calculate-peak-groups.mjs

docker compose exec epivar-node-1-server node ./scripts/calculate-top-peaks.mjs
docker compose exec epivar-node-2-server node ./scripts/calculate-top-peaks.mjs

Clearing cache

All cache:

docker compose exec epivar-node-1-server node ./scripts/clear-cache.mjs
docker compose exec epivar-node-2-server node ./scripts/clear-cache.mjs

Values cache:

docker compose exec epivar-node-1-server node ./scripts/clear-values-cache.mjs
docker compose exec epivar-node-2-server node ./scripts/clear-values-cache.mjs