Want to parse OBO and do the following:
1. get nodes in each level.
2. get nodes all the nodes that exist in levels below 3 till leaf.
Where root is always a node in level 3 for all the nodes below it.
Can some one please help me to write code in Java.
I tried using GO4J but not able to figure out how to use the API's.
Please let me know if there is any other library that can help me to do the above and other OBO graph navigation.
If you are Perl fan, you can also do parsing of obo files using ONTO-PERL
1. get nodes in each level
Use this script to extract child terms for given term / ID
2. get nodes all the nodes that exist in levels below 3 till leaf. Where root is always a node in level 3 for all the nodes below it.
Not sure what you are trying to do in this step. You can do most of the .obo parsing using this module. It is one of the extensively documented Perl module that I have used. See Documentations sections and various examples.
Pradeep: This should be a comment, not an answer. Please repost this as a comment and delete this "answer".