Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clarify weight of vine traits #76

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

bellerbrock
Copy link
Contributor

@bellerbrock bellerbrock commented Oct 18, 2018

Description

closes #64

Checklist

  • An OBO file generated from an OWL file
  • New terms
    • The relevant issue has been closed.
    • Further work is required.
  • Term updates
    • The relevant issue has been closed.
    • Further work is required.
  • CHECKS
    • New variables have a parent trait ID
      • New variables have methods and scales
    • The OBO file has been validated
      • checked in sweetpotatobase
      • checked CropOntology

Copy link
Collaborator

@nmenda nmenda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suppose this checks when updating the ontology on sweetpotatobase. Did you use Protege to update?

@bellerbrock
Copy link
Contributor Author

No, in this case I just did the edits in Atom as I wasn't adding new traits. But it does load and save fine in Protege after the edits.

Copy link
Member

@cooperl09 cooperl09 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Bryan, It's not clear from your comments here what exactly you did. It looks like you modified the name of two sweetpotato vine weight traits (CO_331:0000248 and CO_331:0000252), but then removed (obsoleted?) them and modified the variable terms, with new terms for the methods and scales?
It also looks like thee is some confusion on the "Namespace" field as some of the variables are labeled "namespace: SweetpotatoTrait" .
Also, the term mass and weight are used interchangeably which is also a bit confusing. If its measured using a scale, it is more appropriate to use weight.

@bellerbrock
Copy link
Contributor Author

bellerbrock commented Oct 19, 2018

Thank you Laurel. I think I managed to confuse everyone including myself with this edit. It's a lot tricker since I don't have firsthand knowledge of how these are used. Here's a hopefully more clear explanation of the changes I made, courtesy of Jolien. But now I'm thinking this edit is not a good approach and it'd be better to just improve the definitons of the existing terms.

OLD

CO_331:1000007 quality traits

  • CO_331:0000252 Dry weight of vines
    • CO_331:0000255 Dry weight of vines measuring g of sample
      • CO_331:0000908 measurements of dry vine mass
      • CO_331:0000905 g
  • CO_331:0000248 Fresh weight of vines
    • CO_331:0000251 Fresh weight of vines measuring g of sample
      • CO_331:0000907 measurements of fresh vine mass
      • CO_331:0000905 g

CO_331:1000008 agronomic traits

  • CO_331:0000224 weight of vines
    • CO_331:0000227 Weight of vines measuring kg per plot
      • CO_331:0000894 measurements of vine mass
      • CO_331:0000893 kg/plot
  1. NEW

CO_331:1000008 agronomic traits

  • CO_331:0000224 weight of vines
    • CO_331:0000227 Weight of vines measuring fresh weight kg per plot
      • CO_331:0000907 measurement of fresh vine mass
      • CO_331:0000893 kg/plot
    • CO_331:0000251 Weight of vines measuring fresh weight g of sample
      • CO_331:0000907 measurement of fresh vine mass
      • CO_331:0000905 g
    • CO_331:0000255 Weight of vines measuring dry weight g of sample
      • CO_331:0000908 measurement of dry vine mass
      • CO_331:0000905 g

With regard to the namespace, that's a consequence of the way Sweetpotatobase uses the ontology - it loads only the traits and variables, and to do so they have to be in a single namespace. Thats currently the pattern in the whole file. But perhaps the master version of the ontology should maintain them in separate namespaces.

And true, I didn't change the conflicting references to vine mass and vine weight. Hopefully Jolien can correct me if I'm wrong but I assume all these measurements are made using scales, so we could change all terms to refer to weight.

@jswancka
Copy link

jswancka commented Oct 19, 2018

Hi Bryan and others, nice to see my interpretation was correct. My advice would be to keep the field trait (kg/plot) as part of the agronomic traits and the lab traits (g) as part of the quality traits. But you can still keep the structure more or less:

