Skip to content
View ankurgenomics's full-sized avatar
:atom:
coding
:atom:
coding

Block or report ankurgenomics

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
ankurgenomics/README.md

Ankur Sharma, PhD

Agentic AI · ML · Computational Biology

Building production multi-agent systems and reasoning-traceable AI for science.

ai_ecosytem_upwork work_type_skills_upwpork what_sets_this_project_aaprt_upwork continue_imorivement_deployment_upwork

Email LinkedIn Portfolio Google Scholar


8+ years production ML & bioinformatics | PhD NTU Singapore | Singapore (PR)

LangGraph · Claude API · Multi-Agent Systems · AWS · Nextflow · Clinical Genomics


🤖 Featured Projects

🧬 genome-ft — Fine-tuning a Genomic Foundation Model

New | PyTorch · Hugging Face Transformers · Nucleotide Transformer v2

Full weight-level fine-tuning of Nucleotide Transformer v2 50M (InstaDeep, a genomic foundation model) on two GenomicBenchmarks DNA classification tasks. All 53.8M parameters are updated, not LoRA or a frozen head. The emphasis is the evaluation protocol rather than the headline number: a leakage-free train/validation/test split, the test set scored exactly once, three random seeds with reported variance, and the base model measured under the identical pipeline.

Tech: PyTorch (Apple MPS), Hugging Face Transformers, AdamW with warmup + cosine decay, reverse-complement augmentation, validation-based checkpoint selection

git clone https://github.com/ankurgenomics/genome-ft
cd genome-ft && pip install -r requirements.txt
python prepare_data.py && python train.py   # reproduces the fine-tune end-to-end
  • Enhancers (human_enhancers_cohn, 3 seeds): accuracy 0.735, MCC 0.478 ± 0.003 (base model at chance, MCC −0.009)
  • Promoters (human_nontata_promoters): accuracy 0.872, MCC 0.747
  • Validation MCC peaked at epoch 1–2 then declined, so a low learning rate and validation-based selection matter more than longer training
  • 🤗 Model card: ankur0050/nucleotide-transformer-v2-50m-genomicbenchmarks-ft

🩺 Reviewer2 — Autonomous ACMG Variant Second Reviewer

New | LangGraph · FastMCP · MCP Server · Pydantic v2 · Python

Clinical genomics has a consistency problem. Two trained analysts applying the same 28-criterion ACMG framework to the same variant routinely reach different calls. Reviewer2 acts as an autonomous second reviewer: feed it a variant and a proposed classification, and it independently re-derives the ACMG call from evidence using a 4-node LangGraph pipeline, then flags exactly where the two calls diverge. Every criterion that fires is backed by a specific evidence sentence. No evidence, no flag -- enforced at the Pydantic model level, not by convention.

Tech: LangGraph, FastMCP (Model Context Protocol), Pydantic v2, Ollama / Anthropic / OpenAI / Gemini, uv, ruff, mypy

git clone https://github.com/ankurgenomics/Reviewer2
cd Reviewer2 && uv sync
uv run reviewer2 demo   # 3 live cases, no API key needed with Ollama
  • 21 tests passing, 86% action-band concordance vs expert-panel ClinVar classifications
  • Pydantic v2 validators enforce at the model level: no criterion can fire without grounding evidence
  • MCP server ready: any LLM agent that speaks Model Context Protocol can call it as a tool

🧫 sentinel-amr — Explainable AMR Classifier

New | XGBoost · SHAP · LangGraph · Python

Explainable, agentic antimicrobial resistance classifier for bacterial pathogen surveillance. Predicts resistance, names the genes that drove the call via SHAP TreeExplainer, detects organisms outside the training distribution, and escalates uncertainty to a human — with a full audit trail at every step.

Tech: XGBoost, SHAP TreeExplainer, LangGraph StateGraph, alignment-free k-NN novelty detection, BV-BRC / CARD / VFDB

git clone https://github.com/ankurgenomics/sentinel-amr
cd sentinel-amr && ./run.sh   # train + explain + novelty + demo, fully offline
make demo-novel               # shows the novel-organism escalation path
  • ROC-AUC 0.894 on a group-aware holdout — related isolates never leak across the split
  • Top drivers independently rediscovered: CTX-M-15, acrAB efflux pump, DNA topoisomerase IV
  • Novel-organism gate explicitly blocks the automated call when the sample has no database match

