Veppy is a genetic variant effect predictor for Python. Inspired by SnpEff and VEP.
WARNING: This code is an alpha release and not production-ready. APIs may change at any time.
$ pip install veppy$ git clone git@github.com:solvebio/veppy.git
$ cd veppy
$ python setup.py installStep 1 (OPTIONAL): Prepare a directory for veppy data
The default data path is: ./data
You can override this by setting $VEPPY_DATA_DIR.
export VEPPY_DATA_DIR=/opt/veppyStep 2: Download source data and build indexes
NOTE: This step downloads about 1gb of data. After indexing, the data directory will consume about 8gb of disk space.
./scripts/download_data_GRCh37.shStep 3: Index the source data
python ./run_index.py>>> from veppy.veppy import calculate_consequences
>>> variant = ('1', 8025384, 'A', 'T')
>>> result = calculate_consequences('GRCh37', *variant)
>>> print result.resultsTests are currently based on chr1 versions of input data. Full genome tests are coming soon!
# pip install -r requirements.txt
$ nosetestsCoverage:
$ nosetests --with-coverage --cover-package=veppySolveBio is a genomics company based in New York City.