Update README.md
Browse files
README.md
CHANGED
|
@@ -1,69 +1,96 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
-
|
| 8 |
-
-
|
| 9 |
-
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
tags:
|
| 6 |
+
- api
|
| 7 |
+
- brain
|
| 8 |
+
- cancer
|
| 9 |
+
- trails
|
| 10 |
+
- finder
|
| 11 |
+
- app
|
| 12 |
+
---
|
| 13 |
+
<p align="center"> <b>Brain Cancer Trials Finder</b> </p>
|
| 14 |
+
|
| 15 |
+
<p align="center">
|
| 16 |
+
<img src="logo_precise.png" alt="PRECISE-GBM Logo">
|
| 17 |
+
</p>
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
Desktop Application, Streamlit app and code
|
| 21 |
+
|
| 22 |
+
# Brain Cancer Trails Finder (Desktop Application)
|
| 23 |
+
|
| 24 |
+
The link for download is here: (Coming soon)
|
| 25 |
+
|
| 26 |
+
This application uses API with Clinical Trials Registry at NIH (ClinicalTrails.gov, USA) and provides scores according to the type of brain cancer input on the GUI.
|
| 27 |
+
It also provides links directly to UK cancer registers and search is performed automatically on the type of cancer selected (CRUK, NIHR, ISRCTN(UK) )
|
| 28 |
+
|
| 29 |
+
|
| 30 |
+
# Brain Cancer Trials Finder (Streamlit)
|
| 31 |
+
|
| 32 |
+
A minimal Streamlit app that discovers actively recruiting neuro-oncology clinical trials (e.g., glioblastoma, brain tumors) from the ClinicalTrials.gov v2 API and ranks them with simple, explainable heuristics.
|
| 33 |
+
|
| 34 |
+
Demo features:
|
| 35 |
+
- Filters by country and basic patient factors (age, KPS, setting).
|
| 36 |
+
- Pulls live data from ClinicalTrials.gov v2.
|
| 37 |
+
- Scores trials with transparent reasons for the score.
|
| 38 |
+
|
| 39 |
+
## Local run
|
| 40 |
+
|
| 41 |
+
Prereqs: Python 3.9+.
|
| 42 |
+
|
| 43 |
+
```bash
|
| 44 |
+
python -m venv .venv
|
| 45 |
+
.venv\Scripts\activate
|
| 46 |
+
pip install -r requirements.txt
|
| 47 |
+
streamlit run streamlit_app.py
|
| 48 |
+
```
|
| 49 |
+
|
| 50 |
+
## Deploy to Streamlit Community Cloud
|
| 51 |
+
|
| 52 |
+
1) Push this folder to a new GitHub repository (see steps below).
|
| 53 |
+
2) Go to https://share.streamlit.io/ and connect your GitHub account.
|
| 54 |
+
3) Create a new app, select your repo, branch (e.g., `main`), and set the main file path to `streamlit_app.py`.
|
| 55 |
+
4) Click Deploy. Streamlit will build from `requirements.txt` automatically.
|
| 56 |
+
|
| 57 |
+
## GitHub repository setup (Windows, cmd.exe)
|
| 58 |
+
|
| 59 |
+
1) Create an empty repo on GitHub (e.g., `brain-trials-finder`). Do not add any files there.
|
| 60 |
+
2) In this project folder, run:
|
| 61 |
+
|
| 62 |
+
```bat
|
| 63 |
+
git init
|
| 64 |
+
git add .
|
| 65 |
+
git commit -m "Initial commit: Streamlit Brain Cancer Trials Finder"
|
| 66 |
+
git branch -M main
|
| 67 |
+
REM Replace <YOUR-USERNAME> and repo name below
|
| 68 |
+
git remote add origin https://github.com/<YOUR-USERNAME>/brain-trials-finder.git
|
| 69 |
+
git push -u origin main
|
| 70 |
+
```
|
| 71 |
+
|
| 72 |
+
If you prefer SSH:
|
| 73 |
+
|
| 74 |
+
```bat
|
| 75 |
+
git remote remove origin 2> NUL
|
| 76 |
+
git remote add origin git@github.com:<YOUR-USERNAME>/brain-trials-finder.git
|
| 77 |
+
git push -u origin main
|
| 78 |
+
```
|
| 79 |
+
|
| 80 |
+
## Configuration
|
| 81 |
+
|
| 82 |
+
- No secrets are required. All data is pulled from the public ClinicalTrials.gov API.
|
| 83 |
+
- If you want to pin Python version on Streamlit Cloud, add a `runtime.txt` (e.g., `python-3.10`), though it’s optional.
|
| 84 |
+
|
| 85 |
+
## Files
|
| 86 |
+
|
| 87 |
+
- `streamlit_app.py` — Streamlit entrypoint used by Streamlit Cloud.
|
| 88 |
+
- `GUI_CLinicalTrial.py` — Original app file; kept for development, but `streamlit_app.py` mirrors it for deployment.
|
| 89 |
+
- `requirements.txt` — Python dependencies.
|
| 90 |
+
- `.gitignore` — Ignores typical Python/venv artifacts.
|
| 91 |
+
|
| 92 |
+
## Disclaimer
|
| 93 |
+
|
| 94 |
+
This tool provides assistive information only and is not a substitute for professional medical advice. Always discuss clinical trials with your clinician.
|
| 95 |
+
|
| 96 |
+
Copyright: Prajwal Ghimire
|