Parses the OBO format in python