Skip to content

Commit

Permalink
Update gorules_test_errors.gpad
Browse files Browse the repository at this point in the history
  • Loading branch information
pgaudet authored Jul 26, 2024
1 parent 067db9d commit e3d9d57
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions docs/gorules_test_errors.gpad
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,34 @@ UniPotKB:Q9HC96 RO:0002331 GO:0006921 PMID:PMID:14561399 ECO:0000314 2022-06-
UniPotKB:Q9HC96 RO:0002331 GO:0006921 PMID:unpublished ECO:0000314 2022-06-06 GO_Central GORULE_TEST0000027-4 Calpain-10
! FAILS GORULE:0000027 - TEST 5 - Bad reference syntax
UniPotKB:Q9HC96 RO:0002331 GO:0006921 PMID:0. ECO:0000314 2022-06-06 GO_Central GORULE_TEST:0000027-5 Calpain-10
! FAILS GORULE:0000027 - TEST 6 - Prefix is a synonyms in /db-xrefs.yaml and IS REPAIRED
WormBase:WBGene00000002 BFO:0000050 GO:1990184 WB_REF:WBPaper00006408|PMID:14668347 ECO:0000021 2013-10-22 GO_Central GORULE_TEST:0000027-6 F27C8.1
! FAILS GORULE:0000027 - TEST 7 - bad id syntax: WB needs 8 digits, has only 7
WormBase:WBGene00000002 BFO:0000050 GO:1990184 WB_REF:WBPaper00006408|PMID:14668347 ECO:0000021 2013-10-22 GO_Central GORULE_TEST:0000027-7 F27C8.1
! FAILS GORULE:0000027 - TEST 8 - caolumn 2 cardinality should be 1
WormBase:WBGene00000002|WBGene00000003 BFO:0000050 GO:1990184 WB_REF:WBPaper00006408|PMID:14668347 ECO:0000021 2013-10-22 GO_Central GORULE_TEST:0000027-8 F27C8.1
! SHOULD PASS GORULE:0000027 - TEST 9 - 2 values in with field, pipe-separated
UniProtKB:Q6UW15 RO:0002331 GO:0006401 PMID:16931762 ECO:0000316 2013-10-22 GO_Central GORULE_TEST:0000027-9 Regenerating islet-derived protein 3-gamma
! FAILS GORULE:0000027 - TEST 10 - 2 values in 'with' field, comma-separated
UniProtKB:Q6UW15 RO:0002331 GO:0006401 PMID:16931762 ECO:0000316 2013-10-22 GO_Central GORULE_TEST:0000027-10 Regenerating islet-derived protein 3-gamma
! FAILS GORULE:0000027 - TEST 11 - 2 values in 'with' field, second namespace missing
UniProtKB:Q6UW15 RO:0002331 GO:0006401 PMID:16931762 ECO:0000316 2013-10-22 GO_Central GORULE_TEST:0000027-11 Regenerating islet-derived protein 3-gamma
! FAILS GORULE:0000027 - TEST 12 - 'with' prefix not in /db-xrefs.yaml
UniProtKB:Q6UW15 RO:0002331 GO:0006401 PMID:16931762 ECO:0000316 2013-10-22 GO_Central GORULE_TEST:0000027-12 Regenerating islet-derived protein 3-gamma
! FAILS GORULE:0000027 - TEST 13 - 'with' Prefix is a synonyms in /db-xrefs.yaml and IS REPAIRED
FB:FBgn0020238 RO:0002331 GO:0006401 PMID:16931762 ECO:0000316 2013-10-22 GO_Central GORULE_TEST:0000027-13 14-3-3epsilon
! FAILS GORULE:0000027 - TEST 14 - 'bad with' id syntax - should have 7 digits, has 8
FB:FBgn0020238 RO:0002331 GO:0006401 PMID:16931762 ECO:0000316 2013-10-22 GO_Central GORULE_TEST:0000027-14 14-3-3epsilon
! SHOULD PASS GORULE:0000027 - TEST 15 - Two references in different ID spaces, space separated
FB:FBgn0024811 RO:0002331 GO:0048010 FB:FBrf0180198|PMID:15457211 ECO:0000315 2013-10-22 GO_Central GORULE_TEST:0000027-15 Crk oncogene
! FAILS GORULE:0000027 - TEST 16 - Two references in different ID spaces
FB:FBgn0024811 RO:0002331 GO:0048010 FB:FBrf0180198 PMID:15457211 ECO:0000315 2013-10-22 GO_Central GORULE_TEST:0000027-16 Crk oncogene
! FAILS GORULE:0000027 - TEST 17 - bad PMID ID syntax
FB:FBgn0024811 RO:0002331 GO:0048010 FB:FBrf0180198|PMID:1545721X ECO:0000315 2013-10-22 GO_Central GORULE_TEST:0000027-17 Crk oncogene
! SHOULD PASS GORULE:0000027 - TEST 18 - 'Assigned by' is in groups.yaml (but not in dbxref.yaml)
UniProtKB:Q6UW15 RO:0002331 GO:0006401 PMID:16931762 ECO:0000314 2013-10-22 LBL GORULE_TEST:0000027-18 Regenerating islet-derived protein 3-gamma
! FAILS GORULE:0000027 - TEST 19 - 'Assigned by' is in dbxref.yaml but not in groups.yaml
UniProtKB:Q6UW15 RO:0002331 GO:0006401 PMID:16931762 ECO:0000314 2013-10-22 PO GORULE_TEST:0000027-18 Regenerating islet-derived protein 3-gamma
! FAILS GORULE:0000028 - TEST 1 - Bad GO aspect, C instead of P
UniPotKB:Q9HC96 RO:0002331 GO:0006921 PMID:23072806 ECO:0000314 2022-06-06 GO_Central GORULE_TEST:0000028-1 Calpain-10
! FAILS GORULE:0000028 - TEST 2 - Bad GO aspect, F instead of P
Expand Down

0 comments on commit e3d9d57

Please sign in to comment.