🦠 outbreak-agent — Infectious Disease Triage Pipeline

New | LangGraph · Python · matplotlib · ReportLab

4-node LangGraph state machine for infectious disease outbreak triage. Built around the April 2026 MV Hondius / Andes virus event -- the first confirmed human-to-human hantavirus transmission on a cruise ship. Self-correcting critic loop re-evaluates when outputs are inconsistent.

Tech: LangGraph 0.6, LangChain, matplotlib, ReportLab, pytest

git clone https://github.com/ankurgenomics/outbreak-agent
cd outbreak-agent && pip install -r requirements.txt
python demo.py --case hondius   # CRITICAL 98/100, under 2 seconds, no API key
  • 33 tests passing, completely free to run (no API key required)
  • Generates 3-panel risk dashboard (PNG) + structured PDF triage report automatically
  • Blog: When an AI Agent Boards a Cruise Ship

🧬 agentic-genomics — GenomicsCopilot

Flagship open-source project | LangGraph · Claude · Python

Reasoning-traceable agent for variant interpretation. 7 deterministic nodes (VCF ingest → gnomAD/ClinVar lookup → ACMG-lite classification → HPO phenotype scoring) + LLM synthesizer + critic for fact-checking. Every call leaves a full audit trail.

Tech: LangGraph, Claude/Anthropic API, Pydantic v2, pysam, Streamlit, Typer CLI

pip install agentic-genomics
genomics-copilot analyze variants.vcf --phenotypes HPO:0001250

🛠️ genomics-skills — Agent-Callable Skill Library

8 production-quality genomics skills | Python · Claude Haiku · REST APIs

The downstream skill layer for agentic-genomics. Each skill is agent-discoverable with a SKILL.md contract, CLI entrypoint, and deterministic outputs (TSV + PNG/SVG). LLM-powered routing via Claude Haiku maps natural-language queries to the right skill.

Skills: TCGA pan-cancer expression (9,479 real samples) · Kaplan-Meier survival (Cox PH) · GO/KEGG enrichment · PubMed search · Protein variant mapper · 3D structure viewer · Volcano plots

Tech: Python, Claude Haiku (LLM routing), cBioPortal/MyVariant/NCBI/PDB APIs, Pandas, Matplotlib

genomics-skill suggest "show me survival data for BRCA1 in breast cancer"
genomics-skill run tcga-expression --gene TP53 --mode pan-cancer


📊 fiscal-graph — MCP Tool-Calling + Multi-Agent Supervisor

New | LangGraph · MCP · FastAPI

Structured extraction, real MCP tool-calling, and a LangGraph multi-agent supervisor over a real government document — Singapore's FY2024 budget (Ministry of Finance). A local MCP server exposes date normalization as a callable tool; the LLM decides to invoke it itself. A supervisor routes queries between a Revenue Agent and an Expenditure Agent and synthesizes one answer, with full trace capture.

Tech: LangGraph, langgraph-supervisor, MCP (local server), LangChain, Anthropic (Haiku/Sonnet), Pydantic v2, PyMuPDF, pdfplumber, FastAPI

git clone https://github.com/ankurgenomics/fiscal-graph
cd fiscal-graph && pip install -r requirements.txt && python run_all.py
  • Held-out routing eval: 8 queries never seen in the prompt or demo set — all routed to the correct agent(s)
  • 31 passing tests, CI on every push; POST /query FastAPI service over the supervisor

🐝 adaptive-research-swarm — Non-Linear Multi-Agent System

New | LangGraph · FastAPI · Docker

A supervisor-orchestrated system that plans its own agent roster at runtime instead of following a fixed pipeline. Three real graph cycles: a critic sends rejected work back to the exact agent for rework, a second cycle lets the critic decide the roster itself is missing a specialist and triggers a re-plan, and a human-rejection cycle routes free-text feedback through an LLM decision on how to respond. A code-enforced iteration/tool-call budget means a stuck run returns a typed partial result instead of looping forever.

