AdrianBZG / InterMine-Data-Browser-Tool

InterMine Data Browser: a tool for exploring semi-homogeneous biological datasets
http://data-browser.apps.intermine.org/
Other
4 stars 38 forks source link

Filter by interaction 2 giving a gene name #44

Closed AdrianBZG closed 6 years ago

AdrianBZG commented 6 years ago

As suggested by Rachel (@rachellyne).

Example query:

<query model="genomic" view="Gene.symbol Gene.name Gene.primaryIdentifier Gene.secondaryIdentifier Gene.organism.name" sortOrder="Gene.symbol ASC" constraintLogic="A and B" > <constraint path="Gene.dataSets.name" op="=" value="BioGRID interaction data set" code="A" /> <constraint path="Gene.interactions.participant2" op="LOOKUP" value="pparg" extraValue="" code="B" /> </query>

AdrianBZG commented 6 years ago

A user might approach this in the following way:

  1. Input textbox to write a gene name
  2. Click button to add fitler
  3. The table gets filtered and the filter added on top

Optional for the user:

  1. Delete the filter
AdrianBZG commented 6 years ago

Remove BioGRID and IntAct dataset from the filter, then add a new Interactions filter (use interaction2 gene)

AdrianBZG commented 6 years ago

Type: Physical or Genetic (Maybe another filter)

AdrianBZG commented 6 years ago

@yochannah @rachellyne The Interactions filter is now fully working, check it out in http://im-browser-prototype.herokuapp.com/ 😄

Some pics:

interactionsfilter1

interactionsfilter2

AdrianBZG commented 6 years ago

Note: the participant 2 gene symbol is optional, meaning you can just use the Type and Dataset filter, or you can write a specific gene symbol, and at the same time the other 2 filters can be "All" (meaning no filtering at all). And all the possible combinations.