-
Notifications
You must be signed in to change notification settings - Fork 263
Expand file tree
/
Copy pathsucos_cluster.xml
More file actions
66 lines (53 loc) · 2.58 KB
/
sucos_cluster.xml
File metadata and controls
66 lines (53 loc) · 2.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<tool id="sucos_clustering" name="Cluster ligands using SuCOS" version="@TOOL_VERSION@+galaxy@GALAXY_VERSION@">
<description>based on the overlap of 3D features</description>
<macros>
<import>sucos_macros.xml</import>
<token name="@GALAXY_VERSION@">0</token>
</macros>
<expand macro="requirements">
<requirement type="package" version="1.17.1">scipy</requirement>
</expand>
<command detect_errors="exit_code"><![CDATA[
python '$__tool_directory__/sucos_cluster.py'
-i '$input'
-t $threshold
]]></command>
<inputs>
<param type="data" name="input" format="sdf" label="Ligands to be clustered" help="Input in SDF format." />
<param name="threshold" type="float" value="0.8" min="0" max="1" label="Clustering threshold"/>
</inputs>
<outputs>
<collection name="clusters" type="list" label="Clustered ligands">
<discover_datasets pattern="(?P<designation>^cluster\d+)\.sdf$" ext="sdf"/>
</collection>
</outputs>
<tests>
<test>
<param name="input" ftype="sdf" value="sucos_cluster.sdf"/>
<output_collection name="clusters" type="list" count="8">
<element name="cluster1" ftype="sdf" file="cluster1.sdf" compare="sim_size" />
<element name="cluster2" ftype="sdf" file="cluster2.sdf" compare="sim_size" />
<element name="cluster3" ftype="sdf" file="cluster3.sdf" compare="sim_size" />
<element name="cluster4" ftype="sdf" file="cluster4.sdf" compare="sim_size" />
<element name="cluster5" ftype="sdf" file="cluster5.sdf" compare="sim_size" />
<element name="cluster6" ftype="sdf" file="cluster6.sdf" compare="sim_size" />
</output_collection>
</test>
</tests>
<help><![CDATA[
.. class:: infomark
**What it does?**
This tool clusters molecules based on the overlap of 3D features as determined by SuCOS.
Clustering uses a clustering threshold that can be set by the user. The default threshold is 0.8.
The original SuCOS code is on GitHub_ under a MIT license. The SuCOS work is described here_.
.. _GitHub: https://github.com/susanhleung/SuCOS
.. _here: https://chemrxiv.org/articles/SuCOS_is_Better_than_RMSD_for_Evaluating_Fragment_Elaboration_and_Docking_Poses/8100203
.. class:: infomark
**Input**
Molecules such as an SD file dataset in the history.
.. class:: infomark
**Output**
A series of SD files, one for each cluster containing the molecules in that cluster.
]]></help>
<expand macro="citations"/>
</tool>