2
|
1 <?xml version='1.0' encoding='UTF-8'?>
|
|
2 <!--This is a configuration file for the integration of a tools into Galaxy (https://galaxyproject.org/). This file was automatically generated using CTD2Galaxy.-->
|
|
3 <!--Proposed Tool Section: [Checks and evaluations]-->
|
|
4 <tool id="LigCheck" name="LigCheck" version="1.1.0">
|
|
5 <description>check molecules for errors</description>
|
|
6 <macros>
|
|
7 <token name="@EXECUTABLE@">LigCheck</token>
|
|
8 <import>macros.xml</import>
|
|
9 </macros>
|
|
10 <expand macro="stdio"/>
|
|
11 <expand macro="requirements"/>
|
|
12 <command>LigCheck
|
|
13
|
|
14 #if $param_i:
|
|
15 -i $param_i
|
|
16 #end if
|
|
17 #if $param_o:
|
|
18 -o $param_o
|
|
19 #end if
|
|
20 #if $param_ef:
|
|
21 -ef $param_ef
|
|
22 #end if
|
|
23 #if $param_ri:
|
|
24 -ri $param_ri
|
|
25 #end if
|
|
26 #if $param_ut:
|
|
27 -ut $param_ut
|
|
28 #end if
|
|
29 #if $param_nc:
|
|
30 -nc $param_nc
|
|
31 #end if
|
|
32 #if $param_rm:
|
|
33 -rm $param_rm
|
|
34 #end if
|
|
35 </command>
|
|
36 <inputs>
|
|
37 <param name="param_i" type="data" format="xyz.gz,ac,drf.gz,mol2.gz,mol2,sdf.gz,pdb.gz,ent.gz,mol.gz,hin.gz,sdf,ent,brk.gz,mol,ac.gz,brk,xyz,pdb,hin,drf" optional="False" value="<class 'CTDopts.CTDopts._Null'>" label="input molecule file" help="(-i) "/>
|
|
38 <param name="param_ef" type="float" value="0.5" label="error fraction; print error if fraction of invalid mols is large" help="(-ef) "/>
|
|
39 <param name="param_ri" type="integer" min="0" max="1" optional="True" value="1" label="remove invalid molecules" help="(-ri) "/>
|
|
40 <param name="param_ut" type="integer" min="0" max="1" optional="True" value="0" label="check for unique topologies" help="(-ut) "/>
|
|
41 <param name="param_nc" type="integer" min="0" max="1" optional="True" value="0" label="no not check for unique conformations" help="(-nc) "/>
|
|
42 <param name="param_rm" type="integer" min="0" max="1" optional="True" value="0" label="remove input file when finished" help="(-rm) "/>
|
|
43 </inputs>
|
|
44 <expand macro="advanced_options"/>
|
|
45 <outputs>
|
|
46 <data name="param_o" metadata_source="param_i" format="input"/>
|
|
47 </outputs>
|
|
48 <help>This tool checks all molecules of the given input file for errors. Supported formats are mol2, sdf or drf (DockResultFile, xml-based).
|
|
49
|
|
50 The following checks are done for each molecule:
|
|
51
|
|
52 * bond-lengths may not be completely senseless (i.e. <0.7 or >2.5 Angstroem)
|
|
53 * each 'molecule' in the input file may only contain one actual molecule, i.e. there may be no unconnected atoms or fragments.
|
|
54 * each atom must have a valid assigned element
|
|
55 * the molecule must be protonated (since this is necessary for docking/(re-)scoring).
|
|
56 * 3D coordinates must be present (instead of 2D coordinates; also necessary for docking/(re-)scoring)
|
|
57 * partial charges may not contain completely senseless values (>5 or <-5).
|
|
58 * each conformation should appear only once within the given file, otherwise it is rejected and not written to the output file. However, if option '-ut' is used, molecules will instead be checked for unique topologies.
|
|
59
|
|
60 If option '-ri' is used, only those molecules that pass all those tests are written to the output file. If this option is not used, all molecules are written to output containing a property 'score_ligcheck' with a value of 1 if the molecule passed all tests or with a value of 0 if it did not pass them.
|
|
61
|
|
62 </help>
|
|
63 </tool>
|