Mercurial > repos > bgruening > sucos_clustering
comparison sucos_cluster.xml @ 0:f80cfac80c53 draft
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/sucos commit ef86cfa5f7ab5043de420511211579d03df58645"
author | bgruening |
---|---|
date | Wed, 02 Oct 2019 12:58:19 -0400 |
parents | |
children | 334ad24525db |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:f80cfac80c53 |
---|---|
1 <tool id="sucos_clustering" name="Cluster ligands using SuCOS" version="0.1"> | |
2 <description>based on the overlap of 3D features</description> | |
3 <macros> | |
4 <import>sucos_macros.xml</import> | |
5 </macros> | |
6 <expand macro="requirements"> | |
7 <requirement type="package" version="1.3.0">scipy</requirement> | |
8 </expand> | |
9 <command detect_errors="aggressive"><![CDATA[ | |
10 python '$__tool_directory__/sucos_cluster.py' | |
11 -i '$input' | |
12 -t $threshold | |
13 ]]></command> | |
14 <inputs> | |
15 <param type="data" name="input" format="sdf" label="Ligands to be clustered" help="Input in SDF format." /> | |
16 <param name="threshold" type="float" value="0.8" min="0" max="1" label="Clustering threshold"/> | |
17 </inputs> | |
18 <outputs> | |
19 <collection name="clusters" type="list" label="Clustered ligands"> | |
20 <discover_datasets pattern="(?P<designation>^cluster\d+)\.sdf$" ext="sdf"/> | |
21 </collection> | |
22 </outputs> | |
23 <tests> | |
24 <test> | |
25 <param name="input" ftype="sdf" value="sucos_cluster.sdf"/> | |
26 <output_collection name="clusters" type="list" count="6"> | |
27 <element name="cluster1" ftype="sdf" file="cluster1.sdf" compare="sim_size" /> | |
28 <element name="cluster2" ftype="sdf" file="cluster2.sdf" compare="sim_size" /> | |
29 <element name="cluster3" ftype="sdf" file="cluster3.sdf" compare="sim_size" /> | |
30 <element name="cluster4" ftype="sdf" file="cluster4.sdf" compare="sim_size" /> | |
31 <element name="cluster5" ftype="sdf" file="cluster5.sdf" compare="sim_size" /> | |
32 <element name="cluster6" ftype="sdf" file="cluster6.sdf" compare="sim_size" /> | |
33 </output_collection> | |
34 </test> | |
35 </tests> | |
36 <help><![CDATA[ | |
37 .. class:: infomark | |
38 | |
39 **What it does?** | |
40 | |
41 This tool clusters molecules based on the overlap of 3D features as determined by SuCOS. | |
42 | |
43 Clustering uses a clustering threshold that can be set by the user. The default threshold is 0.8. | |
44 | |
45 The original SuCOS code is on GitHub_ under a MIT license. The SuCOS work is described here_. | |
46 | |
47 .. _GitHub: https://github.com/susanhleung/SuCOS | |
48 .. _here: https://chemrxiv.org/articles/SuCOS_is_Better_than_RMSD_for_Evaluating_Fragment_Elaboration_and_Docking_Poses/8100203 | |
49 | |
50 .. class:: infomark | |
51 | |
52 **Input** | |
53 | |
54 Molecules such as an SD file dataset in the history. | |
55 | |
56 .. class:: infomark | |
57 | |
58 **Output** | |
59 | |
60 A series of SD files, one for each cluster containing the molecules in that cluster. | |
61 | |
62 ]]></help> | |
63 <expand macro="citations"/> | |
64 </tool> | |
65 |