0
|
1
|
|
2 <!--This is a configuration file for the integration of a CADDSuite tool into Galaxy (http://usegalaxy.org). This file was automatically generated using GalaxyConfigGenerator, so do not bother to make too many manual modifications.-->
|
|
3 <tool id="molfilter" name="MolFilter" version="0.9">
|
|
4 <description>filter molecule files</description>
|
|
5 <command interpreter="bash"><![CDATA[../../MolFilter
|
|
6 #if str( $i ) != '' and str( $i ) != 'None' :
|
|
7 -i "$i"
|
|
8 #end if
|
|
9 #if str( $min_logP ) != '' and str( $min_logP ) != 'None' :
|
|
10 -min_logP "$min_logP"
|
|
11 #end if
|
|
12 #if str( $max_logP ) != '' and str( $max_logP ) != 'None' :
|
|
13 -max_logP "$max_logP"
|
|
14 #end if
|
|
15 #if str( $min_MW ) != '' and str( $min_MW ) != 'None' :
|
|
16 -min_MW "$min_MW"
|
|
17 #end if
|
|
18 #if str( $max_MW ) != '' and str( $max_MW ) != 'None' :
|
|
19 -max_MW "$max_MW"
|
|
20 #end if
|
|
21 #if str( $q ) != '' and str( $q ) != 'None' :
|
|
22 -q "$q"
|
|
23 #end if
|
|
24 #if str( $min_sim ) != '' and str( $min_sim ) != 'None' :
|
|
25 -min_sim "$min_sim"
|
|
26 #end if
|
|
27 #if str( $max_sim ) != '' and str( $max_sim ) != 'None' :
|
|
28 -max_sim "$max_sim"
|
|
29 #end if
|
|
30 #if str( $smarts ) != '' and str( $smarts ) != 'None' :
|
|
31 -smarts "$smarts"
|
|
32 #end if
|
|
33 #if str( $smarts_file ) != '' and str( $smarts_file ) != 'None' :
|
|
34 -smarts_file "$smarts_file"
|
|
35 #end if
|
|
36 #if str( $o ) != '' and str( $o ) != 'None' :
|
|
37 -o "$o"
|
|
38 #end if
|
|
39 -quiet
|
|
40 | tail -n 5
|
|
41 ]]></command>
|
|
42 <inputs>
|
|
43 <param name="i" label="input molecule-file" optional="false" type="data" format="mol2/sdf/drf"/>
|
|
44 <param name="q" label="query molecules for similarity searching" optional="true" type="data" format="txt"/>
|
|
45 <param name="smarts_file" label="SMARTS pattern" optional="true" type="data" format="data"/>
|
|
46 <param name="min_logP" label="minimal logP value" optional="true" type="text" area="true" size="1x5" value=""/>
|
|
47 <param name="max_logP" label="maximal logP value" optional="true" type="text" area="true" size="1x5" value=""/>
|
|
48 <param name="min_MW" label="minimal molecular weight" optional="true" type="text" area="true" size="1x5" value=""/>
|
|
49 <param name="max_MW" label="maximal molecular weight" optional="true" type="text" area="true" size="1x5" value=""/>
|
|
50 <param name="min_sim" label="minimal average similarity" optional="true" type="text" area="true" size="1x5" value=""/>
|
|
51 <param name="max_sim" label="maximal similarity" optional="true" type="text" area="true" size="1x5" value=""/>
|
|
52 <param name="smarts" label="SMARTS pattern" optional="true" area="true" type="text" size="1x15"/>
|
|
53 </inputs>
|
|
54 <outputs>
|
|
55 <data name="o" format="mol2/sdf/drf" format_source="i"/>
|
|
56 </outputs>
|
|
57 <help>MolFilter can filter molecules from a molecule input file according to SMARTS expressions, logP, molecular weight, or similarity to query molecule(s).
|
|
58
|
|
59 Output of this tool is a molecule file that contains all compounds that fulfilled the specified search criteria.</help>
|
|
60 </tool> |