# HG changeset patch # User Bjoern Gruening # Date 1370032383 -7200 # Node ID 526f6e88fbe7bb221f70595892af4ba9d4185909 # Parent 2efd2a7c301564ba510fbbbc0a903befe9616a91 ChemicalToolBoX update. diff -r 2efd2a7c3015 -r 526f6e88fbe7 simsearch.xml --- a/simsearch.xml Mon May 27 17:00:09 2013 +0200 +++ b/simsearch.xml Fri May 31 22:33:03 2013 +0200 @@ -1,6 +1,5 @@ - + of fingerprint data sets - chemfp openbabel @@ -8,7 +7,29 @@ #if $method_opts.method_opts_selector == "chemfp": ## TODO: remove all comment lines, in muti mode many comment lines will be appear, also in the middle of the result file, remove them - simsearch -k $method_opts.k --threshold $method_opts.threshold --query-format fps --target-format fps -q "${method_opts.query}" "${method_opts.targets}" -o "${outfile}" + #if int($method_opts.knn) == 0: + #set $k = 'all' + #else: + #set $k = int($method_opts.knn) + #end if + simsearch + -k $k + --threshold $method_opts.threshold + --query-format fps + $method_opts.counts + --target-format fps + -o "${outfile}" + + ## build and search an in-memory data structure (faster for multiple queries) + --memory + + #if $method_opts.query_opts.query_opts_selector == "normal": + -q "${method_opts.query_opts.query}" + #else: + --NxN + #end if + + "${method_opts.query_opts.targets}" #else: ## OpenBabel needs the original molecule file (molecule.'fileformat') next to the fastsearch index (molecule.fs). We use a composite datatype to accomplish that. ## Furthermore OpenBabel is really picky with fileextensions. We need to specify every datatype. I did not find a solution to specify the query-filetype. @@ -30,10 +51,24 @@ - - - - + + + + + + + + + + + + + + + + + +