Mercurial > repos > tduigou > rp2paths
comparison rp2paths.xml @ 3:fb5a3bd084a8 draft
planemo upload for repository https://github.com/brsynth/rp2paths commit eadd9bb9edbc70361b9e8d7900e6743b37142ee3
| author | tduigou |
|---|---|
| date | Mon, 24 Apr 2023 13:31:01 +0000 |
| parents | 550f1c02caba |
| children | bdde1d9dfaee |
comparison
equal
deleted
inserted
replaced
| 2:550f1c02caba | 3:fb5a3bd084a8 |
|---|---|
| 1 <tool id="rp2paths" name="RP2paths" version="1.5.0"> | 1 <tool id="rp2paths" name="RP2paths" version="@TOOL_VERSION@" profile="21.09" license="MIT"> |
| 2 <description>Enumerate and seperate the different pathways generated by RetroPath2.0</description> | 2 <description>Enumerate and seperate the different pathways generated by RetroPath2.0</description> |
| 3 <macros> | |
| 4 <token name="@TOOL_VERSION@">1.5.0</token> | |
| 5 </macros> | |
| 3 <requirements> | 6 <requirements> |
| 4 <requirement type="package" version="1.5.0">rp2paths</requirement> | 7 <requirement type="package" version="@TOOL_VERSION@">rp2paths</requirement> |
| 5 </requirements> | 8 </requirements> |
| 6 <stdio> | 9 <stdio> |
| 7 <regex match="TIMEOUT:" level="fatal" /> | 10 <regex match="TIMEOUT:" level="fatal" /> |
| 8 <regex match="ERROR:" level="fatal" /> | 11 <regex match="ERROR:" level="fatal" /> |
| 9 <regex match="WARNING:" level="warning" /> | 12 <regex match="WARNING:" level="warning" /> |
| 10 </stdio> | 13 </stdio> |
| 11 <command detect_errors="exit_code"><![CDATA[ | 14 <command detect_errors="exit_code"><![CDATA[ |
| 12 mkdir out && | 15 mkdir out && |
| 13 python -m rp2paths all | 16 python -m rp2paths all |
| 14 '$rp2_pathways' | 17 '$rp2_pathways' |
| 15 --outdir out | 18 --outdir out |
| 16 --timeout '$adv.timeout' && | 19 --timeout '$adv.timeout' && |
| 17 if test -f "out/compounds.txt"; then | 20 cp out/compounds.txt '$compounds' && |
| 18 cp out/compounds.txt '$compounds'; | 21 if test -f 'out/out_paths.csv'; then |
| 19 cp out/out_paths.csv '$master_pathways'; | 22 cp out/out_paths.csv '$master_pathways'; |
| 20 fi | 23 fi |
| 21 ]]></command> | 24 ]]></command> |
| 22 <inputs> | 25 <inputs> |
| 23 <param name="rp2_pathways" type="data" format="csv" label="RetroPath2.0 Pathways" /> | 26 <param name="rp2_pathways" type="data" format="csv" label="RetroPath2.0 Pathways" help="Retrosynthesis network CSV file outputted by the RetroPath2 tool which desribes the network linking the targeted compound to the chassis."/> |
| 24 <section name="adv" title="Advanced Options" expanded="false"> | 27 <section name="adv" title="Advanced Options" expanded="false"> |
| 25 <param name="timeout" type="integer" value="1800" label="Time Out" /> | 28 <param name="timeout" type="integer" value="1800" label="Time Out" help="Time out before killing a process (in seconds), default: 30 minutes." /> |
| 26 </section> | 29 </section> |
| 27 </inputs> | 30 </inputs> |
| 28 <outputs> | 31 <outputs> |
| 29 <data name="master_pathways" format="csv" label="${tool.name} (Pathways)" /> | 32 <data name="master_pathways" format="csv" label="${tool.name} on ${rp2_pathways.name} : Enumerated Pathways" /> |
| 30 <data name="compounds" format="tsv" label="${tool.name} (Compounds)" /> | 33 <data name="compounds" format="tabular" label="${tool.name} on ${rp2_pathways.name} : Compounds" /> |
| 31 </outputs> | 34 </outputs> |
| 32 <tests> | 35 <tests> |
| 33 <test> | 36 <test> |
| 34 <!-- test 1: check if identical outputs are produced with default parameters --> | 37 <!-- test 1: check if identical outputs are produced with default parameters --> |
| 35 <param name="rp2_pathways" value="retropath2_pathways.csv" /> | 38 <param name="rp2_pathways" value="retropath2_pathways.csv" /> |
| 36 <output name="master_pathways" file="rp2paths_pathways.csv" ftype="csv" compare="diff"/> | 39 <output name="master_pathways" file="rp2paths_pathways.csv" ftype="csv" compare="diff"/> |
| 37 <output name="compounds" file="rp2paths_compounds.tsv" ftype="tsv" compare="diff"/> | 40 <output name="compounds" file="rp2paths_compounds.tsv" ftype="tabular" compare="diff"/> |
| 38 </test> | 41 </test> |
| 39 </tests> | 42 </tests> |
| 40 <help><![CDATA[ | 43 <help><![CDATA[ |
| 41 rp2paths | 44 RP2paths |
| 42 ======== | 45 ======== |
| 43 | 46 |
| 44 | 47 |
| 45 RP2paths extracts the set of pathways that lies in a metabolic space file output by the RetroPath2.0 workflow. Source code may be found at the following location: `GitHub <https://github.com/brsynth/rp2paths>`_. | 48 **RP2paths** extracts the set of heterologous pathways that lies in a metabolic space file outputted by the `RetroPath2.0 workflow <https://www.myexperiment.org/workflows/4987.html>`_ 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 <https://toolshed.g2.bx.psu.edu/view/tduigou/retropath2/9c8ac9980bd6>`_ , and outputs the enumerated pathways (using `EC numbers <https://www.sciencedirect.com/topics/biochemistry-genetics-and-molecular-biology/enzyme-commission-number>`_ ) as well as the structure of involved chemicals (as SMILES: Simplified Molecular-Input Line-Entry System) in TSV format. |
| 49 | |
| 50 | |
| 51 An example of **enumerated pathways** is illustred in the figure below for the production of a target molecule: `Styrene <https://www.sciencedirect.com/topics/chemical-engineering/styrene>`_. **Compounds** are represented by their structures, and **reactions** by their `EC numbers <https://www.sciencedirect.com/topics/biochemistry-genetics-and-molecular-biology/enzyme-commission-number>`_. | |
| 52 | |
| 53 | |
| 54 .. image:: ${static_path}/images/enumerated_pathways.png | |
| 55 :width: 40 % | |
| 56 :align: center | |
| 57 | |
| 58 | | |
| 46 | 59 |
| 47 Input | 60 Input |
| 48 ----- | 61 ----- |
| 49 | 62 |
| 50 Required information: | 63 Required information: |
| 51 | 64 |
| 52 | 65 * **RetroPath2.0 Pathways**\ : Retrosynthesis network CSV file outputted by the RetroPath2 tool which desribes the network linking the targeted compound to the chassis. |
| 53 * **rp_results**\ : (string) Path to the ReatroPath2.0 pathways file | |
| 54 | 66 |
| 55 Advanced options: | 67 Advanced options: |
| 56 | 68 |
| 57 | 69 * **Time Out**\ : (integer) Timeout before killing a process (in seconds), default: 30 minutes. |
| 58 * **timeout**\ : (string, default: 30 minutes) Time out time of the tool | |
| 59 * **server_url**\ : (string) IP address of the rp2paths REST service | |
| 60 | 70 |
| 61 Output | 71 Output |
| 62 ------ | 72 ------ |
| 63 | 73 |
| 64 | 74 * **Enumerated Pathways**\ : Describes all the indiviudal enumerated pathways that produce the compound of interest. |
| 65 * **out_paths**\ : (string) Path to the RP2paths pathways. Describes all the indiviudal enumerated pathways that produce the compound of interest. | 75 * **Compounds**\ : Describes the structure of all the chemical species involved in all pathways as SMILES (Simplified Molecular-Input Line-Entry System). |
| 66 * **out_compounds**\ : (string) Path to the RP2paths Compounds. Describes the structure of all the chemical species involved in all pathways. | |
| 67 | |
| 68 Versioning | |
| 69 ---------- | |
| 70 | |
| 71 v1.4.3 | |
| 72 | |
| 73 Authors | |
| 74 ------- | |
| 75 | |
| 76 | |
| 77 * **Melchior du Lac** | |
| 78 * Thomas Duigou | |
| 79 * Baudoin Delépine | |
| 80 * Pablo Carbonell | |
| 81 | |
| 82 License | |
| 83 ------- | |
| 84 | |
| 85 `MIT <https://github.com/brsynth/rp2paths/blob/master/LICENSE.md>`_ | |
| 86 | |
| 87 Acknowledgments | |
| 88 --------------- | |
| 89 | |
| 90 | |
| 91 * Joan Hérisson | |
| 92 | |
| 93 ]]></help> | 76 ]]></help> |
| 77 <creator> | |
| 78 <organization name="BioRetroSynth" url="https://github.com/brsynth"/> | |
| 79 </creator> | |
| 94 <citations> | 80 <citations> |
| 95 <citation type="bibtex"> | 81 <citation type="doi">10.1016/j.ymben.2017.12.002</citation> |
| 96 @article{delepine2018retropath2, | |
| 97 title={RetroPath2.0: a retrosynthesis workflow for metabolic engineers}, | |
| 98 author={Del{\'e}pine, Baudoin and Duigou, Thomas and Carbonell, Pablo and Faulon, Jean-Loup}, | |
| 99 journal={Metabolic engineering}, | |
| 100 volume={45}, | |
| 101 pages={158--170}, | |
| 102 year={2018}, | |
| 103 publisher={Elsevier}} | |
| 104 </citation> | |
| 105 </citations> | 82 </citations> |
| 106 </tool> | 83 </tool> |
