Skip to content

Commit

Permalink
Merge pull request #2393 from geneontology/pgaudet-patch-296715
Browse files Browse the repository at this point in the history
Create gorule-0000065.md
  • Loading branch information
pgaudet authored Dec 11, 2024
2 parents 38b2ae2 + 38cf403 commit c6cfc12
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
14 changes: 14 additions & 0 deletions metadata/rules/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ For more details for GOC members on how to create rules, see [SOP.md](SOP.md)
* <a href="#gorule0000062">GORULE:0000062 Infer annotations on molecular function via has_part</a>
* <a href="#gorule0000063">GORULE:0000063 Annotations using ISS/ISA/ISO evidence should refer to a gene product (in the 'with' column)</a>
* <a href="#gorule0000064">GORULE:0000064 TreeGrafter IEAs should be filtered for GO reference species</a>
* <a href="#gorule0000065">GORULE:0000065 Annotations to term that are candidates for obsoletion should be removed</a>



Expand Down Expand Up @@ -1087,3 +1088,16 @@ Noting that ISM is not covered by this rule yet.


If an annotation has GO_REF:0000118 (GAF column 6, GPAD column 5) and the taxon (GAF column 13, GPI column 7) is present in the GO reference species list (i.e 143 Panther species; [go-reference-species.yaml](https://github.com/geneontology/go-site/blob/master/metadata/go-reference-species.yaml)), then the annotation should be filter out. Note that this is not a line-by-line check in GPAD since it required both the GPAD and the GPI files.

<a name="gorule0000065"/>

## Annotations to term that are candidates for obsoletion should be removed

* id: [GORULE:0000065](https://github.com/geneontology/go-site/blob/master/metadata/rules/gorule-0000065.md)
* status: implemented


Terms scheduled for obsoletion are identified by the subset gocheck_obsoletion_candidate.
New annotations should not be made to these terms, and existing annotations should be removed or replaced.

Error report: <group>.report.md
26 changes: 26 additions & 0 deletions metadata/rules/gorule-0000065.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
layout: rule
id: GORULE:0000065
title: "Annotations to term that are candidates for obsoletion should be removed"
type: report
fail_mode: soft
status: implemented
contact: "[email protected]"
implementations:
- language: python
source: https://github.com/biolink/ontobio/blob/master/ontobio/io/qc.py
examples:
fail:
- comment: fails because GO:0007190 is in the subset gocheck_obsoletion_candidate
format: gaf
input: "UniProtKB P04049 RAF1 involved_in GO:0007190 PMID:15385642 IDA P protein taxon:9606 20171206 BHF-UCL"
pass:
- comment: Should pass
format: gaf
input: "UniProtKB A0A0H3GM48 dacA enables GO:0004016 PMID:23716572 IDA F protein taxon:393133 20160304 UniProt"

---
Terms scheduled for obsoletion are identified by the subset gocheck_obsoletion_candidate.
New annotations should not be made to these terms, and existing annotations should be removed or replaced.

Error report: <group>.report.md

0 comments on commit c6cfc12

Please sign in to comment.