Mercurial > repos > tduigou > rrparser
comparison rrparser.xml @ 5:d7882cf07d98 draft
planemo upload for repository https://github.com/brsynth/rrparser commit eadd9bb9edbc70361b9e8d7900e6743b37142ee3
| author | tduigou |
|---|---|
| date | Mon, 24 Apr 2023 13:32:41 +0000 |
| parents | 3f39c7d3c14e |
| children | 90e260b93a3a |
comparison
equal
deleted
inserted
replaced
| 4:3f39c7d3c14e | 5:d7882cf07d98 |
|---|---|
| 1 <tool id="rrparser" name="RRules Parser" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="21.09"> | 1 <tool id="rrparser" name="RRules Parser" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="21.09" license="MIT"> |
| 2 <description>Retrieve the reaction rules from RetroRules</description> | 2 <description>Retrieve the reaction rules from RetroRules</description> |
| 3 <macros> | 3 <macros> |
| 4 <token name="@VERSION_SUFFIX@">0</token> | 4 <token name="@VERSION_SUFFIX@">0</token> |
| 5 <token name="@TOOL_VERSION@">2.4.6</token> | 5 <token name="@TOOL_VERSION@">2.5.2</token> |
| 6 </macros> | 6 </macros> |
| 7 <requirements> | 7 <requirements> |
| 8 <requirement type="package" version="@TOOL_VERSION@">rrparser</requirement> | 8 <requirement type="package" version="@TOOL_VERSION@">rrparser</requirement> |
| 9 </requirements> | 9 </requirements> |
| 10 <stdio> | 10 <stdio> |
| 12 <regex match="ERROR:" level="fatal" /> | 12 <regex match="ERROR:" level="fatal" /> |
| 13 </stdio> | 13 </stdio> |
| 14 <command detect_errors="exit_code"><![CDATA[ | 14 <command detect_errors="exit_code"><![CDATA[ |
| 15 python -m rrparser | 15 python -m rrparser |
| 16 #if str($rules.type) != "rules-file": | 16 #if str($rules.type) != "rules-file": |
| 17 retrorules | 17 --rules_file retrorules |
| 18 --rule-type '$rules.type' | 18 --rule-type '$rules.type' |
| 19 #else: | 19 #else: |
| 20 '$rules.file' | 20 --rules_file '$rules.file' |
| 21 --input-format '$rules.input_format' | 21 --input-format '$rules.input_format' |
| 22 #end if | 22 #end if |
| 23 --diameters '$diameters' | 23 --diameters '$diameters' |
| 24 --output-format csv | 24 --output-format csv |
| 25 --rules-dir "\${TMPDIR:-.}" | |
| 25 #if str($compress) == "true": | 26 #if str($compress) == "true": |
| 26 --outfile '$out_rules'.csv.gz | 27 --outfile '$out_rules'.csv.gz |
| 27 && mv '$out_rules'.csv.gz '$out_rules' | 28 && mv '$out_rules'.csv.gz '$out_rules' |
| 28 #else: | 29 #else: |
| 29 --outfile '$out_rules' | 30 --outfile '$out_rules' |
| 35 <option value="retro" selected="True">RetroRules (retro)</option> | 36 <option value="retro" selected="True">RetroRules (retro)</option> |
| 36 <option value="forward">RetroRules (forward)</option> | 37 <option value="forward">RetroRules (forward)</option> |
| 37 <option value="all">RetroRules (all)</option> | 38 <option value="all">RetroRules (all)</option> |
| 38 <option value="rules-file">Other reaction rules...</option> | 39 <option value="rules-file">Other reaction rules...</option> |
| 39 </param> | 40 </param> |
| 41 <when value="retro"/> | |
| 42 <when value="forward"/> | |
| 43 <when value="all"/> | |
| 40 <when value="rules-file"> | 44 <when value="rules-file"> |
| 41 <param name="file" type="data" format="csv" optional="False" label="Rules File" help="Filename of reaction rules"/> | 45 <param name="file" type="data" format="csv" optional="False" label="Rules File" help="Filename of reaction rules"/> |
| 42 <param name="input_format" type="select" optional="False" label="File format" help="Input file format (default: csv)"> | 46 <param name="input_format" type="select" optional="False" label="File format" help="Input file format (default: csv)"> |
| 43 <option value="csv" selected="True">csv</option> | 47 <option value="csv" selected="True">csv</option> |
| 44 <option value="tsv">tsv</option> | 48 <option value="tsv">tsv</option> |
| 101 | 105 |
| 102 Ouput | 106 Ouput |
| 103 ----- | 107 ----- |
| 104 | 108 |
| 105 * **out_rules**: (string): file containing the parsed reactions rules (default=csv). It will be zipped if *Compress output* is set to yes. | 109 * **out_rules**: (string): file containing the parsed reactions rules (default=csv). It will be zipped if *Compress output* is set to yes. |
| 106 | |
| 107 Version | |
| 108 ------- | |
| 109 | |
| 110 v2.4.6 | |
| 111 | |
| 112 Authors | |
| 113 ------- | |
| 114 | |
| 115 * **Thomas Duigou** | |
| 116 * Melchior du Lac | |
| 117 * Joan Hérisson | |
| 118 | |
| 119 License | |
| 120 ------- | |
| 121 | |
| 122 This project is licensed under the MIT License - see the `LICENSE <https://github.com/brsynth/RRParser/blob/master/LICENSE>`_ file for details | |
| 123 | |
| 124 Acknowledgments | |
| 125 --------------- | |
| 126 | |
| 127 * Joan Hérisson | |
| 128 | |
| 129 ]]></help> | 110 ]]></help> |
| 111 <creator> | |
| 112 <organization name="BioRetroSynth" url="https://github.com/brsynth"/> | |
| 113 </creator> | |
| 130 <citations> | 114 <citations> |
| 131 <citation type="doi">10.1093/nar/gky940 </citation> | 115 <citation type="doi">10.1093/nar/gky940</citation> |
| 132 </citations> | 116 </citations> |
| 133 </tool> | 117 </tool> |