Tech: LangGraph, FastAPI, Pydantic v2, multi-provider LLM fallback, Tavily/Exa, Langfuse, Docker

git clone https://github.com/ankurgenomics/adaptive-research-swarm
cd adaptive-research-swarm && cp .env.example .env && docker compose up --build
  • 100% completeness (24/24 expected facts), 16.7% hallucination rate — Anthropic-judged, reproducible
  • Same engine ships two presets (competitive intelligence, lead qualification) — proof it generalizes

🛡️ enterprise-doc-intelligence — Guarded RAG with Injection Defense

New | FastAPI · Chroma · RAGAS

RAG for regulated documents (contracts, SOPs, financial reports): hybrid retrieval (BM25 + Chroma vector search, reciprocal rank fusion, cross-encoder reranking), span-grounded citations, and a groundedness guardrail that refuses to answer unsupported claims. Ships a live, reproducible prompt-injection defense test.

Tech: FastAPI, Pydantic v2, rank_bm25 + Chroma, sentence-transformers, RAGAS, Docker

git clone https://github.com/ankurgenomics/enterprise-doc-intelligence
cd enterprise-doc-intelligence && python scripts/generate_sample_docs.py && uvicorn app.main:app --reload
  • RAGAS: 0.981 faithfulness, 1.000 context precision/recall
  • python -m adversarial.run_injection_test — hidden and visible injection payloads both neutralized before indexing

🔐 FedClinic — Federated Clinical Analysis

Daytona HackSprint Bronze | FedSGD · Nosana GPU · MCP

Federated learning across real Daytona sandboxes so patient data never leaves institutional boundaries. Ran a real gradient-inversion attack on a Nosana RTX 3090, reconstructed a real patient's record, then fixed it with differential privacy and measured the cost. Validated on 123 real MIMIC-IV hospital admissions. Exposes an MCP server for direct agent tool-calling.

Tech: Python, FedSGD, PyTorch, Daytona, Nosana GPU, MCP

  • Attack residual: 9.4e-5 (succeeds) → 2.69 (fails) after the DP fix; model loss cost only 0.505 → 0.510

🧪 lab-agent — Multi-Instrument Lab Orchestration

Open source | LLM function calling · LIMS · Ollama

Natural-language orchestration of microscope, liquid-handler, and flow-cytometer workflows, with a safety validator blocking invalid tool calls before any hardware call fires. Async job tracking, LIMS writing per-well results to SQLite, closed-loop planning across 3 LLM backends (Ollama, Anthropic, Groq). Tested on real HeLa cell images (Broad Institute BBBC020).

Tech: Python, LLM function calling, Ollama/Anthropic APIs, SQLite/SQLAlchemy, Micro-Manager, Opentrons API


🧬 genome-arch — From-Scratch Variant-Effect Architecture

Open source | PyTorch · Benchmarked vs. 7 baselines

Multi-scale block-convolution + dynamic sparse-attention + reverse-complement-equivariance architecture for cross-species non-coding variant prediction. Benchmarked with leakage-free, multi-seed evaluation against Enformer, Borzoi, DeepSEA, Sei, SpliceAI, BPNet, and ChromBPNet.

Tech: PyTorch, Hugging Face Transformers, GitHub Actions CI/CD


🔬 protein-ft — ESM2 Fine-Tuning vs. Frozen Baseline

Open source | PyTorch · FLIP benchmark

Full-parameter ESM2 fine-tuning measured directly against a frozen-embedding linear probe on protein fitness-landscape prediction (FLIP GB1) — quantifying when full fine-tuning is worth its cost. Tests verify the frozen-probe mode produces exactly zero gradient into the backbone.

Tech: PyTorch, Hugging Face Transformers, FLIP benchmark, GitHub Actions CI/CD


☁️ Autonomous Genomic Pipelines

Production cloud infrastructure | AWS · Nextflow · Step Functions

Self-optimizing WGS/RNA-seq workflows on AWS with adaptive resource allocation and automated QC gating. Processed 10,000+ samples with minimal human intervention.

Impact:

  • 40% ↓ compute costs
  • 50% ↓ storage footprint
  • 1 PB genomic data managed

