annotate constrained_conf_gen.xml @ 0:9c5121dd2fd4 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:25:31 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
9c5121dd2fd4 "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_constrained_conf_gen" name="Constrained conformer generation" version="@TOOL_VERSION@+galaxy@GALAXY_VERSION@">
9c5121dd2fd4 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
2 <description>with RDKit</description>
9c5121dd2fd4 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
3 <macros>
9c5121dd2fd4 "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>
9c5121dd2fd4 "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>
9c5121dd2fd4 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
6 </macros>
9c5121dd2fd4 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
7 <expand macro="requirements" />
9c5121dd2fd4 "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[
9c5121dd2fd4 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
9 ln -s $refmol ./refmol.sdf &&
9c5121dd2fd4 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
10 python -m pipelines.rdkit.constrained_conf_gen
9c5121dd2fd4 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
11 -i '$infile'
9c5121dd2fd4 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
12 -if sdf
9c5121dd2fd4 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
13 -r './refmol.sdf'
9c5121dd2fd4 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
14 #if $core_smi
9c5121dd2fd4 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
15 -c '$core_smi'
9c5121dd2fd4 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
16 #end if
9c5121dd2fd4 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
17 -n $number
9c5121dd2fd4 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
18 --refmolidx $refmolidx
9c5121dd2fd4 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
19 --meta
9c5121dd2fd4 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
20 -o outp
9c5121dd2fd4 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
21 -of sdf &>> $logfile &&
9c5121dd2fd4 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
22 cat outp_metrics.txt &>> $logfile &&
9c5121dd2fd4 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
23 gzip -dc outp.sdf.gz &>> outp.sdf || :
9c5121dd2fd4 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
24 ]]></command>
9c5121dd2fd4 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
25 <inputs>
9c5121dd2fd4 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
26 <param name="infile" type="data" format="sdf" label="Input file" help="Input file in SDF format"/>
9c5121dd2fd4 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
27 <param name="refmol" type="data" format="sdf" label="SDF reference file" help="ABCD"/>
9c5121dd2fd4 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
28 <param name="refmolidx" type="integer" value="1" label="Reference molecule index" help="Index of the reference molecule index in the file, if not the first"/>
9c5121dd2fd4 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
29 <param name="number" type="integer" value="10" label="Number of conformers" help="Number of conformers to generate, if None then input structures are assumed to already be 3D')"/>
9c5121dd2fd4 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
30 <param name="core_smi" type="text" value="" label="Core substructure" help="If not specified - guessed using MCS"/>
9c5121dd2fd4 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
31 </inputs>
9c5121dd2fd4 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
32
9c5121dd2fd4 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
33 <expand macro="outputs" />
9c5121dd2fd4 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
34
9c5121dd2fd4 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
35 <tests>
9c5121dd2fd4 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
36 <test>
9c5121dd2fd4 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
37 <param name="infile" value="XChemReactionMaker1.sdf" ftype="sdf"/>
9c5121dd2fd4 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
38 <param name="refmol" value="ref_mol.sdf" ftype="sdf"/>
9c5121dd2fd4 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
39 <param name="number" value="2" />
9c5121dd2fd4 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
40 <output name="outfile" ftype="sdf" file="constrained_conf_gen_output1.sdf"/>
9c5121dd2fd4 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
41 </test>
9c5121dd2fd4 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
42 </tests>
9c5121dd2fd4 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
43 <help><![CDATA[
9c5121dd2fd4 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
44
9c5121dd2fd4 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
45 .. class:: infomark
9c5121dd2fd4 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
46
9c5121dd2fd4 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
47 **What this tool does**
9c5121dd2fd4 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
48
9c5121dd2fd4 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
49 This tool generates constrained conformers for a set of input molecules, using the chemistry toolkit RDKit.
9c5121dd2fd4 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
50
9c5121dd2fd4 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
51 -----
9c5121dd2fd4 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
52
9c5121dd2fd4 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
53 .. class:: infomark
9c5121dd2fd4 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
54
9c5121dd2fd4 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
55 **Input**
9c5121dd2fd4 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
56
9c5121dd2fd4 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
57 | - Molecules in `SDF format`_
9c5121dd2fd4 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
58 | - Reference molecule in SDF format.
9c5121dd2fd4 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
59
9c5121dd2fd4 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
60 .. _SDF format: http://en.wikipedia.org/wiki/Chemical_table_file
9c5121dd2fd4 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
61
9c5121dd2fd4 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
62
9c5121dd2fd4 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
63 -----
9c5121dd2fd4 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
64
9c5121dd2fd4 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
65 .. class:: infomark
9c5121dd2fd4 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
66
9c5121dd2fd4 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
67 **Output**
9c5121dd2fd4 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
68
9c5121dd2fd4 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
69 SD-file containing generated conformers.
9c5121dd2fd4 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
70
9c5121dd2fd4 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
71 ]]></help>
9c5121dd2fd4 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
72 <expand macro="citations" />
9c5121dd2fd4 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/im-pipelines commit 598dd288a384481b7602a0f6322c5081dc8da5d9"
bgruening
parents:
diff changeset
73 </tool>