PDataViewer is a web application that lets you explore the PD data landscape and identify cohort datasets that suit your research needs.
Data collected in cohort studies lay the groundwork for a plethora of Parkinson’s disease (PD) research endeavors. PDataViewer lets you explore this PD data landscape and identify cohort datasets that suit your research needs. We accessed and curated major PD cohort datasets in a purely data-driven manner with the aim of:
- characterizing their underlying data
- assessing the quantity and availability of data
- evaluating the interoperability across these distinct cohort datasets.
- Python >= 3.10
- Angular = 18.2.x
- Node.js >= 18.19.1
- TypeScript >= 5.4.0 < 5.6.0
git clone https://github.com/SCAI-BIO/PDataViewer
cd PDataViewer
cd backend
pip install -r requirements.txt
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
nvm install 20
npm install -g @angular/cli
You can access the backend functionalities by accessing the provided REST API.
Run the Backend API on port 5000:
cd backend
uvicorn api.routes:app --reload --port 5000
The API can also be run via docker.
You can either build the docker container locally or download the latest build from the PDataViewer GitHub package registry.
To build the Docker container locally:
docker build -t ghcr.io/scai-bio/pdataviewer/backend:latest .
To download the latest build:
docker pull ghcr.io/scai-bio/pdataviewer/backend:latest
After building or downloading, you will be able to start the container and access the PDataViewer API by default on localhost:8000:
docker run -p 8000:80 ghcr.io/pdataviewer/scai-bio/backend:latest
You can deploy a local version of the web application via Angular
You can access the web application on localhost:4200:
cd frontend
npm install
ng serve
You can deploy a local version of the web application via docker. You can either build the docker container locally or download the latest build from the PDataViewer GitHub package registry.
To build the Docker container locally:
docker build -t ghcr.io/scai-bio/pdataviewer/frontend:latest .
To download the latest build:
docker pull ghcr.io/scai-bio/pdataviewer/frontend:latest
After building or downloading, you will be able to start the container and access the PDataViewer web application by default on localhost:8080:
docker run -p 8080:80 ghcr.io/scai-bio/pdataviewer/frontend:latest
You can deploy a local version of the API and the web application together.
-
Ensure Docker Compose is Installed: Make sure you have Docker Compose installed on your machine. You can verify this by running:
docker-compose --version
-
Navigate to the Root (PDataViewer) Folder
-
Build and Run the Containers:
docker-compose -f ./docker-compose.local.yml up --build
-
Verify that the Containers are Running:
docker ps
This command lists all running containers. You should be able to see your containers with the name pdataviewer-frontend
and pdataviewer-backend
.
You can access the web application on localhost:3000 and the API on localhost:5000