Skip to content

Commit

Permalink
refreshing goref and rules README.md files
Browse files Browse the repository at this point in the history
  • Loading branch information
pgaudet authored and dougli1sqrd committed Nov 30, 2023
1 parent 998dc45 commit 7468309
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions metadata/rules/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1037,19 +1037,19 @@ For annotations that don't have a gp2term relation:


GAF2.2 files require a gene product to term (gp2term) relation in Column 4. Allowed gp2term relations:
* For `GO:0003674 "molecular function"` and subclass descendants:
* If the annotation is to the root term `"molecular function"`, then the gp2term relation should `RO:0002327 "enables"`; else, it is repaired to `RO:0002327 "enables"`.
* If the annotation is to is a subclass descendant of `"molecular function"`, then the allowed gp2term relations are `RO:0002327 "enables"` and `RO_0002326 "contributes_to"`; else, it is updated to `RO:0002327 "enables"`.
* For `GO:0003674 "molecular_function"` and subclass descendants:
* If the annotation is to the root term `"molecular_function"`, then the gp2term relation should `RO:0002327 "enables"`; else, it is repaired to `RO:0002327 "enables"`.
* If the annotation is to is a subclass descendant of `"molecular_function"`, then the allowed gp2term relations are `RO:0002327 "enables"` and `RO_0002326 "contributes_to"`; else, it is updated to `RO:0002327 "enables"`.
* For `GO:0008150 "biological process"`:
* If the annotation is to the root term `"biological process"`, then the gp2term relation should be `RO:0002331 "involved_in"`. If the gp2term relation is different, it is repaired to `RO:0002331 "involved_in"`.
* If the annotation is to is a subclass descendant of `"biological process"` then the allowed gp2term relations are `RO:0002331 "involved_in"`, `RO:0002264 "acts upstream or within"`, `RO:0004032 "acts upstream of or within, positive effect"`, `RO:0004033 "acts upstream of or within, negative effect"`, `RO:0002263 "acts upstream of"`, `RO:0004034 "acts upstream of, positive effect"`, `RO:0004035 "acts upstream of, negative effect"`; else, the relation is repaired to `RO:0002264 "acts upstream of or within"`.
* If the annotation is to the root term `"biological_process"`, then the gp2term relation should be `RO:0002331 "involved_in"`. If the gp2term relation is different, it is repaired to `RO:0002331 "involved_in"`.
* If the annotation is to is a subclass descendant of `"biological_process"` then the allowed gp2term relations are `RO:0002331 "involved_in"`, `RO:0002264 "acts_upstream_or_within"`, `RO:0004032 "acts_upstream_of_or_within_positive_effect"`, `RO:0004033 "acts upstream of or within_negative_effect"`, `RO:0002263 "acts_upstream_of"`, `RO:0004034 "acts_upstream_of_positive_effect"`, `RO:0004035 "acts upstream of, negative effect"`; else, the relation is repaired to `RO:0002264 "acts upstream of or within"`.
* For `GO:0005575 "cellular component"`
* If the annotation is to the root term `"cellular_component"`, then the gp2term relation should be `RO:0002432 "is_active_in"`; else, it is repaired to `RO:0002432 "is_active_in"`.
* If the annotation is to `"GO:0032991 "protein-containing complex"` or a subclass descendant of, then the gp2term relation should be `"BFO:0000050 "part of"`; else, it is repaired to `"BFO:0000050 "part of"`.
* If the annotation is to `GO:0110165 "cellular anatomical entity"` or to `GO:0044423 "virion component"` or a descendant of either of these terms, then the allowed gp2term relations are `RO:0001025 "located in"` and `RO:0002432 "is_active_in"`, and `RO_0002325 "colocalizes_with"`; else it is repaired to `RO:0001025 "located in"`.
* If the annotation is to `"GO:0032991 "protein-containing complex"` or a subclass descendant of, then the gp2term relation should be `"BFO:0000050 "part_of"`; else, it is repaired to `"BFO:0000050 "part of"`.
* If the annotation is to `GO:0110165 "cellular anatomical entity"` or to `GO:0044423 "virion component"` or a descendant of either of these terms, then the allowed gp2term relations are `RO:0001025 "located_in"` and `RO:0002432 "is_active_in"`, and `RO_0002325 "colocalizes_with"`; else it is repaired to `RO:0001025 "located_in"`.

* If an annotation has a negation (`NOT`), is is kept as a pipe-separated value with the gp2term relation.

* Note that RO does not have underscores in the term labels, but the userscores are used in the GP2Term relations in GAF 2.2.

<a name="gorule0000062"/>

Expand Down

0 comments on commit 7468309

Please sign in to comment.