Mercurial > repos > bgruening > ctb_im_rxn_maker
comparison rxn_maker.xml @ 0:e3c4312457b6 draft
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
author | bgruening |
---|---|
date | Tue, 21 Jul 2020 05:23:11 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:e3c4312457b6 |
---|---|
1 <tool id="ctb_im_rxn_maker" name="Reaction maker" version="@TOOL_VERSION@+galaxy@GALAXY_VERSION@"> | |
2 <description>using RDKit</description> | |
3 <macros> | |
4 <import>macros.xml</import> | |
5 <token name="@GALAXY_VERSION@">0</token> | |
6 </macros> | |
7 <expand macro="requirements" /> | |
8 <command detect_errors="exit_code"><![CDATA[ | |
9 rxn_maker | |
10 -i '$infile' | |
11 -if sdf | |
12 $multi | |
13 -r '$reagent_opts' | |
14 -rl '$reagent_file' | |
15 -rlf sdf | |
16 --meta | |
17 -of sdf | |
18 -o outp &>> $logfile && | |
19 cat outp_metrics.txt &>> $logfile && | |
20 gzip -d outp.sdf.gz | |
21 ]]></command> | |
22 <inputs> | |
23 <param name="infile" type="data" format="sdf" label="Input file" help="Input file in SDF format"/> | |
24 <param name="multi" type="boolean" label="Multi mode" truevalue="--multi" falsevalue="" help="Output one file for each reaction, in a Galaxy collection"/> | |
25 <param name="reagent_opts" type="select" label="Reagent options" help="Name of reaction to be run"> | |
26 <option value="Amides" selected="true">Amides</option> | |
27 <option value="SNAr">Nucleophilic aromatic substitution (SNAr mechanism)</option> | |
28 <option value="Urea">Urea</option> | |
29 <option value="Suzuki_Coupling">Suzuki coupling</option> | |
30 <option value="Sulfonamide">Sulfonamide</option> | |
31 <option value="Reductive_Amination">Reductive amination</option> | |
32 <option value="N-Alkylation">N-alkylation</option> | |
33 <option value="Ether_Coupling">Ether coupling</option> | |
34 <option value="Ester_Coupling">Ester coupling</option> | |
35 <option value="Benzimidazole">Benzimidazole</option> | |
36 <option value="Triazole">Triazole</option> | |
37 <option value="Benzoxazole">Benzoxazole</option> | |
38 <option value="Sarah_Cu">Sarah Cu</option> | |
39 <option value="Sarah_Quat_Am">Sarah Quat Am</option> | |
40 </param> | |
41 <param name="reagent_file" type="data" format="sdf" label="Reagent file" help="File in SDF format containing reagents for a reaction"/> | |
42 | |
43 </inputs> | |
44 | |
45 <outputs> | |
46 <data name="outfile" format="sdf" label="SDF output for ${tool.name}" from_work_dir="outp.sdf"/> | |
47 <data name="logfile" format="txt" label="Logfile for ${tool.name}"/> | |
48 <collection name="output_list" type="list"> | |
49 <filter>multi</filter> | |
50 <discover_datasets pattern="(?P<designation>.+)\.sdf$" ext="sdf" /> | |
51 </collection> | |
52 </outputs> | |
53 | |
54 <tests> | |
55 <test> | |
56 <param name="infile" value="sulfonyl_chloride.sdf" ftype="sdf"/> | |
57 <param name="reagent_file" value="sdf-aliphatic-primary-amines-175.sdf" ftype="sdf"/> | |
58 <param name="reagent_opts" value="Sulfonamide" /> | |
59 <output name="logfile"> | |
60 <assert_contents> | |
61 <has_text text="Created 1707 molecules from a total of 1 input molecules"/> | |
62 </assert_contents> | |
63 </output> | |
64 <output name="outfile" ftype='sdf' file="rxn_maker_output1.sdf"/> | |
65 </test> | |
66 </tests> | |
67 <help><![CDATA[ | |
68 .. class:: infomark | |
69 | |
70 **What this tool does** | |
71 | |
72 Provides the output of reactions between input molecules and a list of reagents (both in SDF format). | |
73 | |
74 .. class:: infomark | |
75 | |
76 **Input** | |
77 | |
78 | - Input file in `SDF Format`_ | |
79 | - Reagent file in `SDF Format`_ | |
80 | |
81 In addition, a list of reaction types needs to be specified. | |
82 | |
83 .. _SDF Format: http://en.wikipedia.org/wiki/Chemical_table_file | |
84 .. _SMILES: http://en.wikipedia.org/wiki/Simplified_molecular_input_line_entry_specification | |
85 | |
86 ----- | |
87 | |
88 .. class:: infomark | |
89 | |
90 **Output** | |
91 | |
92 SD-file with reaction products. | |
93 | |
94 ]]></help> | |
95 <expand macro="citations" /> | |
96 </tool> |