Tech: Nextflow (DSL2), AWS Batch, Lambda, Step Functions, Docker, IaC

Related work: gwas_nf — Nextflow pipeline for GWAS


📊 GitHub Stats

Ankur's GitHub stats

Top Languages


🛠️ Technical Stack

Agentic AI & LLMs

LangGraph Claude Multi-Agent RAG OpenAI

ML & Data Science

Python scikit-learn PyTorch Pandas

Cloud & Infrastructure

AWS Docker Nextflow GitHub Actions

Bioinformatics

DRAGEN GATK Bioconductor NGS


🏆 Hackathons, Talks & Recognition

3rd Place · Global AI Construct Multi-Agent AI Challenge · Microsoft / OGP / HTX · 2026 Architected a multi-agent system natively on Azure AI Foundry in a 3-hour build among ~100 engineers.

Bronze · Daytona HackSprint · SGInnovate · 2026 Solo entry. Built FedClinic, adversarially stress-tested with a real gradient-inversion attack and hardened with differential privacy.

Winner · Illumina Internal AI Hackathon · 2026 Built GWASplain, an AI-enabled interpretation tool for population genomics data.

Invited Speaker · Lorong AI Healthcare x AI Forum · Ministry of Digital Development and Information, Singapore · Aug 2026 Presented on clinical AI adoption, auditability, and evidence-based decision-making to VCs, researchers, and government stakeholders.

Stage Speaker · AWS ASEAN Summit · 2023 Invited talk to enterprise and government technology leaders across Southeast Asia, representing Mirxes.


📚 Publications & Research

Newsletter · "Slightly Intelligent" · LinkedIn · ongoing 750+ subscribers, 10,000+ weekly views, 16 issues on agentic AI, evaluation methodology, and foundation-model critique. Read on LinkedIn

PhD Thesis · NTU Singapore · 2021 Age-dependent transcriptional and epigenetic alterations in mouse hepatocytes

Technical Writeup · Open Source Why agentic AI for genomics? Designing reasoning-traceable variant interpretation

Open-source ML · 2026 genome-ft: full fine-tuning of Nucleotide Transformer v2 (50M) on GenomicBenchmarks — leakage-free, multi-seed evaluation; model card on Hugging Face

Technical Blog · Amazon Web Services · 2025 Using serverless for cross-organizations information exchange in genomic analysis

Blog Post · May 2026 When an AI Agent Boards a Cruise Ship: Hantavirus, LangGraph, and the Future of Outbreak Triage

Conference Poster · Cell Symposia, Chicago · 2019 Significance of hepatocyte polyploidization in liver physiology and pathology

Peer-Reviewed · Frontiers in Microbiology · 2018 Antiproliferative and antioxidative bioactive compounds in marine-derived endophytic fungus


🎯 Open to Relevant Opportunities

I am open to relevant roles globally — across industry, research, and startups — where agentic AI, ML, or computational biology intersects with real-world impact.

If you are working on something ambitious at the intersection of AI and science, I'd love to hear from you.

Based in Singapore (PR) — open to remote, hybrid, or relocation anywhere in the world.


📫 Let's Connect


🔬 Building the future of AI-powered science, one traceable agent at a time.

Profile Views

Pinned Loading

  1. genome-ft genome-ft Public

    Full weight-level fine-tuning of Nucleotide Transformer v2 50M on GenomicBenchmarks DNA tasks — leakage-free train/val/test protocol, multi-seed evaluation, reproducible figures.

    Python 2 1

  2. genomics-skills genomics-skills Public

    A modular, agent-friendly genomics skill library — 8 pure-Python skills for variant-centric genomics workflows

    Python 3

  3. Reviewer2 Reviewer2 Public

    Python 2 1

  4. sentinel-amr sentinel-amr Public

    Python 2

  5. adaptive-research-swarm adaptive-research-swarm Public

    LangGraph multi-agent system that plans its own workflow at runtime, loops back on critic rejection, enforces a hard budget in code, and pauses for human approval before finalizing.

    Python

  6. lab-agent lab-agent Public

    Natural-language orchestration of multi-instrument biotech workflows — async job tracking, protocol validation, LIMS archival, closed-loop automation

    Python