gemini icon indicating copy to clipboard operation
gemini copied to clipboard

Expose the get_json() to the gemini scripts

Open kounkou opened this issue 6 years ago • 1 comments

Hello @brentp ,

First of all, thanks a lot for the quality of Gemini, it rocks ! :+1:

I was playing with the following scripts :

autosomal_recessive
comp_hets
de_novo
x_linked_dominant
x_linked_de_novo
x_linked_recessive
autosomal_dominant

ex : $ gemini de_novo --columns "chrom,start,end" test.db

and as I got the result of the commands, I was wondering if I could just output the results to a json file. But the

--format json

command isn't supported as for gemini query. Is there any reason why the json output format isn't currently supported ? Could we expose the get_json for these scripts please ? Indeed I saw that you did solve a similar problem for #73 #748 ....

Best !

kounkou avatar Jul 17 '18 23:07 kounkou

There is no particular reason, I'd accept a pull request to address this.

brentp avatar Jul 20 '18 02:07 brentp