diff --git a/metadata/rules/gorule-0000001.md b/metadata/rules/gorule-0000001.md index b37958ea..9e0e3d15 100644 --- a/metadata/rules/gorule-0000001.md +++ b/metadata/rules/gorule-0000001.md @@ -9,6 +9,20 @@ contact: "go-quality@mailman.stanford.edu" implementations: - language: python source: https://github.com/biolink/ontobio/blob/master/ontobio/io/gafparser.py +examples: + repair: + - comment: (UTF-8) CJK can pass through without modification (隣のトトロ) + format: gaf + input: "FB FBgn0033449 隣のトトロ GO:1902361 FB:FBrf0202953|GO_REF:0000024 ISS UniProtKB:Q05516 F protein taxon:7227 20171127 FlyBase" + output: "FB FBgn0033449 隣のトトロ GO:1902361 FB:FBrf0202953|GO_REF:0000024 ISS UniProtKB:Q05516 F protein taxon:7227 20171127 FlyBase" + - comment: (UTF-8) Accent marks can pass through without modification (Astérix_le_Gaulois) + format: gaf + input: "FB FBgn0033449 123_456 GO:1902361 FB:FBrf0202953|GO_REF:0000024 ISS UniProtKB:Q05516 F protein taxon:7227 20171127 Astérix_le_Gaulois" + output: "FB FBgn0033449 123_456 GO:1902361 FB:FBrf0202953|GO_REF:0000024 ISS UniProtKB:Q05516 F protein taxon:7227 20171127 Astérix_le_Gaulois" + - comment: (UTF-8) Greek latters can pass through without modification (αΩ) + format: gaf + input: "α FBgn0033449 123_456 GO:1902361 FB:FBrf0202953|GO_REF:0000024 ISS UniProtKB:Q05516 F protein taxon:7227 20171127 Ω" + output: "α FBgn0033449 123_456 GO:1902361 FB:FBrf0202953|GO_REF:0000024 ISS UniProtKB:Q05516 F protein taxon:7227 20171127 Ω" --- Each line of a GAF file is checked that it generally conforms to the GAF 2.1 spec and some GO specific specifications. The GAF 2.1 spec is here: http://geneontology.org/page/go-annotation-file-gaf-format-21. @@ -16,4 +30,4 @@ GO specific specifications. The GAF 2.1 spec is here: http://geneontology.org/pa Qualifier, evidence, aspect and DB object columns must be within the list of allowed values (as per the spec). -Error report (number of errors) in [db_species]-summary.txt & owltools-check.txt (details). \ No newline at end of file +Error report (number of errors) in [db_species]-summary.txt & owltools-check.txt (details).