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

Proposed updates to Molecular Function shape #137

Closed
vanaukenk opened this issue Aug 7, 2019 · 19 comments
Closed

Proposed updates to Molecular Function shape #137

vanaukenk opened this issue Aug 7, 2019 · 19 comments
Assignees

Comments

@vanaukenk
Copy link
Contributor

vanaukenk commented Aug 7, 2019

From 2019-08-07 call, here are the suggested updates to the Molecular Function shape.
@balhoff @cmungall @thomaspd @pgaudet - please review

enabled_by: ( @<ProteinContainingComplex> OR @<InformationBiomacromolecule> ) {0,1};

occurs_in: ( @<AnatomicalEntity> ) {0,1};
##QUESTION ABOUT ADDING AN OR STATEMENT HERE FOR PROTEIN-CONTAINING COMPLEX, GIVEN THE DEFINITION OF ANATOMICAL ENTITY IN CARO
https://www.ebi.ac.uk/ols/ontologies/caro/terms?iri=http%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FCARO_0000000

has_output: ( @<ChemicalEntity> OR @<ProteinContainingComplex> ) *;

has_input: ( @<ChemicalEntity> OR @<ProteinContainingComplex> ) *;

happens_during: ( @<BiologicalPhase> OR @<LifeCycleStage> OR @<PlantStructureDevelopmentStage> ) *;

causally_upstream_of_or_within: ( @<BiologicalProcess> ) *;

causally_upstream_of: ( @<BiologicalProcess> OR @<MolecularFunction> ) *;

causally_upstream_of_negative_effect: ( @<BiologicalProcess> OR @<MolecularFunction> ) *;

causally_upstream_of_positive_effect: ( @<BiologicalProcess> OR @<MolecularFunction> ) *;

Add to PREFIX:

PREFIX GoLifeCycleStage: <http://purl.obolibrary.org/obo/UBERON_0000105>

PREFIX GoPlantStructureDevelopmentStage: <http://purl.obolibrary.org/obo/PO_0009012>
##CORRECT TERM FROM PO?

@vanaukenk
Copy link
Contributor Author

##QUESTION ABOUT ADDING AN OR STATEMENT HERE FOR PROTEIN-CONTAINING COMPLEX, GIVEN THE DEFINITION OF ANATOMICAL ENTITY IN CARO
https://www.ebi.ac.uk/ols/ontologies/caro/terms?iri=http%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FCARO_0000000

Discussion with @pgaudet - we will not be annotating MF occurs_in protein-containing complex, so we will just use 'AnatomicalEntity' here.

@balhoff
Copy link
Member

balhoff commented Aug 8, 2019

I realized there are a couple of issues with just using the AnatomicalEntity shape for occurs_in:

  • in the AnatomicalEntity shape, we don't say anything about part_of relations (but we do allow a single part_of for Cell and GrossAnatomicalEntity).
  • in the CellularComponent shape, we are allowing 3 different part_of relations: to a CellularComponent, a Cell, and an Organism.

We need some cleanup here. If we will allow all these part_ofs for cellular components, then we need to keep using it in an OR. Otherwise, we can stick with AnatomicalEntity and either say any instance can have a single part_of, or change AnatomicalEntity to allow those 3 part_of possibilities.

@vanaukenk
Copy link
Contributor Author

@balhoff

Could we do something like this:

<AnatomicalEntity>@<GoCamEntity> AND EXTRA a {
a @<AnatomicalEntityClass>;
part_of: @<CellularComponent> {0,1};
part_of: @<Cell> {0,1};
part_of: @<GrossAnatomicalEntity> {0,1};
part_of: @<Organism> {0,1}
}// rdfs:comment "an anatomical entity"
 

@balhoff
Copy link
Member

balhoff commented Aug 8, 2019

@vanaukenk that would allow a very star-shaped graph for part_of. I thought we were trying to make this a linear chain. Is there any reason to not force it to just be a sequence of single part_of? I don't remember the discussion that resulted in the current schema for CellularComponent.

