UofS-Pulse-Binfo / analyzedphenotypes

Tripal/Drupal support for analyzed phenotypic data including data loaders, exporters, trait pages and summaries on germplasm pages.
GNU General Public License v2.0
0 stars 1 forks source link

Request To Review: Analyzed Phenotypes Upload #3

Closed reynoldtan closed 6 years ago

reynoldtan commented 7 years ago

Requesting to review first release of Analyzed Phenotypes Data Loader

reynoldtan commented 7 years ago

Analyzed Phenotype Data Uploader/Loader. This module will handle submission of analyzed phenotypic data. Like rawphenotypes module, this module supports drag and drop functionality and automated file validation. The validation process is broken into 4 stages namely, upload, validate, describe and save. A data viewer using bean chart is provided to show a visual summary of values.

Upload: In this stage data collector is instructed to provide an experiment/project title, a genus and a data file in tab delimited format.

Validate. In this stage, data in rows and columns are validated for empty values, type mistach and values inconsistent with what is expected.

Describe. All traits must be described by data collector. In this stage user is requested to define or describe all traits found in the data file.

Save. Finally, file, data and all will be saved into the system.

Requirements

  1. A Tripal clone/site.
  2. Drag and Drop module.
  3. Admin menu module (creates a nice drop down menu)

To Test:

  1. Create a test record for the following terms: A. A test record in chado.db (eg. test_db) - this tells the system which database new cvterms belong. B. A test vocabulary (cv) in chado.cv (eg. test_cv) - this tells the system the cv_id of new cvterms.

  2. Install the module.

  3. Update system settings. click Configure link next to the module in module list or tripal/extensions/analyzedphenotypes/Settings.

    Crop ontology tab - match a genus to a set of ontology terms suggested in crop ontology field when describing a trait in stage 3. Default crop ontology term is used when nothing matches to given a trait name.

    Database and cv tab: As described above. Other terms in this page include:

    • genus - in taxonomic_rank cv
    • related - in sysnonym_type cv
    • a term to describe the measurements were taken by eye (used as assay_id, not sure what) taxonomy - in tripal_phylogeny cv

    Plant Properties tab: Locate cvterm for the following terms:

    • Year - in tripal_pub cv
    • Location - in nd_geolocation_property
    • Replicate - in local cv
    • Data Collector - no sure
  4. Upload a file. tripal/extensions/analyzedphenotypes/Upload Analyzed Phenotypic Data

Validation Triggers In stage 1:

In stage 2:

In stage 3:

Data Summary Chart in home/phenotypes (summary page) and home/phenotypes/trait-distribution (generate trait distribution chart).

Notes

  1. Commented out trait unit, plant ontology, trait method and trait scale - have not figured out a way to store these details.
  2. Plant property cvterms are not ideal at the moment.
  3. How to relate scale to a trait - have not figured out a way to link these information.
laceysanderson commented 6 years ago

Is this still waiting for review? and is it at a point for me to do so?

laceysanderson commented 6 years ago

I've reviewed the installation & configuration process:

I'm holding off on further review until we get these items cleaned up.

laceysanderson commented 6 years ago

Also, this likely requires an update to work with the new system variables.