run_oc_req.Rd
build a runnable python program that posts a file of variants to OpenCRAVAT
'submit/submit' OpenCRAVAT endpoint url
path to file with variants in TSV format
character() vector of annotator names, must be installed in server identified by `url`
character() vector of reporter names, must be available in server identified by `url`
character(1) hg38 or hg37
character(1) arbitrary string
a reticulate python.builtin.dict with component `r` for which `r$json()` will return metadata about run; an attribute `serverurl` is added with the serverurl string, omitting the `submit/submit...`
This is an extremely fragile and cumbersome approach. It would be better to compose using a JSON constructor, and to use httr::POST. But the quoting requirements and the use of open() in the request seem hard for such an approach.
if (interactive()) run_oc_req() # then use reticulate run_py_*