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

Multi input support #364

Open AlistairNWard opened 3 years ago

AlistairNWard commented 3 years ago

This is based on the use case used in NeoSeq, but make sure that any development is not specific to this project. We will likely want to break this issue up into smaller, manageable components. Feel free to comment on this and we can break out into specifics.

When genepanel is launched, it should be able to accept one or multiple of the following inputs:

  1. A clinical note
  2. A list of phenotype terms
  3. A list of HPO terms (or ids)
  4. A predefined gene list

Requirements

adityaekawade commented 3 years ago

I feel the input should accept: clinical notes, phenotypes terms, and HPO (terms) ids. A predefined gene list can be added through the "Add gene list" button in the table..

AlistairNWard commented 3 years ago

But if the gene list is stored as a gene set in Mosaic, it would be pretty onerous for a user to try and get the list into genepanel when they could just define it as an input, which they can already do.

adityaekawade commented 3 years ago

Oh! So you mean, when genepanel is launched from a project in Mosaic, it should be able to get the gene set from the URL, the same way clin.iobio does and add those genes to the genes table. Yeah, that works.

I was assuming, the input box should accept the gene list when launched in standalone mode. (We can allow entering a gene list as input even in standalone mode, but I think it would be better to add it from the button in the table)

AlistairNWard commented 3 years ago

Oh sorry, I wasn't clear - but yes, what you said. Genepanel should conceptually allow all these inputs, but all inputs should not be handled in the same way. So, yes, you can't add a gene list to the input box - that is for HPO, phenotypes etc. If launched from Mosaic with a gene set defined, the genes in that set would appear as genes that had been manually added.