Skip to content

Instantly share code, notes, and snippets.

@Krithika-Bhuvan
Last active February 5, 2020 17:52
Show Gist options
  • Save Krithika-Bhuvan/55c41870a66da5f89c52818626ed78f5 to your computer and use it in GitHub Desktop.
Save Krithika-Bhuvan/55c41870a66da5f89c52818626ed78f5 to your computer and use it in GitHub Desktop.
Trying out RWikiPathways
---
title: "Extract Nodes and Edges from Wiki Pathways"
output: html_document
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
if (!requireNamespace("BiocManager", quietly = TRUE))
install.packages("BiocManager")
BiocManager::install("rWikiPathways")
library(rWikiPathways)
```
# R Markdown - Extract Nodes and Edges from Wikipathways
## Using XML2 package - Example XML file
```{r}
library(xml2)
# Example simple XML file
x <- xml2::read_xml("<foo>
<bar>text <baz id = 'a' /></bar>
<bar>2</bar>
<baz id = 'b' />
</foo>")
xml_children(x)
baz <- xml_find_all(x, ".//baz") #works well
bar <- xml_find_all(x, ".//bar") #works well
```
## Using XML2 package - Read from GPML / wikipathways
```{r}
library(xml2)
gpml <- rWikiPathways::getPathway('WP1589')
x2 <- xml2::read_xml(gpml)
xml_children(x2) #lists all child nodes
x3 <- xml_children(x2) #69 chlid nodes - correct
#Find all DataNode tags
dataNode <- xml2::xml_find_all(x2, ".//DataNode") #not working
dataNode <- xml2::xml_find_all(x3, ".//DataNode") #not working
```
## Trying using XML package
```{r}
library(XML)
gpml <- rWikiPathways::getPathway('WP1589')
xml_data <- xmlToList(gpml) #list of 70
## extract list of of all DataNodes
namesXML <- (names(xml_data)=="DataNode")
xmlDataNode <- xml_data[namesXML] # 26 DataNodes
### Need to extract "DataNode" tags and collate into a dataframe,
#so that the nodes can be obtained
## Try 1 - unlist this into a data frame --- not correct
xmlDataNode2 <- data.frame(matrix(unlist(xmlDataNode),
ncol=15,
byrow=T))
## Try 2 - Using Biobase to extract sublist
BiocManager::install("Biobase")
library(Biobase)
newGraphics <- Biobase::subListExtract(xmlDataNode, "Graphics",
simplify = FALSE,
keep.names = TRUE)
newXREf <- Biobase::subListExtract(xmlDataNode, "Xref",
simplify = FALSE,
keep.names = TRUE)
newAttrs <- Biobase::subListExtract(xmlDataNode, ".attrs",
simplify = FALSE, keep.names = TRUE)
#apply Lapply to collate them --- not correct
newGraphics2 <- data.frame(lapply(newGraphics, "length<-",
max(lengths(newGraphics)))) #not correct
## Try 3 --- not correct
newGraphics2 <- sapply(newGraphics, '[', seq(max(sapply(newGraphics, length))))
```
# Try 4
```{r}
gpml <- rWikiPathways::getPathway('WP1589')
g1 <- XML::xmlParse(gpml)
# Exract the root node form the xml file.
rootnode <- xmlRoot(g1)
print(rootnode)
# Find number of nodes in the root.
rootsize <- xmlSize(rootnode)
dataNode <- rootnode[2]
xmldataframe <- xmlToDataFrame(gpml) #does not work
```
<?xml version="1.0" encoding="UTF-8"?>
<Pathway xmlns="http://pathvisio.org/GPML/2013a" Name="Folate-Alcohol and Cancer Pathway Hypotheses" Organism="Homo sapiens" License="CC BY 2.0">
<Comment Source="WikiPathways-description">As described in Hwang, et al., "The interaction of folate and alcohol consumption has been shown to have an antagonistic effect on the risk of oral cancer. Studies have demonstrated that increased intake of folate decreases the risk of oral cancer, while greater alcohol consumption has an opposite effect." This pathway is a hypothetical model for a causal role for P450 2E1 (CYP2E1) and aldehyde dehydrogenase 1 (ALDH1) in oral cancers, implicating folate (via SAM) and alcohol.</Comment>
<Comment Source="WikiPathways-category">Cellular Process</Comment>
<BiopaxRef>b5e</BiopaxRef>
<Graphics BoardWidth="820.1596638655462" BoardHeight="581.470588235294" />
<DataNode TextLabel="Nucleotide Synthesis" GraphId="a9be0" Type="Pathway">
<Graphics CenterX="177.88655462184897" CenterY="119.98319327731093" Width="137.68907563025218" Height="20.0" ZOrder="32768" FontWeight="Bold" FontSize="12" Valign="Middle" ShapeType="None" Color="14961e" />
<Xref Database="WikiPathways" ID="WP404" />
</DataNode>
<DataNode TextLabel="ALDH1A1" GraphId="ad1b0" Type="GeneProduct">
<Graphics CenterX="674.04063397511" CenterY="352.13571842239054" Width="62.0" Height="20.0" ZOrder="32768" FontSize="10" Valign="Middle" />
<Xref Database="Entrez Gene" ID="216" />
</DataNode>
<DataNode TextLabel="THF" GraphId="af2aa" Type="Metabolite">
<Graphics CenterX="303.7605042016813" CenterY="182.16806722689083" Width="35.0" Height="20.0" ZOrder="32768" FontSize="10" Valign="Middle" Color="0033ff" />
<Xref Database="ChEBI" ID="CHEBI:20506" />
</DataNode>
<DataNode TextLabel="MTR" GraphId="b06ca" Type="GeneProduct">
<Graphics CenterX="409.3109243697479" CenterY="208.8487394957983" Width="48.0" Height="25.0" ZOrder="32768" FontSize="12" Valign="Middle" />
<Xref Database="Ensembl" ID="ENSG00000116984" />
</DataNode>
<DataNode TextLabel="Cystathionine" GraphId="b149e" Type="Metabolite">
<Graphics CenterX="598.3697478991596" CenterY="136.1680672268907" Width="80.0" Height="20.0" ZOrder="32768" FontSize="10" Valign="Middle" Color="0000ff" />
<Xref Database="HMDB" ID="HMDB0000099" />
</DataNode>
<DataNode TextLabel="Methionine" GraphId="b9d15" Type="Metabolite">
<Graphics CenterX="515.3697478991598" CenterY="231.16806722689105" Width="80.0" Height="20.0" ZOrder="32768" FontSize="10" Valign="Middle" Color="0000ff" />
<Xref Database="HMDB" ID="HMDB0000696" />
</DataNode>
<DataNode TextLabel="SAM" GraphId="ba0c7" Type="Metabolite">
<Graphics CenterX="538.8697478991598" CenterY="277.16806722689114" Width="35.0" Height="20.0" ZOrder="32768" FontSize="10" Valign="Middle" Color="0033ff" />
<Xref Database="Chemspider" ID="8041295" />
</DataNode>
<DataNode TextLabel="ALDH1A1" GraphId="bc141" Type="GeneProduct">
<Graphics CenterX="198.1598545044154" CenterY="466.1769586237407" Width="63.0" Height="20.0" ZOrder="32768" FontSize="10" Valign="Middle" />
<Xref Database="Entrez Gene" ID="216" />
</DataNode>
<DataNode TextLabel="C/EBPB" GraphId="bfd2b" Type="GeneProduct">
<Graphics CenterX="232.15985450441494" CenterY="408.1769586237407" Width="59.0" Height="20.0" ZOrder="32768" FontSize="10" Valign="Middle" />
<Xref Database="Entrez Gene" ID="1051" />
</DataNode>
<DataNode TextLabel="Acetaldehyde" GraphId="c5fba" Type="Metabolite">
<Graphics CenterX="612.0406339751103" CenterY="381.13571842239054" Width="80.0" Height="20.0" ZOrder="32768" FontSize="10" Valign="Middle" Color="0000ff" />
<Xref Database="HMDB" ID="HMDB0000990" />
</DataNode>
<DataNode TextLabel="Acetate" GraphId="c683c" Type="Metabolite">
<Graphics CenterX="736.5406339751105" CenterY="381.13571842239054" Width="55.0" Height="20.0" ZOrder="32768" FontSize="10" Valign="Middle" Color="0000ff" />
<Xref Database="ChEBI" ID="CHEBI:30089" />
</DataNode>
<DataNode TextLabel="CYP2E1" GraphId="d0d43" Type="GeneProduct">
<Graphics CenterX="332.15985450441553" CenterY="382.80672268907654" Width="53.0" Height="20.0" ZOrder="32768" FontSize="10" Valign="Middle" />
<Xref Database="Entrez Gene" ID="1571" />
</DataNode>
<DataNode TextLabel="SAH" GraphId="d3887" Type="Metabolite">
<Graphics CenterX="615.2447478991596" CenterY="222.91806722689105" Width="36.25" Height="20.0" ZOrder="32768" FontSize="10" Valign="Middle" Color="0033ff" />
<Xref Database="ChEBI" ID="CHEBI:16680" />
</DataNode>
<DataNode TextLabel="Homocysteine" GraphId="d3cdc" Type="Metabolite">
<Graphics CenterX="527.3697478991598" CenterY="178.16806722689094" Width="80.0" Height="20.0" ZOrder="32768" FontSize="10" Valign="Middle" Color="0000ff" />
<Xref Database="HMDB" ID="HMDB0000742" />
</DataNode>
<DataNode TextLabel="Folate" GraphId="da9e1" Type="Metabolite">
<Graphics CenterX="42.86554621848739" CenterY="297.5714285714288" Width="44.0" Height="20.0" ZOrder="32768" FontSize="10" Valign="Middle" Color="0000ff" />
<Xref Database="ChEBI" ID="CHEBI:62501" />
</DataNode>
<DataNode TextLabel="ADH5" GraphId="df139" Type="GeneProduct">
<Graphics CenterX="530.0406339751084" CenterY="410.13571842239054" Width="46.0" Height="20.0" ZOrder="32768" FontSize="10" Valign="Middle" />
<Xref Database="Ensembl" ID="ENSG00000197894" />
</DataNode>
<DataNode TextLabel="CREB1" GraphId="e07a6" Type="GeneProduct">
<Graphics CenterX="231.78485450441494" CenterY="365.9269586237407" Width="45.75" Height="20.0" ZOrder="32768" FontSize="10" Valign="Middle" />
<Xref Database="Entrez Gene" ID="1385" />
</DataNode>
<DataNode TextLabel="CYP2E1" GraphId="e3213" Type="GeneProduct">
<Graphics CenterX="530.5406339751084" CenterY="351.13571842239054" Width="53.0" Height="20.0" ZOrder="32768" FontSize="10" Valign="Middle" />
<Xref Database="Entrez Gene" ID="1571" />
</DataNode>
<DataNode TextLabel="ALDH1L1" GraphId="e7315" Type="GeneProduct">
<Graphics CenterX="271.6598545044154" CenterY="465.1769586237407" Width="62.0" Height="20.0" ZOrder="32768" FontSize="10" Valign="Middle" />
<Xref Database="Entrez Gene" ID="10840" />
</DataNode>
<DataNode TextLabel="MTHFR" GraphId="f0200" Type="GeneProduct">
<Graphics CenterX="150.7100840336133" CenterY="225.86554621848765" Width="51.0" Height="20.0" ZOrder="32768" FontSize="10" Valign="Middle" />
<Xref Database="Entrez Gene" ID="4524" />
</DataNode>
<DataNode TextLabel="5,10-Methylene-THF" GraphId="f24f5" Type="Metabolite">
<Graphics CenterX="177.15966386554612" CenterY="181.1176470588236" Width="114.0" Height="20.0" ZOrder="32768" FontSize="10" Valign="Middle" Color="0000ff" />
<Xref Database="HMDB" ID="HMDB0001533" />
</DataNode>
<DataNode TextLabel="Ethanol" GraphId="f6e34" Type="Metabolite">
<Graphics CenterX="455.26204958309296" CenterY="380.2282774060566" Width="52.0" Height="20.0" ZOrder="32768" FontSize="10" Valign="Middle" Color="0000ff" />
<Xref Database="HMDB" ID="HMDB0000108" />
</DataNode>
<DataNode TextLabel="5-Methyl THF" GraphId="f9879" Type="Metabolite">
<Graphics CenterX="284.0168067226891" CenterY="237.0672268907566" Width="74.0" Height="20.0" ZOrder="32768" FontSize="10" Valign="Middle" Color="0000ff" />
<Xref Database="ChEBI" ID="CHEBI:15641" />
</DataNode>
<DataNode TextLabel="ALDH1L1" GraphId="fa615" Type="GeneProduct">
<Graphics CenterX="258.65966386554555" CenterY="146.11764705882348" Width="59.0" Height="20.0" ZOrder="32768" FontSize="10" Valign="Middle" />
<Xref Database="Entrez Gene" ID="10840" />
</DataNode>
<DataNode TextLabel="Cysteine" GraphId="fcd83" Type="Metabolite">
<Graphics CenterX="714.7771889154938" CenterY="136.33503637389614" Width="59.0" Height="20.0" ZOrder="32768" FontSize="10" Valign="Middle" Color="0000ff" />
<Xref Database="HMDB" ID="HMDB0000574" />
</DataNode>
<DataNode TextLabel="CBS" GraphId="fd150" Type="GeneProduct">
<Graphics CenterX="512.3697478991598" CenterY="125.16806722689071" Width="42.0" Height="20.0" ZOrder="32768" FontSize="10" Valign="Middle" />
<Xref Database="Entrez Gene" ID="875" />
</DataNode>
<Interaction GraphId="id1d27bcec">
<Graphics ZOrder="12288" LineThickness="1.0">
<Point X="530.0406339751084" Y="400.13571842239054" GraphRef="df139" RelX="0.0" RelY="-1.0" />
<Point X="528.8984024554125" Y="380.70445998539964" GraphRef="bf654" RelX="0.0" RelY="0.0" ArrowHead="mim-catalysis" />
</Graphics>
<Xref Database="" ID="" />
</Interaction>
<Interaction GraphId="id229f4726">
<Graphics ZOrder="12288" LineThickness="1.0">
<Point X="606.1822478991596" Y="212.91806722689105" GraphRef="d3887" RelX="-0.5" RelY="-1.0" ArrowHead="mim-conversion" />
<Point X="567.3697478991598" Y="178.16806722689094" GraphRef="d3cdc" RelX="1.0" RelY="0.0" ArrowHead="Arrow" />
</Graphics>
<Xref Database="" ID="" />
</Interaction>
<Interaction GraphId="id23dcf84e">
<Graphics ZOrder="12288" LineThickness="1.0">
<Point X="638.3697478991596" Y="136.1680672268907" GraphRef="b149e" RelX="1.0" RelY="0.0" ArrowHead="mim-conversion" />
<Point X="685.2771889154938" Y="136.33503637389614" GraphRef="fcd83" RelX="-1.0" RelY="0.0" ArrowHead="Arrow" />
</Graphics>
<Xref Database="" ID="" />
</Interaction>
<Interaction GraphId="id26fd6b8c">
<Graphics ZOrder="12288" LineThickness="1.0">
<Point X="530.5406339751084" Y="361.13571842239054" GraphRef="e3213" RelX="0.0" RelY="1.0" />
<Point X="528.8984024554125" Y="380.70445998539964" GraphRef="bf654" RelX="0.0" RelY="0.0" ArrowHead="mim-catalysis" />
</Graphics>
<Xref Database="" ID="" />
</Interaction>
<Interaction GraphId="id2dd28425">
<Graphics ZOrder="12288" LineThickness="1.0">
<Point X="176.2100840336133" Y="225.86554621848765" GraphRef="f0200" RelX="1.0" RelY="0.0" />
<Point X="205.10252100840333" Y="209.49747899159678" GraphRef="a177f" RelX="0.0" RelY="0.0" ArrowHead="mim-catalysis" />
</Graphics>
<Xref Database="" ID="" />
</Interaction>
<Interaction GraphId="id35b1fde3">
<Graphics ZOrder="12288" LineThickness="1.0">
<Point X="652.0406339751103" Y="381.13571842239054" GraphRef="c5fba" RelX="1.0" RelY="0.0" ArrowHead="mim-conversion" />
<Point X="709.0406339751105" Y="381.13571842239054" GraphRef="c683c" RelX="-1.0" RelY="0.0" ArrowHead="Arrow" />
<Anchor Position="0.4" Shape="None" GraphId="ab5ca" />
</Graphics>
<Xref Database="" ID="" />
</Interaction>
<Interaction GraphId="id4053a373">
<Graphics ZOrder="12288" LineThickness="1.0">
<Point X="574.8697478991596" Y="275.16806722689114" GraphRef="a5f91" RelX="-1.0" RelY="0.0" />
<Point X="550.6005295284307" Y="274.84148666102936" GraphRef="a36b2" RelX="0.0" RelY="0.0" ArrowHead="Arrow" />
</Graphics>
<Xref Database="" ID="" />
</Interaction>
<Interaction GraphId="id42d9a35f">
<Graphics ZOrder="12288" LineStyle="Broken" LineThickness="1.0">
<Point X="64.8655462184874" Y="297.5714285714288" GraphRef="da9e1" RelX="1.0" RelY="0.0" />
<Point X="220.34735450441494" Y="355.9269586237407" GraphRef="e07a6" RelX="-0.5" RelY="-1.0" ArrowHead="Arrow" />
</Graphics>
<Xref Database="" ID="" />
</Interaction>
<Interaction GraphId="id4450a7ec">
<Graphics ZOrder="12288" LineThickness="1.0">
<Point X="258.65966386554555" Y="156.11764705882348" GraphRef="fa615" RelX="0.0" RelY="1.0" />
<Point X="258.9491561330416" Y="181.61743520937793" GraphRef="ebcc2" RelX="0.0" RelY="0.0" ArrowHead="mim-catalysis" />
</Graphics>
<Xref Database="" ID="" />
</Interaction>
<Interaction GraphId="id4462416a">
<Graphics ZOrder="12288" LineThickness="1.0">
<Point X="674.04063397511" Y="362.13571842239054" GraphRef="ad1b0" RelX="0.0" RelY="1.0" />
<Point X="674.8406339751103" Y="381.13571842239054" GraphRef="ab5ca" RelX="0.0" RelY="0.0" ArrowHead="mim-catalysis" />
</Graphics>
<Xref Database="" ID="" />
</Interaction>
<Interaction GraphId="id509aebaa">
<Graphics ConnectorType="Curved" ZOrder="12288" LineThickness="1.0">
<Point X="487.36974789915985" Y="178.16806722689094" GraphRef="d3cdc" RelX="-1.0" RelY="0.0" ArrowHead="mim-conversion" />
<Point X="454.1596638655463" Y="204.668067226891" />
<Point X="475.36974789915985" Y="231.16806722689105" GraphRef="b9d15" RelX="-1.0" RelY="0.0" ArrowHead="Arrow" />
<Anchor Position="0.6103164243999473" Shape="None" GraphId="eb61e" />
</Graphics>
<Xref Database="" ID="" />
</Interaction>
<Interaction GraphId="id5580266d">
<Graphics ZOrder="12288" LineThickness="1.0">
<Point X="495.36974789915985" Y="241.16806722689105" GraphRef="b9d15" RelX="-0.5" RelY="1.0" ArrowHead="mim-conversion" />
<Point X="530.1197478991598" Y="267.16806722689114" GraphRef="ba0c7" RelX="-0.5" RelY="-1.0" ArrowHead="Arrow" />
</Graphics>
<Xref Database="" ID="" />
</Interaction>
<Interaction GraphId="id58af674b">
<Graphics ZOrder="12288" LineThickness="1.0">
<Point X="64.8655462184874" Y="297.5714285714288" GraphRef="da9e1" RelX="1.0" RelY="0.0" />
<Point X="247.01680672268913" Y="237.0672268907566" GraphRef="f9879" RelX="-1.0" RelY="0.0" ArrowHead="Arrow" />
</Graphics>
<Xref Database="" ID="" />
</Interaction>
<Interaction GraphId="id5bf7ecf2">
<Graphics ZOrder="12288" LineThickness="1.0">
<Point X="527.3697478991598" Y="168.16806722689094" GraphRef="d3cdc" RelX="0.0" RelY="-1.0" ArrowHead="mim-conversion" />
<Point X="558.3697478991596" Y="136.1680672268907" GraphRef="b149e" RelX="-1.0" RelY="0.0" ArrowHead="Arrow" />
<Anchor Position="0.4" Shape="None" GraphId="ac557" />
</Graphics>
<Xref Database="" ID="" />
</Interaction>
<Interaction GraphId="id702c7a00">
<Graphics ZOrder="12288" LineThickness="1.0">
<Point X="481.26204958309296" Y="380.2282774060566" GraphRef="f6e34" RelX="1.0" RelY="0.0" ArrowHead="mim-conversion" />
<Point X="572.0406339751103" Y="381.13571842239054" GraphRef="c5fba" RelX="-1.0" RelY="0.0" ArrowHead="Arrow" />
<Anchor Position="0.5247532024360186" Shape="None" GraphId="bf654" />
</Graphics>
<Xref Database="" ID="" />
</Interaction>
<Interaction GraphId="id77bad960">
<Graphics ConnectorType="Curved" ZOrder="12288" LineThickness="1.0">
<Point X="594.3697478991596" Y="250.16806722689103" GraphRef="c3913" RelX="-1.0" RelY="0.0" />
<Point X="550.3697478991596" Y="272.6680672268911" />
<Point X="597.3697478991596" Y="295.16806722689114" GraphRef="b291a" RelX="-1.0" RelY="0.0" />
<Anchor Position="0.507508532423208" Shape="None" GraphId="a36b2" />
</Graphics>
<Xref Database="" ID="" />
</Interaction>
<Interaction GraphId="id79645374">
<Graphics ZOrder="12288" LineThickness="1.0">
<Point X="246.90985450441497" Y="418.1769586237407" GraphRef="bfd2b" RelX="0.5" RelY="1.0" />
<Point X="271.6598545044154" Y="455.1769586237407" GraphRef="e7315" RelX="0.0" RelY="-1.0" ArrowHead="Arrow" />
</Graphics>
<Xref Database="" ID="" />
</Interaction>
<Interaction GraphId="id7d5f2e66">
<Graphics ZOrder="12288" LineThickness="1.0">
<Point X="231.78485450441494" Y="375.9269586237407" GraphRef="e07a6" RelX="0.0" RelY="1.0" />
<Point X="232.15985450441497" Y="398.1769586237407" GraphRef="bfd2b" RelX="0.0" RelY="-1.0" ArrowHead="Arrow" />
</Graphics>
<Xref Database="" ID="" />
</Interaction>
<Interaction GraphId="id81a9fef">
<Graphics ZOrder="12288" LineThickness="1.0">
<Point X="217.40985450441497" Y="418.1769586237407" GraphRef="bfd2b" RelX="-0.5" RelY="1.0" />
<Point X="198.1598545044154" Y="456.1769586237407" GraphRef="bc141" RelX="0.0" RelY="-1.0" ArrowHead="Arrow" />
</Graphics>
<Xref Database="" ID="" />
</Interaction>
<Interaction GraphId="id88e0cc2d">
<Graphics ZOrder="12288" LineThickness="1.0">
<Point X="530.1197478991598" Y="287.16806722689114" GraphRef="ba0c7" RelX="-0.5" RelY="1.0" />
<Point X="530.5406339751084" Y="341.13571842239054" GraphRef="e3213" RelX="0.0" RelY="-1.0" ArrowHead="TBar" />
</Graphics>
<Xref Database="" ID="" />
</Interaction>
<Interaction GraphId="id9c4dab53">
<Graphics ZOrder="12288" LineThickness="1.0">
<Point X="286.2605042016813" Y="182.16806722689083" GraphRef="af2aa" RelX="-1.0" RelY="0.0" ArrowHead="mim-conversion" />
<Point X="234.15966386554612" Y="181.1176470588236" GraphRef="f24f5" RelX="1.0" RelY="0.0" ArrowHead="mim-conversion" />
<Anchor Position="0.524201680672271" Shape="None" GraphId="ebcc2" />
</Graphics>
<Xref Database="" ID="" />
</Interaction>
<Interaction GraphId="id9f3c43ca">
<Graphics ZOrder="12288" LineThickness="1.0">
<Point X="385.3109243697479" Y="208.8487394957983" GraphRef="b06ca" RelX="-1.0" RelY="0.0" />
<Point X="364.4023216136405" Y="210.77860714127897" GraphRef="eac8e" RelX="0.0" RelY="0.0" ArrowHead="mim-catalysis" />
</Graphics>
<Xref Database="" ID="" />
</Interaction>
<Interaction GraphId="idb208ae0d">
<Graphics ConnectorType="Curved" ZOrder="12288" LineThickness="1.0">
<Point X="321.2605042016813" Y="182.16806722689083" GraphRef="af2aa" RelX="1.0" RelY="0.0" ArrowHead="mim-conversion" />
<Point X="364.4957983193277" Y="209.6176470588237" />
<Point X="321.0168067226891" Y="237.0672268907566" GraphRef="f9879" RelX="1.0" RelY="0.0" ArrowHead="mim-conversion" />
<Anchor Position="0.5093028828761176" Shape="None" GraphId="eac8e" />
</Graphics>
<Xref Database="" ID="" />
</Interaction>
<Interaction GraphId="idb5b5b488">
<Graphics ZOrder="12288" LineThickness="1.0">
<Point X="512.3697478991598" Y="135.1680672268907" GraphRef="fd150" RelX="0.0" RelY="1.0" />
<Point X="539.7697478991597" Y="155.36806722689084" GraphRef="ac557" RelX="0.0" RelY="0.0" ArrowHead="mim-catalysis" />
</Graphics>
<Xref Database="" ID="" />
</Interaction>
<Interaction GraphId="idccd5c0a8">
<Graphics ZOrder="12288" LineThickness="1.0">
<Point X="177.15966386554612" Y="171.1176470588236" GraphRef="f24f5" RelX="0.0" RelY="-1.0" />
<Point X="177.88655462184897" Y="129.98319327731093" GraphRef="a9be0" RelX="0.0" RelY="1.0" ArrowHead="Arrow" />
</Graphics>
<Xref Database="" ID="" />
</Interaction>
<Interaction GraphId="idd2dd9714">
<Graphics ZOrder="12288" LineThickness="1.0">
<Point X="177.15966386554612" Y="191.1176470588236" GraphRef="f24f5" RelX="0.0" RelY="1.0" ArrowHead="mim-conversion" />
<Point X="247.01680672268913" Y="237.0672268907566" GraphRef="f9879" RelX="-1.0" RelY="0.0" ArrowHead="Arrow" />
<Anchor Position="0.4" Shape="None" GraphId="a177f" />
</Graphics>
<Xref Database="" ID="" />
</Interaction>
<Interaction GraphId="iddc07b227">
<Graphics ZOrder="12288" LineThickness="1.0">
<Point X="433.3109243697479" Y="208.8487394957983" GraphRef="b06ca" RelX="1.0" RelY="0.0" />
<Point X="454.41993573385537" Y="209.2708392535176" GraphRef="eb61e" RelX="0.0" RelY="0.0" ArrowHead="mim-catalysis" />
</Graphics>
<Xref Database="" ID="" />
</Interaction>
<Interaction GraphId="idecf18ae8">
<Graphics ZOrder="12288" LineStyle="Broken" LineThickness="1.0">
<Point X="429.26204958309296" Y="380.2282774060566" GraphRef="f6e34" RelX="-1.0" RelY="0.0" />
<Point X="358.65985450441553" Y="382.80672268907654" GraphRef="d0d43" RelX="1.0" RelY="0.0" ArrowHead="Arrow" />
</Graphics>
<Xref Database="" ID="" />
</Interaction>
<Interaction GraphId="idf3dfd758">
<Graphics ZOrder="12288" LineThickness="1.0">
<Point X="547.6197478991598" Y="267.16806722689114" GraphRef="ba0c7" RelX="0.5" RelY="-1.0" ArrowHead="mim-conversion" />
<Point X="597.1197478991596" Y="222.91806722689105" GraphRef="d3887" RelX="-1.0" RelY="0.0" ArrowHead="Arrow" />
</Graphics>
<Xref Database="" ID="" />
</Interaction>
<Label TextLabel="DNA" GraphId="b291a">
<Graphics CenterX="614.3697478991596" CenterY="295.16806722689114" Width="34.0" Height="20.0" ZOrder="28672" FillColor="ffffff" FontSize="10" Valign="Middle" />
</Label>
<Label TextLabel="Methylated DNA" GraphId="c3913">
<Graphics CenterX="639.3697478991596" CenterY="250.16806722689105" Width="90.0" Height="20.0" ZOrder="28672" FillColor="ffffff" FontSize="10" Valign="Middle" />
</Label>
<Label TextLabel="NUCLEUS" GraphId="c9671">
<Graphics CenterX="257.01893448314604" CenterY="336.0559560308279" Width="80.0" Height="20.0" ZOrder="28672" FillColor="ffffff" FontWeight="Bold" FontSize="10" Valign="Middle" Color="999999" />
</Label>
<Label TextLabel="NON-COMPETITIVE&#xA;INHIBITION" GraphId="e9707">
<Graphics CenterX="480.9453366329745" CenterY="317.87445764847064" Width="109.0" Height="20.0" ZOrder="28672" FillColor="ffffff" FontSize="10" Valign="Middle" />
</Label>
<Shape TextLabel="Methyltransferases" GraphId="a5f91">
<Graphics CenterX="631.1197478991596" CenterY="275.16806722689114" Width="112.5" Height="24.0" ZOrder="16384" FontSize="10" Valign="Middle" ShapeType="Oval" Rotation="0.0" />
</Shape>
<Shape GraphId="e3eed">
<Attribute Key="org.pathvisio.CellularComponentProperty" Value="Nucleus" />
<Attribute Key="org.pathvisio.DoubleLineProperty" Value="Double" />
<Graphics CenterX="260.5455188312118" CenterY="417.43948371936517" Width="268.09162487627657" Height="213.9831460674157" ZOrder="16384" FontSize="10" Valign="Middle" ShapeType="Oval" LineThickness="3.0" Color="c0c0c0" Rotation="0.0" />
</Shape>
<Shape GraphId="ff12b">
<Attribute Key="org.pathvisio.CellularComponentProperty" Value="Cell" />
<Attribute Key="org.pathvisio.DoubleLineProperty" Value="Double" />
<Graphics CenterX="439.9096638655463" CenterY="322.9096638655461" Width="700.5" Height="457.1218487394958" ZOrder="16384" FontSize="12" Valign="Middle" ShapeType="RoundedRectangle" LineThickness="3.0" Color="c0c0c0" Rotation="0.0" />
</Shape>
<Shape GraphId="ff29c">
<Attribute Key="org.pathvisio.CellularComponentProperty" Value="Mitochondria" />
<Graphics CenterX="593.5534414838786" CenterY="377.5442436340693" Width="203.75877655025076" Height="97.10623485700586" ZOrder="16384" FontSize="12" Valign="Middle" ShapeType="Mitochondria" LineThickness="3.0" Color="c0c0c0" Rotation="0.006756653935783758" />
</Shape>
<InfoBox CenterX="0.0" CenterY="0.0" />
<Biopax>
<bp:openControlledVocabulary xmlns:bp="http://www.biopax.org/release/biopax-level3.owl#">
<bp:TERM xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" rdf:datatype="http://www.w3.org/2001/XMLSchema#string">oral cavity cancer</bp:TERM>
<bp:ID xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" rdf:datatype="http://www.w3.org/2001/XMLSchema#string">DOID:8618</bp:ID>
<bp:Ontology xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Disease</bp:Ontology>
</bp:openControlledVocabulary>
<bp:PublicationXref xmlns:bp="http://www.biopax.org/release/biopax-level3.owl#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" rdf:id="b5e">
<bp:ID rdf:datatype="http://www.w3.org/2001/XMLSchema#string">22100631</bp:ID>
<bp:DB rdf:datatype="http://www.w3.org/2001/XMLSchema#string">PubMed</bp:DB>
<bp:TITLE rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Alcohol intake and folate antagonism via CYP2E1 and ALDH1: effects on oral carcinogenesis.</bp:TITLE>
<bp:SOURCE rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Med Hypotheses</bp:SOURCE>
<bp:YEAR rdf:datatype="http://www.w3.org/2001/XMLSchema#string">2012</bp:YEAR>
<bp:AUTHORS rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Hwang PH</bp:AUTHORS>
<bp:AUTHORS rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Lian L</bp:AUTHORS>
<bp:AUTHORS rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Zavras AI</bp:AUTHORS>
</bp:PublicationXref>
<bp:openControlledVocabulary xmlns:bp="http://www.biopax.org/release/biopax-level3.owl#">
<bp:TERM xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" rdf:datatype="http://www.w3.org/2001/XMLSchema#string">disease pathway</bp:TERM>
<bp:ID xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" rdf:datatype="http://www.w3.org/2001/XMLSchema#string">PW:0000013</bp:ID>
<bp:Ontology xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Pathway Ontology</bp:Ontology>
</bp:openControlledVocabulary>
<bp:openControlledVocabulary xmlns:bp="http://www.biopax.org/release/biopax-level3.owl#">
<bp:TERM xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" rdf:datatype="http://www.w3.org/2001/XMLSchema#string">cancer pathway</bp:TERM>
<bp:ID xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" rdf:datatype="http://www.w3.org/2001/XMLSchema#string">PW:0000605</bp:ID>
<bp:Ontology xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Pathway Ontology</bp:Ontology>
</bp:openControlledVocabulary>
</Biopax>
</Pathway>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment