File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 2
2
3
3
params. inputs = ' data/mpro/poses.sdf.gz'
4
4
params. fragments = ' data/mpro/hits-17.sdf.gz'
5
- params. chunk = 500
6
- params. limit = 0
7
- params. digits = 4
5
+ params. threshold = 0.4 // XCos score theshold
6
+ params. chunk = 500 // chunk size to split input into
7
+ params. limit = 0 // max number of molecules to process
8
+ params. digits = 4 // number of digits for the split file name number
8
9
9
10
inputs = file(params. inputs)
10
11
fragments = file(params. fragments)
@@ -36,7 +37,7 @@ process xcos {
36
37
file ' scored_part*.sdf' into scored_parts
37
38
38
39
"""
39
- python -m pipelines.xchem.xcos -i '$part ' -f '$fragments ' -o '${ part.name.replace('inputs', 'scored')[0..-8]} ' -of sdf --no-gzip
40
+ python -m pipelines.xchem.xcos -i '$part ' -f '$fragments ' -t $p arams . threshold - o '${ part.name.replace('inputs', 'scored')[0..-8]} ' -of sdf --no-gzip
40
41
"""
41
42
}
42
43
You can’t perform that action at this time.
0 commit comments