Comments (4)
Hi @fmjabato, thanks for this. Before I look at this can you do a quick check in OBO Edit to see that there are no major errrors detected there. I'm not positive but you might have a circular synonymy in there? Again, I haven't tried to replicate.
from obo_parser.
Hi, I'm not performed this check you ask about but HPO is an ontology which I have used several times and doesn't show circular behaviour and load perfectly in homologous packages for other languages (in R and Java).
from obo_parser.
@fmjabato Those packages are not homologous in the sense that code from there became the basis for this package, which is far less sophisticated.
I loaded the file in OBO Edit as I requested of you and ran the Verification- there are many (many) minor "issues" (not important to other parsers, but possibly for this one) with the data that could conceivably be the problem. If you can narrow down the problem by editing the OBO file down cleaning up the dbxrefs in particular I might have a fighting chance to debug it (somewhat) sooner.
One way to figure out the exact problem is to bisect the file (save with half cut out, but include properties at the end), test the load, repeat.
from obo_parser.
@mjy Hey, the parser appears to be have problem with square brackets, I can reproduce the same error message with this minimal excerpt from the Gene Ontology:
format-version: 1.2
data-version: releases/2020-06-01
ontology: go
[Term]
id: GO:0000277
name: [cytochrome c]-lysine N-methyltransferase activity
namespace: molecular_function
xref: EC:2.1.1.59
xref: MetaCyc:2.1.1.59-RXN
When you take away the brackets, it parses just fine. I guess it interprets "cytochrome c" as a reference to something because of the brackets which it then can't find?
from obo_parser.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from obo_parser.