Skip to content

Commit 0587daf

Browse files
committed
remove ignite completely! use rocksdb instead
1 parent e4f7793 commit 0587daf

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+636
-72
lines changed

chemicaltoolbox/lirasearch/lirasearch.xml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,19 @@
88
</requirements>
99
<command detect_errors="exit_code">
1010
<![CDATA[
11-
ln -sf ${database_select.fields.path}/* /opt/ignite/storage &&
12-
nohup /opt/ignite/bin/ignite.sh config/lira_ignite.xml &
11+
ln -sf ${database_select.fields.path}/* /opt/storage/ &&
1312
export HOME=`pwd` &&
1413
#if $ligand.ext == 'pdb':
1514
ln -s $ligand ligand.pdb &&
1615
#else
17-
python /opt/ignite/scripts/convert_sdf_to_pdb.py $ligand ligand.pdb &&
16+
python /opt/scripts/convert_sdf_to_pdb.py $ligand ligand.pdb &&
1817
#end if
1918
python -m esp_dnn.predict -m ligand -i . -o . &&
2019
esp-surface-generator ligand.pdb.pqr ligand.pdb.tmesh &&
2120
sh-coeff-calculator . &&
22-
echo 'y' | /opt/ignite/bin/control.sh --set-state ACTIVE_READ_ONLY &&
23-
micromamba run -n lirasearch python /opt/ignite/scripts/lira_search_sdf.py --in_file rid_coeffs.csv --out_file output --database /opt/ignite/storage/rid_coeffs.csv --ignite_address 127.0.0.1:10800 --num_results $num_results --out_folder search_results &&
24-
micromamba run -n lirasearch python /opt/ignite/scripts/lira_super.py --target ligand.pdb --folder search_results &&
21+
micromamba run -n lirasearch python /opt/scripts/lira_search_sdf.py --in_file rid_coeffs.csv --out_file output --out_keys keys.txt --database /opt/storage/rid_coeffs.csv --num_results $num_results &&
22+
mkdir search_results && rocksdb_to_sdf /opt/storage keys.txt search_results &&
23+
micromamba run -n lirasearch python /opt/scripts/lira_super.py --target ligand.pdb --folder search_results &&
2524
cat search_results/*rotated.sdf >> '$output_sdf'
2625
]]>
2726
</command>

chemicaltoolbox/lirasearch/test-data/lirasearch_output.sdf

Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,3 +154,107 @@ ZINCcB0000001nnn.0
154154
14 15 1 0
155155
M END
156156
$$$$
157+
ZINCae0000002oHX.0
158+
RDKit 3D
159+
160+
28 28 0 0 1 0 0 0 0 0999 V2000
161+
-0.7036 -0.3031 3.6344 C 0 0 2 0 0 0 0 0 0 0 0 0
162+
-0.1394 -0.6688 2.2601 C 0 0 1 0 0 0 0 0 0 0 0 0
163+
-0.8041 0.1978 1.1887 C 0 0 1 0 0 0 0 0 0 0 0 0
164+
-1.8869 0.0922 1.2561 H 0 0 0 0 0 0 0 0 0 0 0 0
165+
-0.4456 1.5660 1.3927 O 0 0 0 0 0 0 0 0 0 0 0 0
166+
-0.3330 -0.2518 -0.1957 C 0 0 2 0 0 0 0 0 0 0 0 0
167+
-0.5280 -1.3174 -0.3169 H 0 0 0 0 0 0 0 0 0 0 0 0
168+
1.1684 0.0096 -0.3328 C 0 0 1 0 0 0 0 0 0 0 0 0
169+
1.6352 -0.4422 -1.7195 C 0 0 2 0 0 0 0 0 0 0 0 0
170+
0.8185 0.2922 -2.7866 C 0 0 2 0 0 0 0 0 0 0 0 0
171+
-0.6700 0.0203 -2.5587 C 0 0 2 0 0 0 0 0 0 0 0 0
172+
-1.0601 0.4984 -1.2269 N 0 0 1 0 0 0 0 0 0 0 0 0
173+
-2.0524 0.3664 -1.1005 H 0 0 0 0 0 0 0 0 0 0 0 0
174+
-0.8402 1.4797 -1.1452 H 0 0 0 0 0 0 0 0 0 0 0 0
175+
-1.7797 -0.4763 3.6432 H 0 0 0 0 0 0 0 0 0 0 0 0
176+
-0.5031 0.7481 3.8415 H 0 0 0 0 0 0 0 0 0 0 0 0
177+
-0.2300 -0.9206 4.3977 H 0 0 0 0 0 0 0 0 0 0 0 0
178+
0.9368 -0.4956 2.2513 H 0 0 0 0 0 0 0 0 0 0 0 0
179+
-0.3398 -1.7200 2.0529 H 0 0 0 0 0 0 0 0 0 0 0 0
180+
0.5055 1.7345 1.3464 H 0 0 0 0 0 0 0 0 0 0 0 0
181+
1.3650 1.0749 -0.2117 H 0 0 0 0 0 0 0 0 0 0 0 0
182+
1.7065 -0.5497 0.4326 H 0 0 0 0 0 0 0 0 0 0 0 0
183+
1.4860 -1.5171 -1.8220 H 0 0 0 0 0 0 0 0 0 0 0 0
184+
2.6922 -0.2065 -1.8430 H 0 0 0 0 0 0 0 0 0 0 0 0
185+
1.1065 -0.0650 -3.7753 H 0 0 0 0 0 0 0 0 0 0 0 0
186+
1.0078 1.3634 -2.7166 H 0 0 0 0 0 0 0 0 0 0 0 0
187+
-0.8581 -1.0509 -2.6292 H 0 0 0 0 0 0 0 0 0 0 0 0
188+
-1.2543 0.5417 -3.3169 H 0 0 0 0 0 0 0 0 0 0 0 0
189+
1 2 1 0
190+
1 15 1 6
191+
1 16 1 0
192+
1 17 1 0
193+
2 3 1 0
194+
2 18 1 1
195+
2 19 1 0
196+
3 4 1 6
197+
3 5 1 0
198+
3 6 1 0
199+
5 20 1 0
200+
6 7 1 6
201+
6 12 1 0
202+
6 8 1 0
203+
8 9 1 0
204+
8 21 1 1
205+
8 22 1 0
206+
9 10 1 0
207+
9 23 1 1
208+
9 24 1 0
209+
10 11 1 0
210+
10 25 1 6
211+
10 26 1 0
212+
11 12 1 0
213+
11 27 1 1
214+
11 28 1 0
215+
12 13 1 1
216+
12 14 1 0
217+
M END
218+
$$$$
219+
ZINCae0000002oRr.0
220+
RDKit 3D
221+
222+
18 18 0 0 0 0 0 0 0 0999 V2000
223+
-0.4030 -0.4652 3.4033 C 0 0 0 0 0 0 0 0 0 0 0 0
224+
-0.7568 -0.6595 2.1571 C 0 0 0 0 0 0 0 0 0 0 0 0
225+
-0.9065 0.5147 1.2245 C 0 0 1 0 0 0 0 0 0 0 0 0
226+
-0.0683 0.3082 0.0409 N 0 0 0 0 0 0 0 0 0 0 0 0
227+
-0.4909 0.3343 -1.2318 C 0 0 0 0 0 0 0 0 0 0 0 0
228+
0.6092 0.0944 -2.0377 C 0 0 0 0 0 0 0 0 0 0 0 0
229+
0.6194 0.0313 -3.5030 C 0 0 0 0 0 0 0 0 0 0 0 0
230+
-0.4090 0.1981 -4.1245 O 0 0 0 0 0 0 0 0 0 0 0 0
231+
1.7220 -0.0784 -1.1801 C 0 0 0 0 0 0 0 0 0 0 0 0
232+
1.3080 0.0568 0.0488 N 0 0 0 0 0 0 0 0 0 0 0 0
233+
-0.2957 -1.3067 4.0718 H 0 0 0 0 0 0 0 0 0 0 0 0
234+
-0.2185 0.5365 3.7624 H 0 0 0 0 0 0 0 0 0 0 0 0
235+
-0.9413 -1.6612 1.7980 H 0 0 0 0 0 0 0 0 0 0 0 0
236+
-1.9491 0.6063 0.9199 H 0 0 0 0 0 0 0 0 0 0 0 0
237+
-0.5958 1.4262 1.7351 H 0 0 0 0 0 0 0 0 0 0 0 0
238+
-1.5028 0.5096 -1.5663 H 0 0 0 0 0 0 0 0 0 0 0 0
239+
1.5424 -0.1637 -4.0286 H 0 0 0 0 0 0 0 0 0 0 0 0
240+
2.7366 -0.2816 -1.4896 H 0 0 0 0 0 0 0 0 0 0 0 0
241+
1 2 2 0
242+
1 11 1 0
243+
1 12 1 0
244+
2 3 1 0
245+
2 13 1 0
246+
3 4 1 0
247+
3 14 1 6
248+
3 15 1 0
249+
4 10 1 0
250+
4 5 1 0
251+
5 6 2 0
252+
5 16 1 0
253+
6 7 1 0
254+
6 9 1 0
255+
7 8 2 0
256+
7 17 1 0
257+
9 10 2 0
258+
9 18 1 0
259+
M END
260+
$$$$
41.1 KB
Binary file not shown.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
MANIFEST-000005
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
a04d2a72-b1ab-4ef4-8bd4-bab49ae2ee58

chemicaltoolbox/lirasearch/test-data/storage/node00-bfcdcb74-02d8-4121-b8f8-af2d7efdb83e/maintenance_tasks.mntc renamed to chemicaltoolbox/lirasearch/test-data/storage/LOCK

File renamed without changes.

0 commit comments

Comments
 (0)