@vanaukenk
Copy link
Contributor Author

@balhoff

Yes, you're right. I do think we wanted to try to model linear chains, if possible.

In that case, the single 'part of' would be the way to go.

I don't think we'd quite gone through CellularComponent yet as a group, so we should review CC on the next call.

@balhoff
Copy link
Member

balhoff commented Aug 8, 2019

Oh and I forgot the third issue! We need to allow negated cellular components. Should this be generalized to negated anatomical entities?

@cmungall
Copy link
Member

cmungall commented Aug 8, 2019 via email

@balhoff
Copy link
Member

balhoff commented Aug 8, 2019

@vanaukenk:

Discussion with @pgaudet - we will not be annotating MF occurs_in protein-containing complex, so we will just use 'AnatomicalEntity' here.

I think this will be still allowable by the schema, since we are making GO cellular_component a subclass of CARO anatomical_entity, and protein-containing complex is a cellular_component. But wasn't there discussion about moving that anyway?

@vanaukenk
Copy link
Contributor Author

@balhoff
Wrt the protein-containing complex and 'Anatomical Entity', I was wondering if the definition of 'Anatomical Entity' excluded protein complexes:

"A part of a cellular organism that is either an immaterial entity or a material entity with granularity above the level of a protein complex. Or, a substance produced by a cellular organism with granularity above the level of a protein complex. [ CAROC:Brownsville2014 ]"

@ukemi
Copy link

ukemi commented Aug 8, 2019

This would impinge on the PR that @balhoff created making GO-CC a type of CARO anatomical entity.
geneontology/go-ontology#17695

@balhoff
Copy link
Member

balhoff commented Aug 8, 2019

Yes, so either we use AnatomicalEntity OR CellularComponent everywhere in the schema, or we merge the subclass axiom and we move complexes out of GO cellular_component. Is that possible?

@ukemi
Copy link

ukemi commented Aug 8, 2019

We have considered that before, but it is such a drastic change that I think we would need a lot of lead time. It would create three root nodes in GO.

@balhoff
Copy link
Member

balhoff commented Aug 8, 2019

Here is an alternative proposal: geneontology/go-ontology#17696

@goodb
Copy link
Contributor

goodb commented Aug 23, 2019

There are a number of uncontroversial changes in the above. Could these pushed live while discussion continues on the anatomical entity problem - perhaps on a separate issue ?

@pgaudet
Copy link
Contributor

pgaudet commented Aug 26, 2019

@goodb

Yes, these are the decision we had made on the call of 2019-08-07.

@goodb Can you add theese to Shex?

We have solved the issue with anatomical entity - the new term in now in the ontology geneontology/go-ontology#17696

Thanks, Pascale

@balhoff
Copy link
Member

balhoff commented Aug 26, 2019

@goodb the PR is here: #139

@goodb
Copy link
Contributor

goodb commented Aug 27, 2019

@balhoff is that PR ready for merge or do we wait for test file and ontology file changes? (I'm awaiting feedback on geneontology/minerva#239 so can work on this today.)

goodb pushed a commit that referenced this issue Aug 27, 2019
this fixes some problems in the first PR for #137
goodb added a commit that referenced this issue Aug 27, 2019
This merge contains multiple improvements to the java validation code.  It also bundles updates to the schema to address #137 and some modifications to test ttl files to put them in alignment with the new schema.  Going for merge as other projects needs this done.
@goodb
Copy link
Contributor

goodb commented Dec 12, 2019

@vanaukenk can we close this issue ?
Noting this comment on your last unmerged branch.
I adjusted slightly and committed to master when it passed the tests. (Now travis is operational BTW.)

I set the occurs_in constraint for MF to be occurs_in: ( @<AnatomicalEntity> OR @<ProteinContainingComplex> ) {0,1};

@vanaukenk
Copy link
Contributor Author

Closing this for now.
We can re-open or start a new ticket if there are related issues.

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

No branches or pull requests

7 participants