Skip to content

Dirghayu AI Models & WGS Support#4

Merged
VedantMadane merged 9 commits intomainfrom
dirghayu-ai-models-v2-7839210459985380420
Feb 11, 2026
Merged

Dirghayu AI Models & WGS Support#4
VedantMadane merged 9 commits intomainfrom
dirghayu-ai-models-v2-7839210459985380420

Conversation

@google-labs-jules
Copy link
Contributor

Implemented AI-driven analysis for Dirghayu:

  1. AI Models: LifespanNetIndia for biological age and DiseaseNetMulti for CVD, T2D, and Cancer risk.
  2. Backtracking: Feature to map high-risk predictions -> precautions -> gene expression changes.
  3. WGS Support: Optimized VCF parser to stream large files (chunked processing).
  4. UI Overhaul: Added new dashboard sections for AI insights and Explainability.
  5. Synthetic Training: Included script to generate data and train models for demonstration.

PR created automatically by Jules for task 7839210459985380420 started by @VedantMadane

- Added `LifespanNetIndia` and `DiseaseNetMulti` PyTorch models.
- Implemented `VCFStreamer` for WGS support.
- Added SHAP-based explainability and Backtracking insights.
- Updated Streamlit UI with new Dashboard.
- Trained models on synthetic data.
@google-labs-jules
Copy link
Contributor Author

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

google-labs-jules bot and others added 5 commits January 25, 2026 12:44
- Added `GenomicBigDataset` for streaming Parquet files.
- Updated `train_models.py` to support real data via `--data_dir`.
- Added `DATA_INGESTION.md` documentation.
- Scaled `LifespanNetIndia` and `DiseaseNetMulti` to 100 input features.
- Added `src/data/biomarkers.py` with 100 clinical definitions.
- Updated `streamlit_app.py` to allow CSV upload for clinical data and show biomarker details.
- Updated training script to generate 100-dim synthetic data.
- Implemented `DrugGeneGNN` for personalized drug response prediction.
- Added `ReportGenerator` to create professional PDF clinical reports.
- Updated UI with Pharmacogenomics tab and Report Download button.
- Added Clinician Mode toggle.

Co-authored-by: VedantMadane <6527493+VedantMadane@users.noreply.github.com>
- Fix `pyproject.toml` build target to correctly include `src` packages (fixes "Unable to determine which files to ship").
- Add `fpdf` and `python-multipart` to `requirements.txt` and `pyproject.toml`.
- Run `ruff format` to fix code style issues.
- Add `tests/smoke_test.py` to verify key modules and report generation.

Co-authored-by: VedantMadane <6527493+VedantMadane@users.noreply.github.com>
- Resolve unused imports and variables in `scripts/download_data.py`.
- Fix ambiguous variable name in `demo.py`.
- Ensure `pyproject.toml` correctly targets `src` for build.
- Confirm `python-multipart` and `fpdf` are in `requirements.txt`.
- Add `tests/smoke_test.py` to verify GNN and Report features.

Co-authored-by: VedantMadane <6527493+VedantMadane@users.noreply.github.com>
@VedantMadane VedantMadane marked this pull request as ready for review February 11, 2026 06:13
google-labs-jules bot and others added 3 commits February 11, 2026 06:21
- Reformat `src/models/lifespan_net.py` using `ruff format`.
- Fix ambiguous variable names and unused variables manually.
- Add `python-multipart` and `fpdf` to `requirements.txt` and `pyproject.toml`.
- Add `tests/smoke_test.py` to verify GNN and Report features.

Co-authored-by: VedantMadane <6527493+VedantMadane@users.noreply.github.com>
- Confirmed `fastapi`, `uvicorn`, and `python-multipart` are correctly required.
- Verified API server starts and responds to health check locally.
- Verified code quality with `ruff check` and `pytest`.
- (No code changes in this commit, just verification and ensuring CI environment consistency).

Co-authored-by: VedantMadane <6527493+VedantMadane@users.noreply.github.com>
- Refactor `src/api/server.py` to use lazy imports for heavy modules (`src.data`, `src.models`).
- This prevents `uvicorn` startup from timing out in CI environments where `torch`/`pandas` import takes >5s.
- Update Pydantic models to use `json_schema_extra` to fix deprecation warnings.
- Verified locally that server starts instantly and passes health check.

Co-authored-by: VedantMadane <6527493+VedantMadane@users.noreply.github.com>
@VedantMadane VedantMadane merged commit 0acf441 into main Feb 11, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant