Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from y1zhou/metacyc: MetaCyc to graph database
- Setup graph database in Neo4j with proper constraints. - Parse MetaCyc SBML file and add `Compartment`, `Compound`, `GeneProduct`, `Reaction`, and `RDF` nodes. - Parse MetaCyc `reactions.dat` file and add standard Gibbs free energy, standard reduction potential, reaction direction, reaction balance status, systematic name, comment attributes to `Reaction` nodes. Also link `Reaction` nodes to `Pathway` and `Citation` nodes. - Parse MetaCyc `pathways.dat` file and: - Add synonyms, types, comments, common names to `Pathway` nodes. - Link `Pathway` nodes to super-pathway `Pathway` and taxonomy `Taxa` nodes. - Link `Reaction` nodes within the pathway with `isPrecedingEvent` relationships. - Link `Pathway` nodes with their rate limiting steps (`Reaction` nodes). - Link `Pathway` nodes with primary reactant and product `Compound` nodes. - For `Reaction` nodes, add `isPrimary[Reactant|Product]InPathway` labels in their links to `Compound` nodes. - Parse MetaCyc `compounds.dat` file and add standard Gibbs free energy, logP, molecular weight, monoisotopic molecular weight, polar surface area, pKa {1,2,3}, comment, and synonyms to `Compound` nodes. Also add SMILES and INCHI strings to related `RDF` nodes, and links the `Compound` nodes to `Citation` nodes. - Parse MetaCyc `pubs.dat` file and add DOI, PUBMED, MEDLINE IDs, title, source, year, URL, and `REFERENT-FRAME` to `Citation` nodes. - Parse MetaCyc `classes.dat` file and: - Add common name and synonyms to `Compartment` nodes. - Add common name, strain name, comment, and synonyms to `Taxa` nodes.
- Loading branch information