Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <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>
- name,enzyme
- Aminomonas paucivorans,M1.Apa12260I
- Aminomonas paucivorans,M2.Apa12260I
- Bacillus cellulosilyticus,M1.BceNI
- Bacillus cellulosilyticus,M2.BceNI
- name,motif
- Aminomonas paucivorans,GGAGNNNNNGGC
- Aminomonas paucivorans,GGAGNNNNNGGC
- Bacillus cellulosilyticus,CCCNNNNNCTC
- Bacillus cellulosilyticus,CCCNNNNNCTC
- 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?
Add Comment
Please, Sign In to add comment