# HG changeset patch # User tduigou # Date 1696847238 0 # Node ID 748d0a0925cb8e1a49cf31cac4eea1f67b9e9ca1 planemo upload for repository https://github.com/brsynth/neo4jsbml commit 513db7f056db275f3f5d8d1337d39ff66012d89f diff -r 000000000000 -r 748d0a0925cb neo4jsbml.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/neo4jsbml.xml Mon Oct 09 10:27:18 2023 +0000 @@ -0,0 +1,83 @@ + + Import SBML file into Neo4j + + 0.12.0 + + + neo4jsbml + + '$output_log' + ]]> + + + + + + + + + + `_ + +Rules: +- Nodes are labelled based on SBML object name as defined in the `SBML specification `_ +- Properties are labelled based on SBML object properties as defined the `SBML specification `_ + +Step 2 +------ +Export your schema at the JSON format. + +Step 3 +------ + +Import your data with `neo4jsbml` into Neo4j. +- Use either a configuration file `ini` or individual parameters +- Password needs to be store in a file for safety security +- If you have multiple model in the database, pass a `tag` to identify the model loaded into the database if you want to avoid collision + +Inputs +------ + +Database parameters +- **Protocol**: choose the protocol (default: neo4j) +- **Url of the database**: define the url of the database +- **Port of the database**: define the port of the database (default: 7687) +- **Username of the database**: User name of the database +- **Password of the database**: file with the password +- **Database name**: database name + +Input +- **SBML model**: SBML model +- **Identifier of the model**: Associate an ID to the nodes +- **Arrow's schema**: Schema created with Arrow + +Ouput +----- + +- Traceback of the tool +]]> + + + @unpublished{neo4jsbml + author = {Guillaume Gricourt, Thomas Duigou, Sandra Dérozier, Jean-Loup Faulon}, + title = {{Neo4jSbml}}, + url = {https://github.com/brsynth/neo4jsbml/}, + } + + + diff -r 000000000000 -r 748d0a0925cb test-data/PathwayModelisation-2.0.3.json --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/PathwayModelisation-2.0.3.json Mon Oct 09 10:27:18 2023 +0000 @@ -0,0 +1,265 @@ +{ + "style": { + "font-family": "sans-serif", + "background-color": "#ffffff", + "background-image": "", + "background-size": "100%", + "node-color": "#ffffff", + "border-width": 4, + "border-color": "#000000", + "radius": 50, + "node-padding": 5, + "node-margin": 2, + "outside-position": "auto", + "node-icon-image": "", + "node-background-image": "", + "icon-position": "inside", + "icon-size": 64, + "caption-position": "inside", + "caption-max-width": 200, + "caption-color": "#000000", + "caption-font-size": 50, + "caption-font-weight": "normal", + "label-position": "inside", + "label-display": "pill", + "label-color": "#000000", + "label-background-color": "#ffffff", + "label-border-color": "#000000", + "label-border-width": 4, + "label-font-size": 40, + "label-padding": 5, + "label-margin": 4, + "directionality": "directed", + "detail-position": "inline", + "detail-orientation": "parallel", + "arrow-width": 5, + "arrow-color": "#000000", + "margin-start": 5, + "margin-end": 5, + "margin-peer": 20, + "attachment-start": "normal", + "attachment-end": "normal", + "relationship-icon-image": "", + "type-color": "#000000", + "type-background-color": "#ffffff", + "type-border-color": "#000000", + "type-border-width": 0, + "type-font-size": 16, + "type-padding": 5, + "property-position": "outside", + "property-alignment": "colon", + "property-color": "#000000", + "property-font-size": 16, + "property-font-weight": "normal" + }, + "nodes": [ + { + "id": "n0", + "position": { + "x": 0, + "y": 0 + }, + "caption": "", + "style": {}, + "labels": [], + "properties": {} + }, + { + "id": "n1", + "position": { + "x": 884.6635137872785, + "y": 380.3581544878789 + }, + "caption": "", + "labels": [ + "Compartment" + ], + "properties": { + "id": "str (required)", + "name": "str (optional)", + "metaid": "str (optional)", + "sboTerm": "str (optional)", + "spatialDimensions": "int (optional)", + "size": "int (optional)", + "constant": "bool (optional)" + }, + "style": {} + }, + { + "id": "n2", + "position": { + "x": 560.2494455950304, + "y": 380.3581544878789 + }, + "caption": "", + "labels": [ + "Species" + ], + "properties": { + "id": "str (required)", + "initialAmount": "float (optional)", + "hasOnlySubstanceUnits": "bool (optional)", + "boundaryCondition": "bool (optional)", + "constant": "bool (optional)" + }, + "style": {} + }, + { + "id": "n3", + "position": { + "x": 432.24944559503035, + "y": 204.94864525928773 + }, + "caption": "", + "labels": [ + "Parameter" + ], + "properties": { + "id": "str (required)", + "name": "str (optional)", + "metaid": "str (optional)", + "sboTerm": "str (optional)", + "value": "float (optional)", + "constant": "bool" + }, + "style": {} + }, + { + "id": "n4", + "position": { + "x": 833.1523435518487, + "y": 204.94864525928796 + }, + "caption": "", + "labels": [ + "Reaction" + ], + "properties": { + "id": "str (required)", + "name": "str (optional)", + "metaid": "str (optional)", + "sboTerm": "str (optional)", + "reversible": "bool" + }, + "style": {} + }, + { + "id": "n5", + "position": { + "x": 129, + "y": 204.94864525928773 + }, + "caption": "", + "labels": [ + "model" + ], + "properties": { + "id": "str", + "name": "str", + "metaid": "str", + "sboTerm": "str" + }, + "style": {} + }, + { + "id": "n6", + "position": { + "x": 129, + "y": 380.3581544878789 + }, + "caption": "", + "labels": [ + "UnitDefinition" + ], + "properties": { + "id": "str (optional)", + "name": "str (optional)", + "metaid": "str (optional)", + "sboTerm": "str (optional)" + }, + "style": {} + }, + { + "id": "n7", + "position": { + "x": 560.2494455950304, + "y": -4 + }, + "caption": "", + "labels": [ + "GeneProduct" + ], + "properties": { + "id": "str", + "name": "str" + }, + "style": {} + } + ], + "relationships": [ + { + "id": "n0", + "fromId": "n2", + "toId": "n1", + "type": "IN_COMPARTMENT", + "properties": {}, + "style": {} + }, + { + "id": "n1", + "fromId": "n4", + "toId": "n2", + "type": "HAS_PRODUCT", + "properties": {}, + "style": {} + }, + { + "id": "n2", + "fromId": "n4", + "toId": "n3", + "type": "HAS_LOWERFLUXBOUND", + "properties": {}, + "style": {} + }, + { + "id": "n3", + "fromId": "n5", + "toId": "n3", + "type": "HAS_PARAMETER", + "properties": {}, + "style": {} + }, + { + "id": "n4", + "type": "HAS_UNITS", + "style": {}, + "properties": {}, + "fromId": "n3", + "toId": "n6" + }, + { + "id": "n5", + "fromId": "n4", + "toId": "n3", + "type": "HAS_UPPERFLUXBOUND", + "properties": {}, + "style": {} + }, + { + "id": "n6", + "fromId": "n4", + "toId": "n7", + "type": "IS_IMPLIED", + "properties": {}, + "style": {} + }, + { + "id": "n7", + "fromId": "n2", + "toId": "n4", + "type": "IS_REACTANT", + "properties": {}, + "style": {} + } + ] +} \ No newline at end of file diff -r 000000000000 -r 748d0a0925cb test-data/e_coli_core.xml.gz Binary file test-data/e_coli_core.xml.gz has changed