conda install -c conda-forge pybind11
conda install -c bioconda htslib
g++ -O3 -Wall -shared -std=c++11 -fPIC $(python3 -m pybind11 --includes) py_example.cpp -o py_example$(python3-config --extension-suffix) -I${CONDA_PREFIX}/include -L${CONDA_PREFIX}/lib -lhts
import py_example
ret = py_example.heterozygosity(vcffile, region, samples)