Gene2Trials Navigator is a Streamlit web app that allows users to explore gene-related biomedical knowledge.
Given a gene symbol (e.g., TP53, BRCA1), the app fetches mutations, diseases, drugs, and clinical trials from public biomedical APIs and provides AI-powered summaries.
- π Gene Mutations: Extract mutations, CADD scores, and clinical significance using MyVariant.info / ClinVar.
- π§ͺ Associated Diseases: Discover diseases linked to mutations.
- π Drug Information: Retrieve drug candidates via ChEMBL.
- π Clinical Trials: Get live data from ClinicalTrials.gov.
- π AI Summarization: Summarize PubMed abstracts with Hugging Face Transformers.
- β Clickable Links: Direct links to variants, drugs, and trial pages.
- Languages: Python
- Frameworks: Streamlit
- APIs:
- AI Models: HuggingFace Transformers
- Deployment: Hugging Face Spaces / GitHub
streamlit run app.py
π Usage Enter a gene symbol (e.g., TP53). Navigate tabs: π¦ Mutations 𧬠Diseases π Drugs π Clinical Trials π Summaries Click on IDs to open external references.
π Project Structure gene2trials-navigator/ βββ app.py # Main Streamlit app βββ utils/ β βββ mutations.py # MyVariant/ClinVar fetch β βββ diseases.py # Disease associations β βββ drugs.py # ChEMBL fetch β βββ trials.py # ClinicalTrials.gov fetch β βββ summaries.py # PubMed summarization βββ requirements.txt βββ README.md π€ Contributing
PRs are welcome! If you find a bug, please open an issue. https://huggingface.co/spaces/bano1/gene2trials-navigator
git clone https://github.com/Bano733-code/gene2trials-navigator.git
cd gene2trials-navigator
pip install -r requirements.txt```