An open-source Python toolkit for automated variant interpretation following clinical genetics standards
Features β’ Quick Start β’ Documentation β’ Contributing
VariDex is research software under active development. It is NOT validated for clinical use.
- β Do not use for patient diagnosis or treatment decisions
- β Not approved for clinical or regulatory use
- β Suitable for research, education, and method development
VariDex automatically classifies genetic variants using the ACMG/AMP 2015 guidelinesβthe clinical genetics community's standard for interpreting genomic variants. It processes data from ClinVar, VCF files, and direct-to-consumer genetic tests (like 23andMe) to help researchers and geneticists understand variant pathogenicity.
Problem: Interpreting genetic variants is complex, time-consuming, and requires expert knowledge of ACMG criteria.
Solution: VariDex automates variant classification while maintaining transparency about evidence used, helping researchers:
- π¬ Classify thousands of variants systematically
- π Integrate ClinVar annotations with personal genomes
- π§ Understand the evidence behind each classification
- π Generate standardized reports for further analysis
-
π§© ACMG Classification Engine
- Implements 7 of 28 ACMG evidence codes (25% coverage)
- Follows official ACMG/AMP 2015 combination rules
- Evidence-based pathogenicity scoring
- Currently includes: PVS1, PM4, PP2, BA1, BS1, BP1, BP3
-
π ClinVar Integration
- Parse and normalize ClinVar VCF files
- Extract clinical significance and review status
- Match user variants against ClinVar database
-
π§± Multi-Format Input
- VCF files (standard genomic format)
- 23andMe raw data files
- Custom TSV/CSV variant lists
- Automatic coordinate normalization
-
π Comprehensive Reporting
- CSV and JSON output formats
- Evidence summary for each variant
- Confidence levels and warnings
- β 90% test coverage with 745+ automated tests
- β Type-safe with comprehensive type hints
- β Well-documented with inline docstrings
- β Modular design for extensibility
- β Performance optimized for batch processing
# Clone repository
git clone https://github.com/Plantucha/VariDex.git
cd VariDex
# Create virtual environment
python3 -m venv venv
source venv/bin/activate # Windows: venv\Scripts\activate
# Install
pip install -e .from varidex.core.classifier.engine import ACMGClassifier
from varidex.core.models import VariantData
# Initialize classifier
classifier = ACMGClassifier()
# Create variant (BRCA1 pathogenic example)
variant = VariantData(
chromosome="17",
position="43094692",
ref_allele="G",
alt_allele="A",
gene="BRCA1",
rsid="rs80357906"
)
# Classify
classification, confidence, evidence, time = classifier.classify_variant(variant)
print(f"{classification} ({confidence})")
print(f"Evidence: {evidence.summary()}")
print(f"Time: {time:.3f}s")Output:
Pathogenic (High)
Evidence: PVS1:1 | PP2:1
Time: 0.003s
from varidex.io.loaders.user import load_user_file
from varidex.pipeline.orchestrator import VariantPipeline
# Load variants
variants = load_user_file("sample.vcf")
# Run classification pipeline
pipeline = VariantPipeline()
results = pipeline.process(variants)
# Generate report
pipeline.generate_report(results, output="classification_report.csv")| Component | Implementation | Test Coverage | Status |
|---|---|---|---|
| Classification Engine | 25% (7/28 codes) | 90% | π‘ Active Development |
| ClinVar Integration | Complete | 92% | β Production Ready |
| File Loaders | Complete | 90% | β Production Ready |
| Pipeline System | Complete | 90% | β Production Ready |
| Report Generation | Complete | 88% | β Production Ready |
| Documentation | Good | 93% | π‘ Expanding to 100% |
β
Test coverage increased from 86% β 90% (150 new tests)
β
Critical bug fixes in configuration and utility modules
β
Documentation initiative launched with comprehensive tooling
β
745+ automated tests ensuring code quality
β
Zero broken tests - full test suite passing
- β Basic variant classification (7 evidence codes)
- β ClinVar data loading and integration
- β VCF and 23andMe file parsing
- β Batch variant processing
- β CSV/JSON report generation
- β Comprehensive error handling
β οΈ Only 7 of 28 ACMG codes implemented (25%)β οΈ No population database integration (gnomAD)β οΈ No splice prediction (SpliceAI)β οΈ No computational predictors (SIFT, PolyPhen)β οΈ Not clinically validated
- Installation Guide - Detailed setup instructions
- Tutorial - Step-by-step walkthrough
- Examples - Common use cases
- Configuration - Customization options
- API Reference - Complete API documentation
- ACMG Implementation Guide - Evidence code details
- Testing Guide - Running and writing tests
- Architecture Overview - System design
- Code Standards - Development guidelines
- Contributing Guide - How to contribute
- β¨ Coverage Achievement Report - How we reached 90%
- β¨ Documentation Plan - Path to 100% docs
- π Project Status - Current state and roadmap
Total Tests: 745+
Test Coverage: 90%
Pass Rate: 98.5%
Execution Time: ~45 seconds
# Run all tests
pytest tests/ -v
# With coverage report
pytest tests/ --cov=varidex --cov-report=html
# Open coverage report
open htmlcov/index.html- Unit Tests (450 tests) - Individual component testing
- Integration Tests (150 tests) - Multi-component workflows
- End-to-End Tests (70 tests) - Complete pipeline validation
- Coverage Tests (75 tests) - Edge cases and error handling
- Complete CI/CD pipeline setup
- Publish to Test PyPI
- Documentation portal (ReadTheDocs)
- PM2 evidence code (gnomAD integration)
- BP7 evidence code (SpliceAI integration)
- All 28 ACMG evidence codes
- External database integrations (gnomAD, dbNSFP)
- REST API
- Web interface
- Docker deployment
- Validation against known datasets
- Benchmark against clinical tools
- Performance optimization
- Cloud deployment
- v1.0.0 production release
We welcome contributions! VariDex is community-driven and needs your expertise.
- π§© ACMG Evidence Codes - Implement remaining 21 codes
- π Database Integration - Connect gnomAD, dbNSFP, ClinGen
- π Documentation - API docs, tutorials, examples
- π§ͺ Clinical Validation - Test against benchmark datasets
# Fork and clone
git clone https://github.com/YOUR_USERNAME/VariDex.git
cd VariDex
# Create feature branch
git checkout -b feature/amazing-feature
# Install dev dependencies
pip install -e .
pip install -r requirements-test.txt
# Make changes and test
pytest tests/ -v
# Ensure code quality
black varidex/ tests/
mypy varidex/
# Submit pull request
git push origin feature/amazing-feature- β Maintain 90%+ test coverage
- β Include docstrings (Google style)
- β Type hints required
- β Black code formatting (88 chars)
- β Files under 500 lines
See CONTRIBUTING.md for detailed guidelines.
Free for:
- β Academic and research use
- β Personal genome analysis
- β Open-source projects
- β Non-profit organizations
Requires: Source code sharing if distributed or run as a service
Required for:
- β Clinical diagnostic services
- β SaaS platforms
- β Proprietary products
- β Closed-source derivatives
Contact: plantucha@gmail.com for commercial licensing
If VariDex supports your research, please cite:
@software{varidex2026,
author = {VariDex Development Team},
title = {VariDex: ACMG 2015-Compliant Variant Classification System},
version = {6.4.0},
year = {2026},
url = {https://github.com/Plantucha/VariDex},
}And the ACMG 2015 guidelines:
@article{richards2015standards,
author = {Richards, Sue and Aziz, Nazneen and Bale, Sherri and others},
title = {Standards and guidelines for the interpretation of sequence variants},
journal = {Genetics in Medicine},
volume = {17},
number = {5},
pages = {405--424},
year = {2015},
doi = {10.1038/gim.2015.30},
pmid = {25741868}
}Q: Is VariDex validated for clinical use?
A: No. VariDex is research software and has not undergone clinical validation. Do not use for patient care.
Q: Which ACMG codes are implemented?
A: Currently 7 of 28 codes (PVS1, PM4, PP2, BA1, BS1, BP1, BP3). See implementation guide.
Q: Can I use VariDex commercially?
A: Yes, but you need a commercial license. Contact plantucha@gmail.com.
Q: How accurate is the classification?
A: Accuracy depends on data quality and available evidence codes. With only 25% ACMG coverage, results are preliminary.
Q: Where can I get help?
A: Open an issue or start a discussion.
- π Bug Reports: GitHub Issues
- π¬ Discussions: GitHub Discussions
- π§ Email: plantucha@gmail.com
- πΌ Commercial: plantucha@gmail.com
- ACMG/AMP - 2015 variant interpretation guidelines
- NCBI ClinVar - Variant clinical significance database
- gnomAD - Population allele frequency data (integration pending)
- Open-source community - Tools and libraries that make this possible
- Contributors - Everyone who has contributed code, ideas, and feedback
Version 6.4.0 β’ January 2026 β’ Alpha Release
β Star on GitHub β’ π Read the Docs β’ π€ Contribute
VariDex is research software provided "as is" without warranty.
Not for clinical or diagnostic use.