A Vector-Powered Discovery Engine that transforms fragmented biological data (papers, DNA sequences, and chemical molecules) into a unified, searchable intelligence layer using NCBI, Qdrant, FastEmbed, and React.
Prerequisites: Docker and Docker Compose installed.
docker-compose upThat's it! The entire stack will start automatically.
- Frontend Dashboard: http://localhost:3000
- Backend API: http://localhost:8000/docs (Interactive Swagger UI)
- Qdrant Dashboard: http://localhost:6333/dashboard
- Open http://localhost:3000
- Choose Your Discovery Mode:
- Text: Search PubMed articles (e.g., "Alzheimer's treatments")
- Protein: Visualize human protein structures from PDB (e.g., "Insulin")
- Molecule: Discover chemical compounds via SMILES latent search (e.g., "CCO")
- Watch as the system retrieves data from NCBI, RCSB PDB, or your custom SMILES VAE model.
docker-compose down- 𧬠NCBI PubMed Integration: Real-time retrieval of the latest biomedical literature.
- 𧬠PDB Protein Discovery: Immersive structural search across the RCSB Protein Data Bank.
- π§ͺ SMILES Chemical Search: Latent space discovery using a custom VAE model for molecular similarity.
- π Unified Semantic Search: Bge-small-en-v1.5 embeddings power both literature and structural queries.
- π§± Advanced Visualizer: PDBe-molstar integration with illustrative lighting and futuristic HUD.
- π Multimodal Results: Hybrid UI renders specialized cards for papers, proteins, and molecules.
- Quad-Collection Architecture: Separate vector spaces for Text, Proteins, and Chemical Latent vectors.
- HNSW Indexing: High-precision semantic clustering for sub-second retrieval.
- Unified Embedding Logic: Consistent BGE-Small vectorization across all biological entities.
- Zero-Setup Docker: Full orchestration handles model pre-loading and DB health checks.
βββββββββββββββ ββββββββββββββββ βββββββββββββββ
β React βββββββΆβ FastAPI βββββββΆβ Qdrant β
β Frontend β β Backend β β Vector DB β
β (Port 80) β β (Port 8000) β β (Port 6333) β
βββββββββββββββ ββββββββββββββββ βββββββββββββββ
β
βββββββββββββββββ΄ββββββββββββββββ
β β
βΌ βΌ
ββββββββββββββββ ββββββββββββββββ
β NCBI PubMed β β RCSB PDB β
β (Biopython)β β (Structure)β
ββββββββββββββββ ββββββββββββββββ
- Frontend: React 19 + Vite + TypeScript + TailwindCSS
- Backend: Python 3.11 + FastAPI + Uvicorn
- AI Models: FastEmbed (BGE-Small) + Custom Keras VAE (SMILES)
- Vector Database: Qdrant (Hybrid Cloud/Local)
- Data Sources: NCBI, RCSB PDB, PubChem
- 3D Visualization: PDBe-molstar
Vectros-in-orbit2.0/
βββ backend/
β βββ main.py # Central search router & endpoints
β βββ qdrant_db.py # Multi-collection client logic
β βββ ingest_proteins.py # PDB structure scraper & ingestion
β βββ smiles.py # Latent molecular search logic
β βββ Blog_simple...h5 # Chemical discovery VAE model
β βββ Dockerfile # Neural backend container
β βββ requirements.txt # Unified dependency list
βββ components/
β βββ ProteinViewer.tsx # Illustrative 3D visualization HUD
β βββ ProteinCard.tsx # Structure-focused result card
β βββ MoleculeCard.tsx # Chemical formula search card
β βββ ResultCard.tsx # Standard PubMed article card
βββ App.tsx # Dual-mode state & hybrid UI logic
βββ ...
- Discovery Mode: User toggles between Literature, Proteins, and Molecules.
- Neural Retrieval:
- Text/Protein: BGE embeddings find semantic matches in PubMed/PDB.
- Chemical: Keras VAE converts SMILES into latent vectors for similarity search.
- Hybrid Rendering: Backend returns standardized types, and the UI adapts the card style (PubMed vs. PDB vs. SMILES).
- Immersive Viewing: Proteins are loaded into a high-precision 3D viewport with illustrative depth and real-time metadata HUD.
The application is fully containerized for a seamless experience across all platforms.
# Build and start all services
docker-compose up --build
# Shutdown the application
docker-compose down- Drug Discovery: Find papers on specific protein targets or compounds
- Literature Review: Semantic search across biomedical abstracts
- Hypothesis Generation: Discover connections between biological concepts
- Education: Explore biological topics with visual 3D structures
MIT License - See LICENSE file for details
Built for the Vectors in Orbit Hackathon by Karray Aziz
- NCBI PubMed: For providing open access to biomedical literature
- Qdrant: For the powerful vector database solution
- FastEmbed: For efficient, lightweight embeddings
- iCn3D: For 3D molecular visualization
Questions? Open an issue or contact the maintainer.
Enjoy exploring the biology discovery engine! π§¬π