srp33 / Geney

Geney: a web-based tool to make your data wishes come true!
Apache License 2.0
2 stars 3 forks source link

Download a list of selected filters with the data #22

Open jdayton3 opened 6 years ago

jdayton3 commented 6 years ago

It might help with reproducibility if users could also download a JSON that shows which filters were selected when filtering and downloading from Geney.

For example, if I'm using this LINCS dataset and set several filters, outputting which filters were set would help me make my data filtering reproducible.

I'm thinking something like this:

{
  "geney_version": "75ec51eaa5247d532be7330de21c50fa2d030abc",
  "timestamp": "2018-09-19T03:09:55+00:00",
  "dataset": "LINCS_PhaseII_Level4",
  "columns": {
    "meta": [
      "base_cell_id",
      "cell_id",
      "det_plate"
    ],
    "expression": "all"
  },
  "filters": {
    "expression": {
      "PAX8": ">=0.6302",
      "ESRRA": "!=-0.7102"
    },
    "meta": {
      "cell_id": [
        "HELA",
        "HA1E",
        "A375"
      ],
      "donor_age": "<=35"
    }
  }
}

It would be icing on the cake :cake: if:

  1. You could also import the JSON into Geney and run it again.
  2. It also output some English text version of the filter object that users could just paste into their manuscripts.

"We used the Geney [citation] tool to filter and download the LINCS Phase II Level 4 dataset. We filtered for samples with expression values greater than or equal to 0.6302 in the PAX8 gene and values not equal to -0.7102 in the ESRRA gene." ... etc.

srp33 commented 6 years ago

Thanks for your comments! Didn't know you were thinking about this project, but we welcome your ideas. We have been thinking along these lines, but not in as much detail as you mentioned. We'd love to have your help on this project (after your thesis project is done)!