Graphical Visualization of XML data
I have an XML file that looks like this:
<rebase>
<Organism>
<Name>Aminomonas paucivorans</Name>
<Enzyme>M1.Apa12260I</Enzyme>
<Motif>GGAGNNNNNGGC</Motif>
<Enzyme>M2.Apa12260I</Enzyme>
<Motif>GGAGNNNNNGGC</Motif>
</Organism>
<Organism>
<Name>Bacillus cellulosilyticus</Name>
<Enzyme>M1.BceNI</Enzyme>
<Motif>CCCNNNNNCTC</Motif>
<Enzyme>M2.BceNI</Enzyme>
<Motif>CCCNNNNNCTC</Motif>
</Organism>
</rebase>
I want to visualize this XML data into a graphical format. The connectivity is such that a lot of enzymes
can contain common motifs
but no organims
can have similar enzymes
. I looked at d3.js but I dont think it has what im looking for. I was really excited with the visualization neo4j
seems to provide but i will need to learn it from scratch. However I havent come across any good tutorials for importing or creating a graph in neo4j
via XML datasets. I know in the world of programming anything is possible so I wanted to know the possible ways I could import my data (preferably using python
) to a neo4j database to visualize it.
UPDATE
I tried following this answer (second answer under this question). I created the 2 CSV
files that he suggested. However the query has a lot of syntax errors , such as :
Invalid input 'S': expected 'n/N' (line 6, column 2)
"USING PERIODIC COMMIT"WITH is required between CREATE and LOAD CSV (line 6, column 1)
"MATCH (o:Organism { name: csvLine.name}),(m:Motif { name: csvLine.motif})"
My cypher
query skill are extremely limited and i couldnt get any imports
to work so fixing the query by myself is proving to be really difficult. Any help will be greately appreciated
python xml neo4j
add a comment |
I have an XML file that looks like this:
<rebase>
<Organism>
<Name>Aminomonas paucivorans</Name>
<Enzyme>M1.Apa12260I</Enzyme>
<Motif>GGAGNNNNNGGC</Motif>
<Enzyme>M2.Apa12260I</Enzyme>
<Motif>GGAGNNNNNGGC</Motif>
</Organism>
<Organism>
<Name>Bacillus cellulosilyticus</Name>
<Enzyme>M1.BceNI</Enzyme>
<Motif>CCCNNNNNCTC</Motif>
<Enzyme>M2.BceNI</Enzyme>
<Motif>CCCNNNNNCTC</Motif>
</Organism>
</rebase>
I want to visualize this XML data into a graphical format. The connectivity is such that a lot of enzymes
can contain common motifs
but no organims
can have similar enzymes
. I looked at d3.js but I dont think it has what im looking for. I was really excited with the visualization neo4j
seems to provide but i will need to learn it from scratch. However I havent come across any good tutorials for importing or creating a graph in neo4j
via XML datasets. I know in the world of programming anything is possible so I wanted to know the possible ways I could import my data (preferably using python
) to a neo4j database to visualize it.
UPDATE
I tried following this answer (second answer under this question). I created the 2 CSV
files that he suggested. However the query has a lot of syntax errors , such as :
Invalid input 'S': expected 'n/N' (line 6, column 2)
"USING PERIODIC COMMIT"WITH is required between CREATE and LOAD CSV (line 6, column 1)
"MATCH (o:Organism { name: csvLine.name}),(m:Motif { name: csvLine.motif})"
My cypher
query skill are extremely limited and i couldnt get any imports
to work so fixing the query by myself is proving to be really difficult. Any help will be greately appreciated
python xml neo4j
add a comment |
I have an XML file that looks like this:
<rebase>
<Organism>
<Name>Aminomonas paucivorans</Name>
<Enzyme>M1.Apa12260I</Enzyme>
<Motif>GGAGNNNNNGGC</Motif>
<Enzyme>M2.Apa12260I</Enzyme>
<Motif>GGAGNNNNNGGC</Motif>
</Organism>
<Organism>
<Name>Bacillus cellulosilyticus</Name>
<Enzyme>M1.BceNI</Enzyme>
<Motif>CCCNNNNNCTC</Motif>
<Enzyme>M2.BceNI</Enzyme>
<Motif>CCCNNNNNCTC</Motif>
</Organism>
</rebase>
I want to visualize this XML data into a graphical format. The connectivity is such that a lot of enzymes
can contain common motifs
but no organims
can have similar enzymes
. I looked at d3.js but I dont think it has what im looking for. I was really excited with the visualization neo4j
seems to provide but i will need to learn it from scratch. However I havent come across any good tutorials for importing or creating a graph in neo4j
via XML datasets. I know in the world of programming anything is possible so I wanted to know the possible ways I could import my data (preferably using python
) to a neo4j database to visualize it.
UPDATE
I tried following this answer (second answer under this question). I created the 2 CSV
files that he suggested. However the query has a lot of syntax errors , such as :
Invalid input 'S': expected 'n/N' (line 6, column 2)
"USING PERIODIC COMMIT"WITH is required between CREATE and LOAD CSV (line 6, column 1)
"MATCH (o:Organism { name: csvLine.name}),(m:Motif { name: csvLine.motif})"
My cypher
query skill are extremely limited and i couldnt get any imports
to work so fixing the query by myself is proving to be really difficult. Any help will be greately appreciated
python xml neo4j
I have an XML file that looks like this:
<rebase>
<Organism>
<Name>Aminomonas paucivorans</Name>
<Enzyme>M1.Apa12260I</Enzyme>
<Motif>GGAGNNNNNGGC</Motif>
<Enzyme>M2.Apa12260I</Enzyme>
<Motif>GGAGNNNNNGGC</Motif>
</Organism>
<Organism>
<Name>Bacillus cellulosilyticus</Name>
<Enzyme>M1.BceNI</Enzyme>
<Motif>CCCNNNNNCTC</Motif>
<Enzyme>M2.BceNI</Enzyme>
<Motif>CCCNNNNNCTC</Motif>
</Organism>
</rebase>
I want to visualize this XML data into a graphical format. The connectivity is such that a lot of enzymes
can contain common motifs
but no organims
can have similar enzymes
. I looked at d3.js but I dont think it has what im looking for. I was really excited with the visualization neo4j
seems to provide but i will need to learn it from scratch. However I havent come across any good tutorials for importing or creating a graph in neo4j
via XML datasets. I know in the world of programming anything is possible so I wanted to know the possible ways I could import my data (preferably using python
) to a neo4j database to visualize it.
UPDATE
I tried following this answer (second answer under this question). I created the 2 CSV
files that he suggested. However the query has a lot of syntax errors , such as :
Invalid input 'S': expected 'n/N' (line 6, column 2)
"USING PERIODIC COMMIT"WITH is required between CREATE and LOAD CSV (line 6, column 1)
"MATCH (o:Organism { name: csvLine.name}),(m:Motif { name: csvLine.motif})"
My cypher
query skill are extremely limited and i couldnt get any imports
to work so fixing the query by myself is proving to be really difficult. Any help will be greately appreciated
python xml neo4j
python xml neo4j
edited May 23 '17 at 11:58
Community♦
11
11
asked Aug 4 '14 at 0:31
BeginnerBeginner
5111924
5111924
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
There is also a series of posts how to import XML into Neo4j.
- http://supercompiler.wordpress.com/2014/07/22/navigating-xml-graph-using-cypher/
- http://supercompiler.wordpress.com/2014/04/06/visualizing-an-xml-as-a-graph-neo4j-101/
First you should model how your data should look like as a graph, which entities do you need for your use-cases and which semantic connections.
In general if you can load the data in python, you can use py2neo or neo4jrestclient (see http://neo4j.org/develop/python) to import your data into your model.
add a comment |
for this i would suggest to use directly gephi . at least a year ago it worked flawlessly, it supports xml/csv data format import directly and there is no need to use neo4j
as pre-processor.
edit
oh, i see now, i though the connections are already included. in this case, you must create all the data from xml as a separate node - new node for each enzyme
and motif
and also for each organism
(with a parameter name
). those enzyme
nad motif
nodes must be unique - i.e. no duplicates. when creating an organism
node, you connect the organism
to its enzyme
and motif
nodes by a relationship. after this is done, querying/visualizing similar nodes is no problem, since common nodes share at least one of the enzyme/motif
.
i don't know any smart way to import data xml
to neo4j, but you should have no problem to convert it into two csv
files. the format of that csv would than be:
first file:
name,enzyme
Aminomonas paucivorans,M1.Apa12260I
Aminomonas paucivorans,M2.Apa12260I
Bacillus cellulosilyticus,M1.BceNI
Bacillus cellulosilyticus,M2.BceNI
second file (i don't understand why the motif
is duplicite thought):
name,motif
Aminomonas paucivorans,GGAGNNNNNGGC
Aminomonas paucivorans,GGAGNNNNNGGC
Bacillus cellulosilyticus,CCCNNNNNCTC
Bacillus cellulosilyticus,CCCNNNNNCTC
now we are going to do the import, which creates unique nodes and relationships (thus the above duplicite motifs
would transfer just into 1 unique relation) (if neccessary, it is possible to have multiple relationships to the same motif
node, too):
(i'm not sure with this import but it should work):
USING PERIODIC COMMIT
LOAD CSV WITH HEADERS FROM "file1.csv" AS csvLine
MATCH (o:Organism { name: csvLine.name}),(e:Enzyme { name: csvLine.enzyme})
CREATE (o)-[:has_enzyme]->(e) //or maybe CREATE UNIQUE?
USING PERIODIC COMMIT
LOAD CSV WITH HEADERS FROM "file2.csv" AS csvLine
MATCH (o:Organism { name: csvLine.name}),(m:Motif { name: csvLine.motif})
CREATE (o)-[:has_motif]->(m) //or maybe CREATE UNIQUE?
this shall create th graph with 2 organism nodes, 4 enzyme nodes and 2 motif nodes. each organism node should than have a relationship to its enzymes and motifs. after this is done, you can move forward to the visualization part described at the beginning.
could you elaborate on the process? I ve tried to google it but it says I have to build my own interpreter
– Beginner
Aug 6 '14 at 0:24
i've made an edit
– ulkas
Aug 6 '14 at 7:54
thank you so much for your time and help. Ill try it out and let you know if I encounter any problems.
– Beginner
Aug 6 '14 at 18:29
Ifinally got back to this project . I have the two CSV files as you said but your query throws up a lot of syntax errors
– Beginner
Sep 27 '14 at 21:00
i wrote it by heart and didnt test it, it needs some tweaks. but you should get the point though.
– ulkas
Sep 28 '14 at 20:54
|
show 1 more comment
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f25110355%2fgraphical-visualization-of-xml-data%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
There is also a series of posts how to import XML into Neo4j.
- http://supercompiler.wordpress.com/2014/07/22/navigating-xml-graph-using-cypher/
- http://supercompiler.wordpress.com/2014/04/06/visualizing-an-xml-as-a-graph-neo4j-101/
First you should model how your data should look like as a graph, which entities do you need for your use-cases and which semantic connections.
In general if you can load the data in python, you can use py2neo or neo4jrestclient (see http://neo4j.org/develop/python) to import your data into your model.
add a comment |
There is also a series of posts how to import XML into Neo4j.
- http://supercompiler.wordpress.com/2014/07/22/navigating-xml-graph-using-cypher/
- http://supercompiler.wordpress.com/2014/04/06/visualizing-an-xml-as-a-graph-neo4j-101/
First you should model how your data should look like as a graph, which entities do you need for your use-cases and which semantic connections.
In general if you can load the data in python, you can use py2neo or neo4jrestclient (see http://neo4j.org/develop/python) to import your data into your model.
add a comment |
There is also a series of posts how to import XML into Neo4j.
- http://supercompiler.wordpress.com/2014/07/22/navigating-xml-graph-using-cypher/
- http://supercompiler.wordpress.com/2014/04/06/visualizing-an-xml-as-a-graph-neo4j-101/
First you should model how your data should look like as a graph, which entities do you need for your use-cases and which semantic connections.
In general if you can load the data in python, you can use py2neo or neo4jrestclient (see http://neo4j.org/develop/python) to import your data into your model.
There is also a series of posts how to import XML into Neo4j.
- http://supercompiler.wordpress.com/2014/07/22/navigating-xml-graph-using-cypher/
- http://supercompiler.wordpress.com/2014/04/06/visualizing-an-xml-as-a-graph-neo4j-101/
First you should model how your data should look like as a graph, which entities do you need for your use-cases and which semantic connections.
In general if you can load the data in python, you can use py2neo or neo4jrestclient (see http://neo4j.org/develop/python) to import your data into your model.
answered Aug 4 '14 at 8:33
Michael HungerMichael Hunger
36.8k33862
36.8k33862
add a comment |
add a comment |
for this i would suggest to use directly gephi . at least a year ago it worked flawlessly, it supports xml/csv data format import directly and there is no need to use neo4j
as pre-processor.
edit
oh, i see now, i though the connections are already included. in this case, you must create all the data from xml as a separate node - new node for each enzyme
and motif
and also for each organism
(with a parameter name
). those enzyme
nad motif
nodes must be unique - i.e. no duplicates. when creating an organism
node, you connect the organism
to its enzyme
and motif
nodes by a relationship. after this is done, querying/visualizing similar nodes is no problem, since common nodes share at least one of the enzyme/motif
.
i don't know any smart way to import data xml
to neo4j, but you should have no problem to convert it into two csv
files. the format of that csv would than be:
first file:
name,enzyme
Aminomonas paucivorans,M1.Apa12260I
Aminomonas paucivorans,M2.Apa12260I
Bacillus cellulosilyticus,M1.BceNI
Bacillus cellulosilyticus,M2.BceNI
second file (i don't understand why the motif
is duplicite thought):
name,motif
Aminomonas paucivorans,GGAGNNNNNGGC
Aminomonas paucivorans,GGAGNNNNNGGC
Bacillus cellulosilyticus,CCCNNNNNCTC
Bacillus cellulosilyticus,CCCNNNNNCTC
now we are going to do the import, which creates unique nodes and relationships (thus the above duplicite motifs
would transfer just into 1 unique relation) (if neccessary, it is possible to have multiple relationships to the same motif
node, too):
(i'm not sure with this import but it should work):
USING PERIODIC COMMIT
LOAD CSV WITH HEADERS FROM "file1.csv" AS csvLine
MATCH (o:Organism { name: csvLine.name}),(e:Enzyme { name: csvLine.enzyme})
CREATE (o)-[:has_enzyme]->(e) //or maybe CREATE UNIQUE?
USING PERIODIC COMMIT
LOAD CSV WITH HEADERS FROM "file2.csv" AS csvLine
MATCH (o:Organism { name: csvLine.name}),(m:Motif { name: csvLine.motif})
CREATE (o)-[:has_motif]->(m) //or maybe CREATE UNIQUE?
this shall create th graph with 2 organism nodes, 4 enzyme nodes and 2 motif nodes. each organism node should than have a relationship to its enzymes and motifs. after this is done, you can move forward to the visualization part described at the beginning.
could you elaborate on the process? I ve tried to google it but it says I have to build my own interpreter
– Beginner
Aug 6 '14 at 0:24
i've made an edit
– ulkas
Aug 6 '14 at 7:54
thank you so much for your time and help. Ill try it out and let you know if I encounter any problems.
– Beginner
Aug 6 '14 at 18:29
Ifinally got back to this project . I have the two CSV files as you said but your query throws up a lot of syntax errors
– Beginner
Sep 27 '14 at 21:00
i wrote it by heart and didnt test it, it needs some tweaks. but you should get the point though.
– ulkas
Sep 28 '14 at 20:54
|
show 1 more comment
for this i would suggest to use directly gephi . at least a year ago it worked flawlessly, it supports xml/csv data format import directly and there is no need to use neo4j
as pre-processor.
edit
oh, i see now, i though the connections are already included. in this case, you must create all the data from xml as a separate node - new node for each enzyme
and motif
and also for each organism
(with a parameter name
). those enzyme
nad motif
nodes must be unique - i.e. no duplicates. when creating an organism
node, you connect the organism
to its enzyme
and motif
nodes by a relationship. after this is done, querying/visualizing similar nodes is no problem, since common nodes share at least one of the enzyme/motif
.
i don't know any smart way to import data xml
to neo4j, but you should have no problem to convert it into two csv
files. the format of that csv would than be:
first file:
name,enzyme
Aminomonas paucivorans,M1.Apa12260I
Aminomonas paucivorans,M2.Apa12260I
Bacillus cellulosilyticus,M1.BceNI
Bacillus cellulosilyticus,M2.BceNI
second file (i don't understand why the motif
is duplicite thought):
name,motif
Aminomonas paucivorans,GGAGNNNNNGGC
Aminomonas paucivorans,GGAGNNNNNGGC
Bacillus cellulosilyticus,CCCNNNNNCTC
Bacillus cellulosilyticus,CCCNNNNNCTC
now we are going to do the import, which creates unique nodes and relationships (thus the above duplicite motifs
would transfer just into 1 unique relation) (if neccessary, it is possible to have multiple relationships to the same motif
node, too):
(i'm not sure with this import but it should work):
USING PERIODIC COMMIT
LOAD CSV WITH HEADERS FROM "file1.csv" AS csvLine
MATCH (o:Organism { name: csvLine.name}),(e:Enzyme { name: csvLine.enzyme})
CREATE (o)-[:has_enzyme]->(e) //or maybe CREATE UNIQUE?
USING PERIODIC COMMIT
LOAD CSV WITH HEADERS FROM "file2.csv" AS csvLine
MATCH (o:Organism { name: csvLine.name}),(m:Motif { name: csvLine.motif})
CREATE (o)-[:has_motif]->(m) //or maybe CREATE UNIQUE?
this shall create th graph with 2 organism nodes, 4 enzyme nodes and 2 motif nodes. each organism node should than have a relationship to its enzymes and motifs. after this is done, you can move forward to the visualization part described at the beginning.
could you elaborate on the process? I ve tried to google it but it says I have to build my own interpreter
– Beginner
Aug 6 '14 at 0:24
i've made an edit
– ulkas
Aug 6 '14 at 7:54
thank you so much for your time and help. Ill try it out and let you know if I encounter any problems.
– Beginner
Aug 6 '14 at 18:29
Ifinally got back to this project . I have the two CSV files as you said but your query throws up a lot of syntax errors
– Beginner
Sep 27 '14 at 21:00
i wrote it by heart and didnt test it, it needs some tweaks. but you should get the point though.
– ulkas
Sep 28 '14 at 20:54
|
show 1 more comment
for this i would suggest to use directly gephi . at least a year ago it worked flawlessly, it supports xml/csv data format import directly and there is no need to use neo4j
as pre-processor.
edit
oh, i see now, i though the connections are already included. in this case, you must create all the data from xml as a separate node - new node for each enzyme
and motif
and also for each organism
(with a parameter name
). those enzyme
nad motif
nodes must be unique - i.e. no duplicates. when creating an organism
node, you connect the organism
to its enzyme
and motif
nodes by a relationship. after this is done, querying/visualizing similar nodes is no problem, since common nodes share at least one of the enzyme/motif
.
i don't know any smart way to import data xml
to neo4j, but you should have no problem to convert it into two csv
files. the format of that csv would than be:
first file:
name,enzyme
Aminomonas paucivorans,M1.Apa12260I
Aminomonas paucivorans,M2.Apa12260I
Bacillus cellulosilyticus,M1.BceNI
Bacillus cellulosilyticus,M2.BceNI
second file (i don't understand why the motif
is duplicite thought):
name,motif
Aminomonas paucivorans,GGAGNNNNNGGC
Aminomonas paucivorans,GGAGNNNNNGGC
Bacillus cellulosilyticus,CCCNNNNNCTC
Bacillus cellulosilyticus,CCCNNNNNCTC
now we are going to do the import, which creates unique nodes and relationships (thus the above duplicite motifs
would transfer just into 1 unique relation) (if neccessary, it is possible to have multiple relationships to the same motif
node, too):
(i'm not sure with this import but it should work):
USING PERIODIC COMMIT
LOAD CSV WITH HEADERS FROM "file1.csv" AS csvLine
MATCH (o:Organism { name: csvLine.name}),(e:Enzyme { name: csvLine.enzyme})
CREATE (o)-[:has_enzyme]->(e) //or maybe CREATE UNIQUE?
USING PERIODIC COMMIT
LOAD CSV WITH HEADERS FROM "file2.csv" AS csvLine
MATCH (o:Organism { name: csvLine.name}),(m:Motif { name: csvLine.motif})
CREATE (o)-[:has_motif]->(m) //or maybe CREATE UNIQUE?
this shall create th graph with 2 organism nodes, 4 enzyme nodes and 2 motif nodes. each organism node should than have a relationship to its enzymes and motifs. after this is done, you can move forward to the visualization part described at the beginning.
for this i would suggest to use directly gephi . at least a year ago it worked flawlessly, it supports xml/csv data format import directly and there is no need to use neo4j
as pre-processor.
edit
oh, i see now, i though the connections are already included. in this case, you must create all the data from xml as a separate node - new node for each enzyme
and motif
and also for each organism
(with a parameter name
). those enzyme
nad motif
nodes must be unique - i.e. no duplicates. when creating an organism
node, you connect the organism
to its enzyme
and motif
nodes by a relationship. after this is done, querying/visualizing similar nodes is no problem, since common nodes share at least one of the enzyme/motif
.
i don't know any smart way to import data xml
to neo4j, but you should have no problem to convert it into two csv
files. the format of that csv would than be:
first file:
name,enzyme
Aminomonas paucivorans,M1.Apa12260I
Aminomonas paucivorans,M2.Apa12260I
Bacillus cellulosilyticus,M1.BceNI
Bacillus cellulosilyticus,M2.BceNI
second file (i don't understand why the motif
is duplicite thought):
name,motif
Aminomonas paucivorans,GGAGNNNNNGGC
Aminomonas paucivorans,GGAGNNNNNGGC
Bacillus cellulosilyticus,CCCNNNNNCTC
Bacillus cellulosilyticus,CCCNNNNNCTC
now we are going to do the import, which creates unique nodes and relationships (thus the above duplicite motifs
would transfer just into 1 unique relation) (if neccessary, it is possible to have multiple relationships to the same motif
node, too):
(i'm not sure with this import but it should work):
USING PERIODIC COMMIT
LOAD CSV WITH HEADERS FROM "file1.csv" AS csvLine
MATCH (o:Organism { name: csvLine.name}),(e:Enzyme { name: csvLine.enzyme})
CREATE (o)-[:has_enzyme]->(e) //or maybe CREATE UNIQUE?
USING PERIODIC COMMIT
LOAD CSV WITH HEADERS FROM "file2.csv" AS csvLine
MATCH (o:Organism { name: csvLine.name}),(m:Motif { name: csvLine.motif})
CREATE (o)-[:has_motif]->(m) //or maybe CREATE UNIQUE?
this shall create th graph with 2 organism nodes, 4 enzyme nodes and 2 motif nodes. each organism node should than have a relationship to its enzymes and motifs. after this is done, you can move forward to the visualization part described at the beginning.
edited Aug 6 '14 at 7:54
answered Aug 4 '14 at 7:42
ulkasulkas
3,91932540
3,91932540
could you elaborate on the process? I ve tried to google it but it says I have to build my own interpreter
– Beginner
Aug 6 '14 at 0:24
i've made an edit
– ulkas
Aug 6 '14 at 7:54
thank you so much for your time and help. Ill try it out and let you know if I encounter any problems.
– Beginner
Aug 6 '14 at 18:29
Ifinally got back to this project . I have the two CSV files as you said but your query throws up a lot of syntax errors
– Beginner
Sep 27 '14 at 21:00
i wrote it by heart and didnt test it, it needs some tweaks. but you should get the point though.
– ulkas
Sep 28 '14 at 20:54
|
show 1 more comment
could you elaborate on the process? I ve tried to google it but it says I have to build my own interpreter
– Beginner
Aug 6 '14 at 0:24
i've made an edit
– ulkas
Aug 6 '14 at 7:54
thank you so much for your time and help. Ill try it out and let you know if I encounter any problems.
– Beginner
Aug 6 '14 at 18:29
Ifinally got back to this project . I have the two CSV files as you said but your query throws up a lot of syntax errors
– Beginner
Sep 27 '14 at 21:00
i wrote it by heart and didnt test it, it needs some tweaks. but you should get the point though.
– ulkas
Sep 28 '14 at 20:54
could you elaborate on the process? I ve tried to google it but it says I have to build my own interpreter
– Beginner
Aug 6 '14 at 0:24
could you elaborate on the process? I ve tried to google it but it says I have to build my own interpreter
– Beginner
Aug 6 '14 at 0:24
i've made an edit
– ulkas
Aug 6 '14 at 7:54
i've made an edit
– ulkas
Aug 6 '14 at 7:54
thank you so much for your time and help. Ill try it out and let you know if I encounter any problems.
– Beginner
Aug 6 '14 at 18:29
thank you so much for your time and help. Ill try it out and let you know if I encounter any problems.
– Beginner
Aug 6 '14 at 18:29
Ifinally got back to this project . I have the two CSV files as you said but your query throws up a lot of syntax errors
– Beginner
Sep 27 '14 at 21:00
Ifinally got back to this project . I have the two CSV files as you said but your query throws up a lot of syntax errors
– Beginner
Sep 27 '14 at 21:00
i wrote it by heart and didnt test it, it needs some tweaks. but you should get the point though.
– ulkas
Sep 28 '14 at 20:54
i wrote it by heart and didnt test it, it needs some tweaks. but you should get the point though.
– ulkas
Sep 28 '14 at 20:54
|
show 1 more comment
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f25110355%2fgraphical-visualization-of-xml-data%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown