Proof of concept hail server. Try this:
git clone https://github.com/danking/hail_serv
cd hail_serv
pip3 install .
PORT=5005 python3 -m hail_serv
Wait or it to say:
======== Running on http://0.0.0.0:5005 ========
Then in a different terminal:
# curl localhost:5005/search -d '{"intervals": [{"chrom": "1", "start": 100, "end": 102}]}'
["1/1","0/1","0/0","0/1","1/1","1/1","1/1","0/1","0/1","1/1","0/1","0/1","1/1","1/1","0/1","0/1","1/1","0/1","1/1","1/1","0/0","0/0","0/0","0/0","1/1","0/0","0/0","0/1","0/1","0/1","1/1","1/1","1/1","1/1","0/1","1/1","1/1","0/1","0/0","1/1","1/1","0/0","0/1","1/1","1/1","0/1","0/1","0/0","0/0","1/1","0/0","0/1","0/0","0/0","0/0","0/0","1/1","0/1","0/0","0/0","0/0","0/0","0/0","0/0","0/1","0/0","0/1","0/1","0/0","0/0","0/0","0/1","0/0","0/0","0/0","0/0","1/1","0/0","0/0","0/1","0/0","0/0","0/0","0/1","0/1","0/1","0/0","0/0","0/0","0/1","0/0","0/0","0/1","0/0","0/0","0/0","0/0","0/0","0/0","1/1"]
Those are all the GTs for variants 1:100 and 1:101.