annotate rxn_smarts_filter.xml @ 0:ce27129127e0 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:26:16 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
ce27129127e0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
1 <tool id="ctb_im_rxn_smarts_filter" name="Reaction SMARTS filter" version="@TOOL_VERSION@+galaxy@GALAXY_VERSION@">
ce27129127e0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
2 <description>using RDKit</description>
ce27129127e0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
3 <macros>
ce27129127e0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
4 <import>macros.xml</import>
ce27129127e0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
5 <token name="@GALAXY_VERSION@">0</token>
ce27129127e0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
6 </macros>
ce27129127e0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
7 <expand macro="requirements" />
ce27129127e0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
8 <command detect_errors="exit_code"><![CDATA[
ce27129127e0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
9 rxn_smarts_filter
ce27129127e0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
10 -i '$infile'
ce27129127e0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
11 -if sdf
ce27129127e0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
12 $multi
ce27129127e0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
13 --meta
ce27129127e0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
14 -of sdf
ce27129127e0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
15 -o 'outp' &>> $logfile &&
ce27129127e0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
16 cat 'outp_metrics.txt' &>> $logfile &&
ce27129127e0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
17 gzip -d outp.sdf.gz
ce27129127e0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
18 ]]></command>
ce27129127e0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
19 <inputs>
ce27129127e0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
20 <param name="infile" type="data" format="sdf" label="Input file" help="Input file in SDF format"/>
ce27129127e0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
21 <param name="multi" type="boolean" label="Multi mode" truevalue="--multi" falsevalue="" help="Output one file for each reaction"/>
ce27129127e0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
22 </inputs>
ce27129127e0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
23 <outputs>
ce27129127e0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
24 <data name="outfile" format="sdf" label="SDF output for ${tool.name}" from_work_dir="outp.sdf"/>
ce27129127e0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
25 <data name="logfile" format="txt" label="Logfile for ${tool.name}"/>
ce27129127e0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
26 <collection name="output_list" type="list">
ce27129127e0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
27 <filter>multi</filter>
ce27129127e0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
28 <discover_datasets pattern="(?P&lt;designation&gt;.+)\.sdf$" ext="sdf" />
ce27129127e0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
29 </collection>
ce27129127e0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
30 </outputs>
ce27129127e0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
31 <tests>
ce27129127e0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
32 <test>
ce27129127e0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
33 <param name="infile" value="Kinase_inhibs.sdf" ftype="sdf"/>
ce27129127e0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
34 <param name="multi" value="" />
ce27129127e0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
35 <output name="outfile" ftype="sdf">
ce27129127e0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
36 <assert_contents>
ce27129127e0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
37 <has_line line=" -5.0090 3.0685 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0"/>
ce27129127e0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
38 <has_line line="OB(O)c1nc(N2CCOCC2)c2oc3ncccc3c2n1"/>
ce27129127e0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
39 <has_line line="CO[C@@H]1[C@H](NC(=O)c2ccccc2)C[C@H]2O[C@]1(C)n1c3ccccc3c3c4c(c5c6ccccc6n2c5c31)C(=O)NC4"/>
ce27129127e0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
40 <has_text_matching expression="^([^\$]+?\$\$\$\$){36}?$"/>
ce27129127e0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
41 </assert_contents>
ce27129127e0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
42 </output>
ce27129127e0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
43 <output name="logfile">
ce27129127e0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
44 <assert_contents>
ce27129127e0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
45 <has_text text="Matched 36 molecules from a total of 36"/>
ce27129127e0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
46 </assert_contents>
ce27129127e0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
47 </output>
ce27129127e0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
48 </test>
ce27129127e0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
49 <test>
ce27129127e0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
50 <param name="infile" value="Kinase_inhibs.sdf" ftype="sdf"/>
ce27129127e0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
51 <param name="multi" value="--multi" />
ce27129127e0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
52 <output name="outfile" ftype="sdf">
ce27129127e0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
53 <assert_contents>
ce27129127e0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
54 <has_line line=" -5.0090 3.0685 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0"/>
ce27129127e0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
55 <has_line line="OB(O)c1nc(N2CCOCC2)c2oc3ncccc3c2n1"/>
ce27129127e0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
56 <has_line line="CO[C@@H]1[C@H](NC(=O)c2ccccc2)C[C@H]2O[C@]1(C)n1c3ccccc3c3c4c(c5c6ccccc6n2c5c31)C(=O)NC4"/>
ce27129127e0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
57 <has_text_matching expression="^([^\$]+?\$\$\$\$){36}?$"/>
ce27129127e0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
58 </assert_contents>
ce27129127e0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
59 </output>
ce27129127e0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
60 <output name="logfile">
ce27129127e0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
61 <assert_contents>
ce27129127e0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
62 <has_text text="Matched 36 molecules from a total of 36"/>
ce27129127e0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
63 </assert_contents>
ce27129127e0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
64 </output>
ce27129127e0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
65
ce27129127e0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
66 <output_collection name="output_list" type="list">
ce27129127e0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
67 <element name="Sonogashira" ftype="sdf" >
ce27129127e0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
68 <assert_contents>
ce27129127e0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
69 <has_text text="COCCOc1cc2ncnc(Nc3cccc(C#C)c3)c2cc1OCCOC"/>
ce27129127e0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
70 <has_text_matching expression="^([^\$]+?\$\$\$\$){1}?$"/>
ce27129127e0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
71 </assert_contents>
ce27129127e0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
72 </element>
ce27129127e0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
73 </output_collection>
ce27129127e0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
74
ce27129127e0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
75 </test>
ce27129127e0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
76 </tests>
ce27129127e0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
77 <help><![CDATA[
ce27129127e0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
78 ABCCDEFGHIJKLMNOPQRSTUVWXYZ
ce27129127e0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
79 ]]></help>
ce27129127e0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
80 <expand macro="citations" />
ce27129127e0 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
81 </tool>