Visualization System for Interactions between Proteins and Drugs for Exploratory Research
103
VISPER consists of three different images:
services:
fastapi:
build:
context: ./backend
ports:
- "8000:8000"
depends_on:
- neo4j
environment:
- NEO4J_URI=bolt://neo4j:7687
- NEO4J_USER=neo4j
- NEO4J_PASSWORD=workwork
react-nginx-app:
stdin_open: true
build:
context: ./frontend
dockerfile: Dockerfile
expose:
- 3000
ports:
- 3000:80
environment:
- CHOKIDAR_USEPOLLING=true
neo4j:
image: neo4j:5.12.0-community
ports:
- "7474:7474"
- "7687:7687"
environment:
- NEO4J_ACCEPT_LICENSE_AGREEMENT=yes
- NEO4J_AUTH=neo4j/workwork
volumes:
- ./db/data:/data
- ./db/conf:/conf
- ./db/logs:/logs
- ./db/plugins:/plugins
docker-compose up
(Optional: First run docker-compose pull) This process can take some time (approximately 40 minutes). 5. Call http://localhost:7474/browser/ and execute the following Neo4j cipher (user: neo4j, password: workwork).
CREATE INDEX IF NOT EXISTS FOR (d:Drug) ON (d.name);
CREATE INDEX IF NOT EXISTS FOR (p:Protein) ON (p.name);
CREATE INDEX IF NOT EXISTS FOR (c:Cell_Line) ON (c.name);
CREATE INDEX IF NOT EXISTS FOR (d:Drug) ON (d.uid);
CREATE INDEX IF NOT EXISTS FOR (p:Protein) ON (p.uid);
CREATE INDEX IF NOT EXISTS FOR (c:Cell_Line) ON (c.uid);
CREATE INDEX IF NOT EXISTS FOR (d:Drug) ON (d.drug_id);
CREATE INDEX IF NOT EXISTS FOR (d:Drug) ON (d.CHEMBL);
CREATE INDEX IF NOT EXISTS FOR (c:Cell_Line) ON (c.COSMIC_ID);
CREATE INDEX IF NOT EXISTS FOR (p:Protein) ON (p.swiss);
CALL gds.graph.project("graph", "Protein", {PPI: {orientation: "UNDIRECTED"}});
Content type
Image
Digest
sha256:6f73eb5fc…
Size
24.9 MB
Last updated
about 2 years ago
docker pull thegoldenphoenix/visper:version1.0