Mercurial > repos > tduigou > neo4jsbml
annotate neo4jsbml.xml @ 6:f2ababe65b04 draft
planemo upload for repository https://github.com/brsynth/neo4jsbml commit 537d7fefe58984b8f7ca66010153a2fdc35ddf4b
author | tduigou |
---|---|
date | Wed, 14 Feb 2024 15:26:30 +0000 |
parents | 6941e7dc5117 |
children | f76091ce926e |
rev | line source |
---|---|
0
748d0a0925cb
planemo upload for repository https://github.com/brsynth/neo4jsbml commit 513db7f056db275f3f5d8d1337d39ff66012d89f
tduigou
parents:
diff
changeset
|
1 <tool id="neo4jsbml" name="neo4jsbml" version="@TOOL_VERSION@" profile="21.09" license="MIT"> |
748d0a0925cb
planemo upload for repository https://github.com/brsynth/neo4jsbml commit 513db7f056db275f3f5d8d1337d39ff66012d89f
tduigou
parents:
diff
changeset
|
2 <description>Import SBML file into Neo4j</description> |
748d0a0925cb
planemo upload for repository https://github.com/brsynth/neo4jsbml commit 513db7f056db275f3f5d8d1337d39ff66012d89f
tduigou
parents:
diff
changeset
|
3 <macros> |
748d0a0925cb
planemo upload for repository https://github.com/brsynth/neo4jsbml commit 513db7f056db275f3f5d8d1337d39ff66012d89f
tduigou
parents:
diff
changeset
|
4 <token name="@TOOL_VERSION@">0.12.0</token> |
748d0a0925cb
planemo upload for repository https://github.com/brsynth/neo4jsbml commit 513db7f056db275f3f5d8d1337d39ff66012d89f
tduigou
parents:
diff
changeset
|
5 </macros> |
748d0a0925cb
planemo upload for repository https://github.com/brsynth/neo4jsbml commit 513db7f056db275f3f5d8d1337d39ff66012d89f
tduigou
parents:
diff
changeset
|
6 <requirements> |
748d0a0925cb
planemo upload for repository https://github.com/brsynth/neo4jsbml commit 513db7f056db275f3f5d8d1337d39ff66012d89f
tduigou
parents:
diff
changeset
|
7 <requirement type="package" version="@TOOL_VERSION@">neo4jsbml</requirement> |
748d0a0925cb
planemo upload for repository https://github.com/brsynth/neo4jsbml commit 513db7f056db275f3f5d8d1337d39ff66012d89f
tduigou
parents:
diff
changeset
|
8 </requirements> |
748d0a0925cb
planemo upload for repository https://github.com/brsynth/neo4jsbml commit 513db7f056db275f3f5d8d1337d39ff66012d89f
tduigou
parents:
diff
changeset
|
9 <command detect_errors="exit_code"><![CDATA[ |
3
7a8d6e36f5af
planemo upload for repository https://github.com/brsynth/neo4jsbml commit 513db7f056db275f3f5d8d1337d39ff66012d89f
tduigou
parents:
2
diff
changeset
|
10 python -m neo4jsbml |
4
94863d48d5da
planemo upload for repository https://github.com/brsynth/neo4jsbml commit 513db7f056db275f3f5d8d1337d39ff66012d89f
tduigou
parents:
3
diff
changeset
|
11 --input-auradb-file '$input_auradb_file' |
94863d48d5da
planemo upload for repository https://github.com/brsynth/neo4jsbml commit 513db7f056db275f3f5d8d1337d39ff66012d89f
tduigou
parents:
3
diff
changeset
|
12 --input-file-sbml '$input_file_sbml' |
94863d48d5da
planemo upload for repository https://github.com/brsynth/neo4jsbml commit 513db7f056db275f3f5d8d1337d39ff66012d89f
tduigou
parents:
3
diff
changeset
|
13 #if str($input_tag_str) != "" |
94863d48d5da
planemo upload for repository https://github.com/brsynth/neo4jsbml commit 513db7f056db275f3f5d8d1337d39ff66012d89f
tduigou
parents:
3
diff
changeset
|
14 --input-tag-str '$input_tag_str' |
94863d48d5da
planemo upload for repository https://github.com/brsynth/neo4jsbml commit 513db7f056db275f3f5d8d1337d39ff66012d89f
tduigou
parents:
3
diff
changeset
|
15 #end if |
5
6941e7dc5117
planemo upload for repository https://github.com/brsynth/neo4jsbml commit 8dd843aac9f23dd9e0036c48914f20889d894ecc
tduigou
parents:
4
diff
changeset
|
16 --input-modelisation-json '$input_modelisation_json' | tee '$output' |
0
748d0a0925cb
planemo upload for repository https://github.com/brsynth/neo4jsbml commit 513db7f056db275f3f5d8d1337d39ff66012d89f
tduigou
parents:
diff
changeset
|
17 ]]></command> |
748d0a0925cb
planemo upload for repository https://github.com/brsynth/neo4jsbml commit 513db7f056db275f3f5d8d1337d39ff66012d89f
tduigou
parents:
diff
changeset
|
18 <inputs> |
748d0a0925cb
planemo upload for repository https://github.com/brsynth/neo4jsbml commit 513db7f056db275f3f5d8d1337d39ff66012d89f
tduigou
parents:
diff
changeset
|
19 <param name="input_auradb_file" type="data" format="txt" label="Config file provided by AuraDB"/> |
748d0a0925cb
planemo upload for repository https://github.com/brsynth/neo4jsbml commit 513db7f056db275f3f5d8d1337d39ff66012d89f
tduigou
parents:
diff
changeset
|
20 <param name="input_file_sbml" type="data" format="sbml" label="SBML model"/> |
4
94863d48d5da
planemo upload for repository https://github.com/brsynth/neo4jsbml commit 513db7f056db275f3f5d8d1337d39ff66012d89f
tduigou
parents:
3
diff
changeset
|
21 <param name="input_tag_str" type="text" label="Identifier of the model"> |
94863d48d5da
planemo upload for repository https://github.com/brsynth/neo4jsbml commit 513db7f056db275f3f5d8d1337d39ff66012d89f
tduigou
parents:
3
diff
changeset
|
22 <validator type="regex" message="No special characters allowed">^(?:[\w-]*)$</validator> |
94863d48d5da
planemo upload for repository https://github.com/brsynth/neo4jsbml commit 513db7f056db275f3f5d8d1337d39ff66012d89f
tduigou
parents:
3
diff
changeset
|
23 </param> |
0
748d0a0925cb
planemo upload for repository https://github.com/brsynth/neo4jsbml commit 513db7f056db275f3f5d8d1337d39ff66012d89f
tduigou
parents:
diff
changeset
|
24 <param name="input_modelisation_json" type="data" format="json" label="Arrow's schema"/> |
748d0a0925cb
planemo upload for repository https://github.com/brsynth/neo4jsbml commit 513db7f056db275f3f5d8d1337d39ff66012d89f
tduigou
parents:
diff
changeset
|
25 </inputs> |
748d0a0925cb
planemo upload for repository https://github.com/brsynth/neo4jsbml commit 513db7f056db275f3f5d8d1337d39ff66012d89f
tduigou
parents:
diff
changeset
|
26 <outputs> |
5
6941e7dc5117
planemo upload for repository https://github.com/brsynth/neo4jsbml commit 8dd843aac9f23dd9e0036c48914f20889d894ecc
tduigou
parents:
4
diff
changeset
|
27 <data name="output" format="txt" label="${tool.name} - log" /> |
0
748d0a0925cb
planemo upload for repository https://github.com/brsynth/neo4jsbml commit 513db7f056db275f3f5d8d1337d39ff66012d89f
tduigou
parents:
diff
changeset
|
28 </outputs> |
748d0a0925cb
planemo upload for repository https://github.com/brsynth/neo4jsbml commit 513db7f056db275f3f5d8d1337d39ff66012d89f
tduigou
parents:
diff
changeset
|
29 <help><![CDATA[ |
748d0a0925cb
planemo upload for repository https://github.com/brsynth/neo4jsbml commit 513db7f056db275f3f5d8d1337d39ff66012d89f
tduigou
parents:
diff
changeset
|
30 Neo4jSbml |
748d0a0925cb
planemo upload for repository https://github.com/brsynth/neo4jsbml commit 513db7f056db275f3f5d8d1337d39ff66012d89f
tduigou
parents:
diff
changeset
|
31 ========= |
748d0a0925cb
planemo upload for repository https://github.com/brsynth/neo4jsbml commit 513db7f056db275f3f5d8d1337d39ff66012d89f
tduigou
parents:
diff
changeset
|
32 |
748d0a0925cb
planemo upload for repository https://github.com/brsynth/neo4jsbml commit 513db7f056db275f3f5d8d1337d39ff66012d89f
tduigou
parents:
diff
changeset
|
33 Step 1 |
748d0a0925cb
planemo upload for repository https://github.com/brsynth/neo4jsbml commit 513db7f056db275f3f5d8d1337d39ff66012d89f
tduigou
parents:
diff
changeset
|
34 ------ |
748d0a0925cb
planemo upload for repository https://github.com/brsynth/neo4jsbml commit 513db7f056db275f3f5d8d1337d39ff66012d89f
tduigou
parents:
diff
changeset
|
35 |
748d0a0925cb
planemo upload for repository https://github.com/brsynth/neo4jsbml commit 513db7f056db275f3f5d8d1337d39ff66012d89f
tduigou
parents:
diff
changeset
|
36 Create a schema with `Arrows <https://arrows.app>`_ |
748d0a0925cb
planemo upload for repository https://github.com/brsynth/neo4jsbml commit 513db7f056db275f3f5d8d1337d39ff66012d89f
tduigou
parents:
diff
changeset
|
37 |
748d0a0925cb
planemo upload for repository https://github.com/brsynth/neo4jsbml commit 513db7f056db275f3f5d8d1337d39ff66012d89f
tduigou
parents:
diff
changeset
|
38 Rules: |
748d0a0925cb
planemo upload for repository https://github.com/brsynth/neo4jsbml commit 513db7f056db275f3f5d8d1337d39ff66012d89f
tduigou
parents:
diff
changeset
|
39 - Nodes are labelled based on SBML object name as defined in the `SBML specification <https://sbml.org>`_ |
748d0a0925cb
planemo upload for repository https://github.com/brsynth/neo4jsbml commit 513db7f056db275f3f5d8d1337d39ff66012d89f
tduigou
parents:
diff
changeset
|
40 - Properties are labelled based on SBML object properties as defined the `SBML specification <https://sbml.org>`_ |
748d0a0925cb
planemo upload for repository https://github.com/brsynth/neo4jsbml commit 513db7f056db275f3f5d8d1337d39ff66012d89f
tduigou
parents:
diff
changeset
|
41 |
748d0a0925cb
planemo upload for repository https://github.com/brsynth/neo4jsbml commit 513db7f056db275f3f5d8d1337d39ff66012d89f
tduigou
parents:
diff
changeset
|
42 Step 2 |
748d0a0925cb
planemo upload for repository https://github.com/brsynth/neo4jsbml commit 513db7f056db275f3f5d8d1337d39ff66012d89f
tduigou
parents:
diff
changeset
|
43 ------ |
748d0a0925cb
planemo upload for repository https://github.com/brsynth/neo4jsbml commit 513db7f056db275f3f5d8d1337d39ff66012d89f
tduigou
parents:
diff
changeset
|
44 Export your schema at the JSON format. |
748d0a0925cb
planemo upload for repository https://github.com/brsynth/neo4jsbml commit 513db7f056db275f3f5d8d1337d39ff66012d89f
tduigou
parents:
diff
changeset
|
45 |
748d0a0925cb
planemo upload for repository https://github.com/brsynth/neo4jsbml commit 513db7f056db275f3f5d8d1337d39ff66012d89f
tduigou
parents:
diff
changeset
|
46 Step 3 |
748d0a0925cb
planemo upload for repository https://github.com/brsynth/neo4jsbml commit 513db7f056db275f3f5d8d1337d39ff66012d89f
tduigou
parents:
diff
changeset
|
47 ------ |
748d0a0925cb
planemo upload for repository https://github.com/brsynth/neo4jsbml commit 513db7f056db275f3f5d8d1337d39ff66012d89f
tduigou
parents:
diff
changeset
|
48 |
748d0a0925cb
planemo upload for repository https://github.com/brsynth/neo4jsbml commit 513db7f056db275f3f5d8d1337d39ff66012d89f
tduigou
parents:
diff
changeset
|
49 Import your data with `neo4jsbml` into Neo4j. |
748d0a0925cb
planemo upload for repository https://github.com/brsynth/neo4jsbml commit 513db7f056db275f3f5d8d1337d39ff66012d89f
tduigou
parents:
diff
changeset
|
50 - Use either a configuration file `ini` or individual parameters |
748d0a0925cb
planemo upload for repository https://github.com/brsynth/neo4jsbml commit 513db7f056db275f3f5d8d1337d39ff66012d89f
tduigou
parents:
diff
changeset
|
51 - Password needs to be store in a file for safety security |
748d0a0925cb
planemo upload for repository https://github.com/brsynth/neo4jsbml commit 513db7f056db275f3f5d8d1337d39ff66012d89f
tduigou
parents:
diff
changeset
|
52 - 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 |
748d0a0925cb
planemo upload for repository https://github.com/brsynth/neo4jsbml commit 513db7f056db275f3f5d8d1337d39ff66012d89f
tduigou
parents:
diff
changeset
|
53 |
748d0a0925cb
planemo upload for repository https://github.com/brsynth/neo4jsbml commit 513db7f056db275f3f5d8d1337d39ff66012d89f
tduigou
parents:
diff
changeset
|
54 Inputs |
748d0a0925cb
planemo upload for repository https://github.com/brsynth/neo4jsbml commit 513db7f056db275f3f5d8d1337d39ff66012d89f
tduigou
parents:
diff
changeset
|
55 ------ |
748d0a0925cb
planemo upload for repository https://github.com/brsynth/neo4jsbml commit 513db7f056db275f3f5d8d1337d39ff66012d89f
tduigou
parents:
diff
changeset
|
56 |
5
6941e7dc5117
planemo upload for repository https://github.com/brsynth/neo4jsbml commit 8dd843aac9f23dd9e0036c48914f20889d894ecc
tduigou
parents:
4
diff
changeset
|
57 - **AuraDB config like**: a txt file with these variables NEO4J_URI, NEO4J_USERNAME, NEO4J_PASSWORD and AURA_INSTANCENAME. One per line like: NEO4J_USERNAME=neo4j |
0
748d0a0925cb
planemo upload for repository https://github.com/brsynth/neo4jsbml commit 513db7f056db275f3f5d8d1337d39ff66012d89f
tduigou
parents:
diff
changeset
|
58 - **SBML model**: SBML model |
5
6941e7dc5117
planemo upload for repository https://github.com/brsynth/neo4jsbml commit 8dd843aac9f23dd9e0036c48914f20889d894ecc
tduigou
parents:
4
diff
changeset
|
59 - **Identifier of the model**: Associate an ID to the nodes (optional) |
0
748d0a0925cb
planemo upload for repository https://github.com/brsynth/neo4jsbml commit 513db7f056db275f3f5d8d1337d39ff66012d89f
tduigou
parents:
diff
changeset
|
60 - **Arrow's schema**: Schema created with Arrow |
748d0a0925cb
planemo upload for repository https://github.com/brsynth/neo4jsbml commit 513db7f056db275f3f5d8d1337d39ff66012d89f
tduigou
parents:
diff
changeset
|
61 |
748d0a0925cb
planemo upload for repository https://github.com/brsynth/neo4jsbml commit 513db7f056db275f3f5d8d1337d39ff66012d89f
tduigou
parents:
diff
changeset
|
62 Ouput |
748d0a0925cb
planemo upload for repository https://github.com/brsynth/neo4jsbml commit 513db7f056db275f3f5d8d1337d39ff66012d89f
tduigou
parents:
diff
changeset
|
63 ----- |
748d0a0925cb
planemo upload for repository https://github.com/brsynth/neo4jsbml commit 513db7f056db275f3f5d8d1337d39ff66012d89f
tduigou
parents:
diff
changeset
|
64 |
748d0a0925cb
planemo upload for repository https://github.com/brsynth/neo4jsbml commit 513db7f056db275f3f5d8d1337d39ff66012d89f
tduigou
parents:
diff
changeset
|
65 - Traceback of the tool |
748d0a0925cb
planemo upload for repository https://github.com/brsynth/neo4jsbml commit 513db7f056db275f3f5d8d1337d39ff66012d89f
tduigou
parents:
diff
changeset
|
66 ]]></help> |
748d0a0925cb
planemo upload for repository https://github.com/brsynth/neo4jsbml commit 513db7f056db275f3f5d8d1337d39ff66012d89f
tduigou
parents:
diff
changeset
|
67 <citations> |
748d0a0925cb
planemo upload for repository https://github.com/brsynth/neo4jsbml commit 513db7f056db275f3f5d8d1337d39ff66012d89f
tduigou
parents:
diff
changeset
|
68 <citation type="bibtex"> |
748d0a0925cb
planemo upload for repository https://github.com/brsynth/neo4jsbml commit 513db7f056db275f3f5d8d1337d39ff66012d89f
tduigou
parents:
diff
changeset
|
69 @unpublished{neo4jsbml |
748d0a0925cb
planemo upload for repository https://github.com/brsynth/neo4jsbml commit 513db7f056db275f3f5d8d1337d39ff66012d89f
tduigou
parents:
diff
changeset
|
70 author = {Guillaume Gricourt, Thomas Duigou, Sandra Dérozier, Jean-Loup Faulon}, |
748d0a0925cb
planemo upload for repository https://github.com/brsynth/neo4jsbml commit 513db7f056db275f3f5d8d1337d39ff66012d89f
tduigou
parents:
diff
changeset
|
71 title = {{Neo4jSbml}}, |
748d0a0925cb
planemo upload for repository https://github.com/brsynth/neo4jsbml commit 513db7f056db275f3f5d8d1337d39ff66012d89f
tduigou
parents:
diff
changeset
|
72 url = {https://github.com/brsynth/neo4jsbml/}, |
748d0a0925cb
planemo upload for repository https://github.com/brsynth/neo4jsbml commit 513db7f056db275f3f5d8d1337d39ff66012d89f
tduigou
parents:
diff
changeset
|
73 } |
748d0a0925cb
planemo upload for repository https://github.com/brsynth/neo4jsbml commit 513db7f056db275f3f5d8d1337d39ff66012d89f
tduigou
parents:
diff
changeset
|
74 </citation> |
748d0a0925cb
planemo upload for repository https://github.com/brsynth/neo4jsbml commit 513db7f056db275f3f5d8d1337d39ff66012d89f
tduigou
parents:
diff
changeset
|
75 </citations> |
748d0a0925cb
planemo upload for repository https://github.com/brsynth/neo4jsbml commit 513db7f056db275f3f5d8d1337d39ff66012d89f
tduigou
parents:
diff
changeset
|
76 </tool> |