Genopedia is a genomics-focused machine learning pipeline for DNA/RNA sequence analysis, variant detection, and color-coded visualization.
- Nucleotide color coding: A=🔴, T=🟡, G=🟢, C=🔵, U=🟤
- Data loaders: FASTA, FASTQ, VCF
- Sequence analysis: GC content, motif finding, functional region detection
- Variant detection: SNPs, insertions/deletions, pathogenicity scoring
- Visualization: HTML/SVG color-coded sequences
- DNA sequence classifier (basic k-mer model implemented)
- Variant pathogenicity prediction
- Gene function annotation
- Extensible architecture for deep learning models
genopedia/
├── src/
│ ├── genomics/ # Core genomics pipeline
│ ├── models/ # ML models
│ ├── api/ # FastAPI backend
│ └── utils/ # Utilities
├── notebooks/ # Jupyter notebooks
├── tests/ # Unit tests
├── examples/ # Demo scripts
├── docs/ # Documentation
└── requirements.txt
cd ~/Desktop/genopedia
pip install -r requirements.txt
# Run a demo
python examples/demo_genomics.py
# Run tests
python -m pytest tests/Tests cover:
- Data loading/generation
- Sequence analysis
- Variant detection
- Visualization utilities
python -m pytest tests/test_genomics.py -vGenerates HTML/SVG color-coded nucleotide sequences:
from src.genomics import GenomicsVisualizer
visualizer = GenomicsVisualizer()
dna_sequence = "ATGCCGTAG"
html_output = visualizer.generate_color_html(dna_sequence)FastAPI backend for:
- Sequence analysis endpoints
- Variant detection
- ML model inference
- WebSocket for real-time visualization
No large files stored locally - access datasets via:
- GRCh38: https://www.ncbi.nlm.nih.gov/grc/human
- 1000 Genomes: s3://1000genomes/
- ClinVar: ftp://ftp.ncbi.nlm.nih.gov/pub/clinvar/
- Ensembl: ftp://ftp.ensembl.org/pub/
- dbSNP: ftp://ftp.ncbi.nlm.nih.gov/snp/
Based on:
- Deep learning-based variant pathogenicity prediction
- Gene expression analysis
- CRISPR target identification
- Web dashboard with interactive visualization
- Integration with real PCR machines
MIT License - see LICENSE ```
© 2026 Genopedia Project | GitHub