CO_331:1000008 agronomic traits

  • CO_331:0000224 weight of vines
    - CO_331:0000227 Weight of vines measuring fresh weight kg per plot
    - CO_331:0000907 measurement of fresh vine mass
    - CO_331:0000893 kg/plot
    CO_331:1000007 quality traits
  • CO_331:0000224 weight of vines
    • CO_331:0000251 Weight of vines measuring fresh weight g of sample
    • CO_331:0000907 measurement of fresh vine mass
      - CO_331:0000905 g
      - CO_331:0000255 Weight of vines measuring dry weight g of sample
      - CO_331:0000908 measurement of dry vine mass
      - CO_331:0000905 g

This structure will also be helpful when applying to the root weight.
I also agree to use weight throughout.
Would there be a way in sweetpotatobase to use the scale and method relationships? Because that is the main idea behind the ontology.

@bellerbrock
Copy link
Contributor Author

Thanks Jolien, good to know. I'll update the branch accordingly

The main reason the database does not load methods and scales is that they're not strictly necessary for storing measurements (the variable should contain all the required info), and there have been problems with duplication in those namespaces. For example multiple terms named '9pt scale' or 'kg/plot'. But the duplication issues have already been fixed for the most part in the sweetpotato ontology, so yes we could try to fix the last few cases and load them.

@bellerbrock bellerbrock reopened this Oct 22, 2018
@nmenda
Copy link
Collaborator

nmenda commented Oct 22, 2018

@bellerbrock aside from the problem with the name duplications, we also have an issue with methods and scales having a different namespace. we currently cannot display on the ontology browser cross-namespace relationships.
Ideally (for us) the scales and methods would live in a different ontology and then people would post-compose the way we do now in sweetpotatobase with the trait, time, and unit ontologies.
The introduction of 'variable' terms was a compromise between our 'bases' and Crop Ontology to have pre-composed traits which already contain the method and scale, while still letting other users post-compose using a trait, method, and scale.
So now 'normalizing' the methods and scales would be a duplication of what we already did with the variables.
We can certainly work on making the method and scale names unique and improving their definitions, but I'm not sure how we would incorporate them in the database. Perhaps in a separate ontology after all, or load them in their own namespace as we do with the 3 components of GO.

@bellerbrock
Copy link
Contributor Author

Good points Naama. I hadn't thought about the limitations on cross-namespace relationships.

I agree that the ideal solution would be separate ontologies. It won't be part of this branch but I'd like to come up with a test of that solution at some point to see how well it works

@bellerbrock
Copy link
Contributor Author

Ok here's the updated set of changes for the vine terms. Same adjustments have also been applied to the root weight terms. Somebody please review and merge!

OLD

CO_331:1000007 quality traits

  • CO_331:0000252 Dry weight of vines
    • CO_331:0000255 Dry weight of vines measuring g of sample
      • CO_331:0000908 measurements of dry vine mass
      • CO_331:0000905 g
  • CO_331:0000248 Fresh weight of vines
    • CO_331:0000251 Fresh weight of vines measuring g of sample
      • CO_331:0000907 measurements of fresh vine mass
      • CO_331:0000905 g

CO_331:1000008 agronomic traits

  • CO_331:0000224 weight of vines
    • CO_331:0000227 Weight of vines measuring kg per plot
      • CO_331:0000894 measurements of vine mass
      • CO_331:0000893 kg/plot
  1. NEW

CO_331:1000007 quality traits

  • CO_331:0000252 weight of vine sample
    • CO_331:0000255 Weight of vine sample measuring g of dry sample
      • CO_331:0000908 measurement of vine sample dry weight
      • CO_331:0000905 g
    • CO_331:0000251 Weight of vine sample measuring g of fresh sample
      • CO_331:0000907 measurement of vine sample fresh weight
      • CO_331:0000905 g

CO_331:1000008 agronomic traits

  • CO_331:0000224 weight of vines
    • CO_331:0000227 Weight of fresh vines measuring kg per plot
      • CO_331:0000894 measurement of fresh vine weight
      • CO_331:0000893 kg/plot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

There are three traits for "weight of vines" trait:
4 participants