iobio / genepanel.iobio

Genepanel.iobio: generate list of genes based on suspected conditions and phenotypes.
https://genepanel.iobio.io/
11 stars 3 forks source link

Save gene list to Mosaic #366

Open AlistairNWard opened 3 years ago

AlistairNWard commented 3 years ago

In addition to being able to save an analysis to Mosaic, we should also be able to save gene sets back to Mosaic.

AlistairNWard commented 3 years ago

We could do a modal like this, but with better separation between sections. The summary at the bottom would change based on whether you are saving a gene set or an analysis

Asset 1

adityaekawade commented 3 years ago

In clin, an analysis object is passed as a payload when saving the analysis. I will create a similar functionality for saving analysis from genepanel. And how is the gene set saved in Mosaic? Is it a string separated by a comma or it is saved as an array?

AlistairNWard commented 3 years ago

There is a POST route for adding a gene set back to Mosaic. This requires the Mosaic project id; a name and description for the set; and an array of gene names.

https://mosaic.frameshift.io/api/#api-Genes-CreateGeneSet

adityaekawade commented 3 years ago

Thanks, I will try this.