comparison sygma.xml @ 0:83d2d6424002 draft

"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/sygma commit 2bf5c0cc96e8768a36219297eab1e6cf3766651e"
author bgruening
date Mon, 30 Sep 2019 17:37:58 -0400
parents
children 05c0f6359222
comparison
equal deleted inserted replaced
-1:000000000000 0:83d2d6424002
1 <tool id="sygma" name="Generate possible metabolites with SyGMa" version="@VERSION@">
2 <macros>
3 <token name="@VERSION@">1.1.1</token>
4 </macros>
5 <description>by performing common reactions on one or more parent molecule(s)</description>
6 <requirements>
7 <requirement type="package" version="@VERSION@">sygma</requirement>
8 <requirement type="package" version="2019.03.4">rdkit</requirement>
9 </requirements>
10 <command detect_errors="exit_code"><![CDATA[
11 python '$__tool_directory__/sygma_metabolites.py'
12 -i '$input'
13 --iformat '$input.ext'
14 -o '$output'
15 --phase1 '$phase1'
16 --phase2 '$phase2'
17 ]]></command>
18 <inputs>
19 <param type="data" name="input" format="smi,sdf" label="Parent molecule(s)" help="Upload an SDF or SMILES file."/>
20 <param type="integer" name="phase1" value="1" min="0" label="Number of reaction cycles to apply for phase 1" help="Phase 1 metabolism rules include different types of oxidation, reduction, hydrolysis and condensation reactions."/>
21 <param type="integer" name="phase2" value="1" min="0" label="Number of reaction cycles to apply for phase 2" help="Phase 2 metabolism rules include several conjugation reactions, e.g. with glucuronyl, sulfate, methyl or acetyl."/>
22 </inputs>
23 <outputs>
24 <data name="output" format="smi"/>
25 </outputs>
26 <tests>
27 <test>
28 <param name="input" value="i.smi" ftype="smi"/>
29 <param name="phase1" value="1"/>
30 <param name="phase2" value="1"/>
31 <output name="output" file="o.smi"/>
32 </test>
33 <test>
34 <param name="input" value="i.sdf" ftype="sdf"/>
35 <param name="phase1" value="2"/>
36 <param name="phase2" value="0"/>
37 <output name="output" file="o2.smi"/>
38 </test>
39 </tests>
40 <help>
41 <![CDATA[
42
43 .. class:: infomark
44
45 **What this tool does**
46
47 SyGMa (Systematic Generation of potential Metabolites) is a tool to generate
48 possible metabolic products of an input parent structure. The tool provides
49 two rulesets to cover both phase 1 and 2 metabolism.
50
51 -----
52
53 .. class:: infomark
54
55 **Input**
56
57 A file in SMILES or SDF format. Files may contain multiple molecule
58 entries; in this case outputs are distinguished by the code included in the
59 output file (e.g. SYGMA0MOL0 vs SYGMA1MOL0).
60
61 The number of reaction cycles to be performed for both phase 1 and phase 2
62 metabolism should also be specified.
63
64 -----
65
66 .. class:: infomark
67
68 **Output**
69
70 For each molecule in the input file, a SMILES file is produced containing
71 SMILES strings of the metabolite outputs, a generated ID code, and an empirical
72 probability score (corresponding to an estimated probability that a product is
73 actually metabolically produced in humans). The first line is always the parent
74 molecule itself::
75
76 Oc1ccccc1 SYGMA0MOL0 1.0
77 O=C(O)C1OC(Oc2ccccc2)C(O)C(O)C1O SYGMA0MOL1 0.25
78 O=S(=O)(O)Oc1ccccc1 SYGMA0MOL2 0.119
79 Oc1ccc(O)cc1 SYGMA0MOL3 0.056
80 COc1ccccc1 SYGMA0MOL4 0.054
81 Oc1ccccc1O SYGMA0MOL5 0.032
82 O=C(O)C1OC(Oc2ccc(O)cc2)C(O)C(O)C1O SYGMA0MOL6 0.014
83 O=C(O)C1OC(Oc2ccccc2O)C(O)C(O)C1O SYGMA0MOL7 0.008
84 O=S(=O)(O)Oc1ccc(O)cc1 SYGMA0MOL8 0.00666
85 O=S(=O)(O)Oc1ccccc1O SYGMA0MOL9 0.00381
86 COc1ccc(O)cc1 SYGMA0MOL10 0.00302
87 COc1ccccc1O SYGMA0MOL11 0.00173
88
89
90 ]]></help>
91 <citations>
92 <citation type="doi">10.1002/cmdc.200700312</citation>
93 </citations>
94 </tool>