# HG changeset patch
# User tduigou
# Date 1680509746 0
# Node ID 2452952f7bc2da1c9ad7979807fc4dd33f268855
# Parent e3db7fb2c85edce6813fdbeae2eea4028d6a4c18
planemo upload commit 0b2a2717ffa780fabd61d34f676204e8842b5c16
diff -r e3db7fb2c85e -r 2452952f7bc2 LICENSE.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/LICENSE.txt Mon Apr 03 08:15:46 2023 +0000
@@ -0,0 +1,22 @@
+MIT License
+
+Copyright (c) 2020 Jean-Loup Faulon's group & INRA
+Copyright (c) 2020 University of Evry / Paris-Saclay
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff -r e3db7fb2c85e -r 2452952f7bc2 README.md
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/README.md Mon Apr 03 08:15:46 2023 +0000
@@ -0,0 +1,34 @@
+# rp2paths -- Enumerate and seperate the different pathways generated by RetroPath2.0
+
+The open-source software package rp2paths is available here : https://github.com/brsynth/rp2paths
+
+## How to run rp2paths wrapper tests
+
+In order to execute tests on rp2paths wrapper, you need to:
+
+ - Connect to your galaxy instance in interactive mode:
+
+ ```bash
+ docker exec -it -u root galaxy_galaxy_1 bash
+ ```
+ - Copy all the contents of `test-data` folder into your own test-data directory which is located in your local galaxy instance : `/galaxy/test-data`. It contains all the input files and expected output files needed for the tests.
+
+ - Install Planemo:
+ You can see here the documentation for Planemo Installation : https://planemo.readthedocs.io/en/latest/installation.html
+ Note that they recommand to install Planemo by setting up a virtual environment:
+
+ ```bash
+ python3 -m venv planemo
+ . planemo/bin/activate
+ pip install -U planemo
+ ```
+
+ - run the tests:
+
+ ```bash
+ planemo test --conda_channels conda-forge,brsynth --conda_debug tools/BRSynthTools/rp2paths/wrap.xml
+ ```
+
+ IMPORTANT: Maybe you will need to remove CONDA from your PATH for the command `planemo test` to run correctly. To do that, you can edit this file `~/.bashrc`, comment this line `PATH="/root/anaconda3/bin:$PATH"` and save changes.
+
+ Planemo will output an html test summary `tool_test_output.html`.
\ No newline at end of file
diff -r e3db7fb2c85e -r 2452952f7bc2 config/job_conf.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/config/job_conf.xml Mon Apr 03 08:15:46 2023 +0000
@@ -0,0 +1,1 @@
+
diff -r e3db7fb2c85e -r 2452952f7bc2 config/tool_conf.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/config/tool_conf.xml Mon Apr 03 08:15:46 2023 +0000
@@ -0,0 +1,3 @@
+
diff -r e3db7fb2c85e -r 2452952f7bc2 rp2paths.xml
--- a/rp2paths.xml Tue Feb 22 11:31:06 2022 +0000
+++ b/rp2paths.xml Mon Apr 03 08:15:46 2023 +0000
@@ -1,106 +1,84 @@
-
+
Enumerate and seperate the different pathways generated by RetroPath2.0
+
+ 1.5.0
+ MIT
+
- rp2paths
+ rp2paths
-
+
-
-
+
+
-
+
-
-
+
+
-
+
`_.
+**RP2paths** extracts the set of heterologous pathways that lies in a metabolic space file outputted by the `RetroPath2.0 workflow `_ into individual pathways and enumerate them. This analysis is required to ensure that only pathways fulfilling all the precursor needs are retained for further analysis. This tool takes as input a retrosynthesis network in the CSV file produced by `RetroPath2.0 `_ , and outputs the enumerated pathways (using `EC numbers `_ ) as well as the structure of involved chemicals (as SMILES: Simplified Molecular-Input Line-Entry System) in TSV format.
+
+
+An example of **enumerated pathways** is illustred in the figure below for the production of a target molecule: `Styrene `_. **Compounds** are represented by their structures, and **reactions** by their `EC numbers `_.
+
+
+.. image:: ${static_path}/images/enumerated_pathways.png
+ :width: 40 %
+ :align: center
+
+|
Input
-----
Required information:
-
-* **rp_results**\ : (string) Path to the ReatroPath2.0 pathways file
+* **RetroPath2.0 Pathways**\ : Retrosynthesis network CSV file outputted by the RetroPath2 tool which desribes the network linking the targeted compound to the chassis.
Advanced options:
-
-* **timeout**\ : (string, default: 30 minutes) Time out time of the tool
-* **server_url**\ : (string) IP address of the rp2paths REST service
+* **Time Out**\ : (integer) Timeout before killing a process (in seconds), default: 30 minutes.
Output
------
-
-* **out_paths**\ : (string) Path to the RP2paths pathways. Describes all the indiviudal enumerated pathways that produce the compound of interest.
-* **out_compounds**\ : (string) Path to the RP2paths Compounds. Describes the structure of all the chemical species involved in all pathways.
-
-Versioning
-----------
-
-v1.4.3
-
-Authors
--------
-
-
-* **Melchior du Lac**
-* Thomas Duigou
-* Baudoin Delépine
-* Pablo Carbonell
-
-License
--------
-
-`MIT `_
-
-Acknowledgments
----------------
-
-
-* Joan Hérisson
-
+* **Enumerated Pathways**\ : Describes all the indiviudal enumerated pathways that produce the compound of interest.
+* **Compounds**\ : Describes the structure of all the chemical species involved in all pathways as SMILES (Simplified Molecular-Input Line-Entry System).
]]>
+
+
+
-
-@article{delepine2018retropath2,
- title={RetroPath2.0: a retrosynthesis workflow for metabolic engineers},
- author={Del{\'e}pine, Baudoin and Duigou, Thomas and Carbonell, Pablo and Faulon, Jean-Loup},
- journal={Metabolic engineering},
- volume={45},
- pages={158--170},
- year={2018},
- publisher={Elsevier}}
-
+ 10.1016/j.ymben.2017.12.002
-
\ No newline at end of file
+
diff -r e3db7fb2c85e -r 2452952f7bc2 static/images/enumerated_pathways.png
Binary file static/images/enumerated_pathways.png has changed