sci-form-wasm 0.7.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/sci_form_wasm.d.ts +199 -146
- package/sci_form_wasm.js +550 -115
- package/sci_form_wasm_bg.wasm +0 -0
package/package.json
CHANGED
package/sci_form_wasm.d.ts
CHANGED
|
@@ -2,35 +2,54 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
|
-
* Analyze aromaticity and graph-level stereocenters from
|
|
5
|
+
* Analyze aromaticity and graph-level stereocenters from SMILES.
|
|
6
6
|
*/
|
|
7
7
|
export function analyze_graph_features(smiles: string): string;
|
|
8
8
|
|
|
9
|
+
/**
|
|
10
|
+
* Analyze stereochemistry: detect R/S stereocenters and E/Z double bonds.
|
|
11
|
+
*
|
|
12
|
+
* `coords_flat` is a JSON array of flat coordinates (may be empty `"[]"` for topology-only).
|
|
13
|
+
* Returns JSON `StereoAnalysis`.
|
|
14
|
+
*/
|
|
15
|
+
export function analyze_stereo(smiles: string, coords_flat: string): string;
|
|
16
|
+
|
|
9
17
|
/**
|
|
10
18
|
* Assemble a framework crystal structure.
|
|
11
19
|
*
|
|
12
|
-
* `topology`: "pcu", "dia", or "sql"
|
|
13
|
-
* `metal`: atomic number of the metal center
|
|
14
|
-
* `geometry`: "linear", "tetrahedral", "octahedral", "square_planar", "trigonal"
|
|
15
|
-
* `lattice_a`: cubic lattice parameter in
|
|
16
|
-
* `supercell`: replication factor (1 = no replication)
|
|
20
|
+
* `topology`: "pcu", "dia", or "sql".
|
|
21
|
+
* `metal`: atomic number of the metal center.
|
|
22
|
+
* `geometry`: "linear", "tetrahedral", "octahedral", "square_planar", "trigonal".
|
|
23
|
+
* `lattice_a`: cubic lattice parameter in Å.
|
|
24
|
+
* `supercell`: replication factor (1 = no replication).
|
|
17
25
|
*/
|
|
18
26
|
export function assemble_framework(topology: string, metal: number, geometry: string, lattice_a: number, supercell: number): string;
|
|
19
27
|
|
|
28
|
+
/**
|
|
29
|
+
* Butina clustering on conformers (flat coordinate arrays in JSON).
|
|
30
|
+
*
|
|
31
|
+
* `conformers_json`: JSON array of arrays, e.g. `[[x0,y0,z0,...], [x0,y0,z0,...]]`.
|
|
32
|
+
* Returns JSON `ClusterResult`.
|
|
33
|
+
*/
|
|
34
|
+
export function butina_cluster(conformers_json: string, rmsd_cutoff: number): string;
|
|
35
|
+
|
|
20
36
|
/**
|
|
21
37
|
* Compare available methods on the same system/geometry.
|
|
22
38
|
*/
|
|
23
39
|
export function compare_methods(smiles: string, elements: string, coords_flat: string, allow_experimental_eht: boolean): string;
|
|
24
40
|
|
|
41
|
+
/**
|
|
42
|
+
* Compute ANI neural-network potential energy.
|
|
43
|
+
*/
|
|
44
|
+
export function compute_ani(elements_json: string, coords_flat_json: string): string;
|
|
45
|
+
|
|
25
46
|
/**
|
|
26
47
|
* Compute Wiberg-like and Mayer-like bond orders.
|
|
27
48
|
*/
|
|
28
49
|
export function compute_bond_orders(elements: string, coords_flat: string): string;
|
|
29
50
|
|
|
30
51
|
/**
|
|
31
|
-
* Compute Gasteiger-Marsili partial charges from
|
|
32
|
-
*
|
|
33
|
-
* Returns JSON with charges, iterations, total_charge.
|
|
52
|
+
* Compute Gasteiger-Marsili partial charges from SMILES.
|
|
34
53
|
*/
|
|
35
54
|
export function compute_charges(smiles: string): string;
|
|
36
55
|
|
|
@@ -44,20 +63,30 @@ export function compute_dipole(elements: string, coords_flat: string): string;
|
|
|
44
63
|
*/
|
|
45
64
|
export function compute_dos(elements: string, coords_flat: string, sigma: number, e_min: number, e_max: number, n_points: number): string;
|
|
46
65
|
|
|
66
|
+
/**
|
|
67
|
+
* Compute ECFP fingerprint for a SMILES string.
|
|
68
|
+
*
|
|
69
|
+
* radius=2 → ECFP4. Returns JSON `ECFPFingerprint`.
|
|
70
|
+
*/
|
|
71
|
+
export function compute_ecfp(smiles: string, radius: number, n_bits: number): string;
|
|
72
|
+
|
|
47
73
|
/**
|
|
48
74
|
* Estimate acidic/basic pKa sites from graph and charge heuristics.
|
|
49
75
|
*/
|
|
50
76
|
export function compute_empirical_pka(smiles: string): string;
|
|
51
77
|
|
|
78
|
+
/**
|
|
79
|
+
* Compute the full electrostatic potential grid as JSON.
|
|
80
|
+
*/
|
|
81
|
+
export function compute_esp(elements: string, coords_flat: string, spacing: number, padding: number): string;
|
|
82
|
+
|
|
52
83
|
/**
|
|
53
84
|
* Get ESP grid metadata (origin, spacing, dimensions) as JSON.
|
|
54
85
|
*/
|
|
55
86
|
export function compute_esp_grid_info(elements: string, coords_flat: string, spacing: number, padding: number): string;
|
|
56
87
|
|
|
57
88
|
/**
|
|
58
|
-
* Compute ESP grid
|
|
59
|
-
*
|
|
60
|
-
* Returns Float64Array of grid values. Grid metadata available via compute_esp_grid_info().
|
|
89
|
+
* Compute ESP grid values as Float64Array (typed-array transfer).
|
|
61
90
|
*/
|
|
62
91
|
export function compute_esp_grid_typed(elements: string, coords_flat: string, spacing: number, padding: number): Float64Array;
|
|
63
92
|
|
|
@@ -72,87 +101,107 @@ export function compute_frontier_descriptors(elements: string, coords_flat: stri
|
|
|
72
101
|
export function compute_fukui_descriptors(elements: string, coords_flat: string): string;
|
|
73
102
|
|
|
74
103
|
/**
|
|
75
|
-
*
|
|
76
|
-
*
|
|
77
|
-
* `smiles`: SMILES string.
|
|
78
|
-
* `max_radius`: maximum number of spheres (typically 2–4).
|
|
104
|
+
* Generalized Born solvation energy (electrostatic + non-polar).
|
|
79
105
|
*
|
|
80
|
-
*
|
|
106
|
+
* `charges` is a JSON array of partial charges.
|
|
107
|
+
* Returns JSON `GbSolvation`.
|
|
108
|
+
*/
|
|
109
|
+
export function compute_gb_solvation(elements: string, coords_flat: string, charges: string, solvent_dielectric: number, solute_dielectric: number, probe_radius: number): string;
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* Run a HF-3c calculation with default configuration.
|
|
113
|
+
*/
|
|
114
|
+
export function compute_hf3c(elements_json: string, coords_flat_json: string): string;
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* Run a HF-3c calculation with custom configuration.
|
|
118
|
+
*/
|
|
119
|
+
export function compute_hf3c_custom(elements_json: string, coords_flat_json: string, max_scf_iter: number, n_cis_states: number, corrections: boolean): string;
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* Generate HOSE codes for all atoms in a molecule.
|
|
81
123
|
*/
|
|
82
124
|
export function compute_hose_codes(smiles: string, max_radius: number): string;
|
|
83
125
|
|
|
84
126
|
/**
|
|
85
127
|
* Generate a Lorentzian-broadened IR spectrum from vibrational analysis JSON.
|
|
86
|
-
*
|
|
87
|
-
* `analysis_json`: JSON VibrationalAnalysis (from compute_vibrational_analysis).
|
|
88
|
-
* `gamma`: line width in cm⁻¹.
|
|
89
|
-
* `wn_min`, `wn_max`: wavenumber range in cm⁻¹.
|
|
90
|
-
* `n_points`: grid resolution.
|
|
91
|
-
*
|
|
92
|
-
* Returns: JSON IrSpectrum with wavenumbers, intensities, peaks.
|
|
93
128
|
*/
|
|
94
129
|
export function compute_ir_spectrum(analysis_json: string, gamma: number, wn_min: number, wn_max: number, n_points: number): string;
|
|
95
130
|
|
|
96
131
|
/**
|
|
97
|
-
*
|
|
132
|
+
* Run short NVE molecular dynamics with UFF force field.
|
|
98
133
|
*
|
|
99
|
-
* `smiles`: SMILES string.
|
|
134
|
+
* `smiles`: SMILES string for topology.
|
|
135
|
+
* `coords_json`: JSON array of flat xyz coords.
|
|
136
|
+
* `n_steps`: number of MD steps.
|
|
137
|
+
* `dt_fs`: time step in femtoseconds.
|
|
138
|
+
* `seed`: random seed for initial velocities.
|
|
139
|
+
*
|
|
140
|
+
* Returns JSON MdTrajectory with frames, energies, temperatures.
|
|
141
|
+
*/
|
|
142
|
+
export function compute_md_trajectory(smiles: string, coords_json: string, n_steps: number, dt_fs: number, seed: number): string;
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* Run short NVT molecular dynamics with Berendsen thermostat.
|
|
100
146
|
*
|
|
101
|
-
*
|
|
102
|
-
*
|
|
147
|
+
* `target_temp_k`: target temperature in Kelvin.
|
|
148
|
+
* `thermostat_tau_fs`: thermostat coupling time in fs.
|
|
149
|
+
*/
|
|
150
|
+
export function compute_md_trajectory_nvt(smiles: string, coords_json: string, n_steps: number, dt_fs: number, seed: number, target_temp_k: number, thermostat_tau_fs: number): string;
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* Predict molecular properties using ML proxy models.
|
|
103
154
|
*/
|
|
104
155
|
export function compute_ml_properties(smiles: string): string;
|
|
105
156
|
|
|
106
157
|
/**
|
|
107
158
|
* Compute MMFF94 force field energy.
|
|
108
|
-
*
|
|
109
|
-
* `smiles`: SMILES string for bond topology.
|
|
110
|
-
* `coords`: JSON array of flat xyz coords [x0,y0,z0, ...] in Å.
|
|
111
|
-
*
|
|
112
|
-
* Returns: JSON `{"energy": <kcal/mol>}`
|
|
113
159
|
*/
|
|
114
160
|
export function compute_mmff94_energy(smiles: string, coords: string): string;
|
|
115
161
|
|
|
116
162
|
/**
|
|
117
|
-
* Compute molecular descriptors from
|
|
118
|
-
*
|
|
119
|
-
* Returns: JSON with molecular_weight, n_heavy_atoms, n_hbd, n_hba, fsp3,
|
|
120
|
-
* n_rotatable_bonds, n_rings, n_aromatic, wiener_index, etc.
|
|
163
|
+
* Compute molecular descriptors from SMILES.
|
|
121
164
|
*/
|
|
122
165
|
export function compute_molecular_descriptors(smiles: string): string;
|
|
123
166
|
|
|
124
167
|
/**
|
|
125
|
-
* Generate a complete NMR spectrum
|
|
126
|
-
*
|
|
127
|
-
* `smiles`: SMILES string.
|
|
128
|
-
* `nucleus`: "1H" or "13C".
|
|
129
|
-
* `gamma`: Lorentzian line width in ppm.
|
|
130
|
-
* `ppm_min`, `ppm_max`: spectral window.
|
|
131
|
-
* `n_points`: grid resolution.
|
|
168
|
+
* Generate a complete NMR spectrum.
|
|
132
169
|
*
|
|
133
|
-
*
|
|
170
|
+
* `nucleus`: "1H", "13C", "19F", "31P", "15N", "11B", "29Si", "77Se", "17O", or "33S".
|
|
134
171
|
*/
|
|
135
172
|
export function compute_nmr_spectrum(smiles: string, nucleus: string, gamma: number, ppm_min: number, ppm_max: number, n_points: number): string;
|
|
136
173
|
|
|
137
174
|
/**
|
|
138
|
-
*
|
|
175
|
+
* Non-polar solvation energy from SASA with atomic solvation parameters.
|
|
139
176
|
*
|
|
140
|
-
*
|
|
141
|
-
|
|
177
|
+
* Returns JSON `NonPolarSolvation`.
|
|
178
|
+
*/
|
|
179
|
+
export function compute_nonpolar_solvation(elements: string, coords_flat: string, probe_radius: number): string;
|
|
180
|
+
|
|
181
|
+
/**
|
|
182
|
+
* Compute an orbital isosurface mesh using any implemented method.
|
|
183
|
+
*
|
|
184
|
+
* `method`: "eht", "pm3", "xtb", or "hf3c".
|
|
185
|
+
* `mo_index`: molecular orbital index (0-based).
|
|
186
|
+
* `spacing`: grid spacing in Å (e.g. 0.2).
|
|
187
|
+
* `isovalue`: isosurface cutoff (e.g. 0.02).
|
|
142
188
|
*
|
|
143
|
-
* Returns
|
|
144
|
-
|
|
189
|
+
* Returns JSON OrbitalMeshResult with mesh, grid, orbital energies, HOMO-LUMO gap.
|
|
190
|
+
*/
|
|
191
|
+
export function compute_orbital_mesh(elements_json: string, coords_flat_json: string, method: string, mo_index: number, spacing: number, padding: number, isovalue: number): string;
|
|
192
|
+
|
|
193
|
+
/**
|
|
194
|
+
* Run a PM3 semi-empirical calculation.
|
|
145
195
|
*/
|
|
146
196
|
export function compute_pm3(elements_json: string, coords_flat_json: string): string;
|
|
147
197
|
|
|
148
198
|
/**
|
|
149
199
|
* Compute Mulliken & Löwdin population analysis.
|
|
150
|
-
* Elements: JSON array of atomic numbers. Coords: JSON array of flat xyz.
|
|
151
200
|
*/
|
|
152
201
|
export function compute_population(elements: string, coords_flat: string): string;
|
|
153
202
|
|
|
154
203
|
/**
|
|
155
|
-
* Build empirical local-reactivity rankings
|
|
204
|
+
* Build empirical local-reactivity rankings.
|
|
156
205
|
*/
|
|
157
206
|
export function compute_reactivity_ranking(elements: string, coords_flat: string): string;
|
|
158
207
|
|
|
@@ -162,33 +211,49 @@ export function compute_reactivity_ranking(elements: string, coords_flat: string
|
|
|
162
211
|
export function compute_rmsd(coords: string, reference: string): string;
|
|
163
212
|
|
|
164
213
|
/**
|
|
165
|
-
* Compute
|
|
214
|
+
* Compute all-pairs RMSD matrix for conformers.
|
|
166
215
|
*
|
|
167
|
-
*
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
216
|
+
* Returns JSON 2D array.
|
|
217
|
+
*/
|
|
218
|
+
export function compute_rmsd_matrix(conformers_json: string): string;
|
|
219
|
+
|
|
220
|
+
/**
|
|
221
|
+
* Compute solvent-accessible surface area.
|
|
172
222
|
*/
|
|
173
223
|
export function compute_sasa(elements: string, coords_flat: string, probe_radius: number): string;
|
|
174
224
|
|
|
175
225
|
/**
|
|
176
|
-
*
|
|
226
|
+
* Build a simplified NEB path between two geometries.
|
|
177
227
|
*
|
|
178
|
-
* `
|
|
179
|
-
* `
|
|
180
|
-
* `
|
|
181
|
-
* `
|
|
182
|
-
* `
|
|
183
|
-
|
|
228
|
+
* `start_coords_json`, `end_coords_json`: JSON flat xyz coords.
|
|
229
|
+
* `n_images`: number of intermediate images.
|
|
230
|
+
* `n_iter`: optimization iterations.
|
|
231
|
+
* `spring_k`: spring constant.
|
|
232
|
+
* `step_size`: optimization step size.
|
|
233
|
+
*/
|
|
234
|
+
export function compute_simplified_neb_path(smiles: string, start_coords_json: string, end_coords_json: string, n_images: number, n_iter: number, spring_k: number, step_size: number): string;
|
|
235
|
+
|
|
236
|
+
/**
|
|
237
|
+
* Compute the Smallest Set of Smallest Rings (SSSR) for a SMILES string.
|
|
184
238
|
*
|
|
185
|
-
* Returns
|
|
186
|
-
|
|
239
|
+
* Returns JSON `SssrResult`.
|
|
240
|
+
*/
|
|
241
|
+
export function compute_sssr(smiles: string): string;
|
|
242
|
+
|
|
243
|
+
/**
|
|
244
|
+
* Compute an sTDA UV-Vis spectrum with proper oscillator strengths.
|
|
187
245
|
*/
|
|
188
246
|
export function compute_stda_uvvis(elements_json: string, coords_flat_json: string, sigma: number, e_min: number, e_max: number, n_points: number, broadening: string): string;
|
|
189
247
|
|
|
190
248
|
/**
|
|
191
|
-
*
|
|
249
|
+
* Compute Tanimoto similarity between two ECFP fingerprint JSON objects.
|
|
250
|
+
*
|
|
251
|
+
* Returns JSON `{"tanimoto": 0.85}`.
|
|
252
|
+
*/
|
|
253
|
+
export function compute_tanimoto(fp1_json: string, fp2_json: string): string;
|
|
254
|
+
|
|
255
|
+
/**
|
|
256
|
+
* Detect metal coordination geometry and return topology.
|
|
192
257
|
*/
|
|
193
258
|
export function compute_topology(elements: string, coords_flat: string): string;
|
|
194
259
|
|
|
@@ -209,24 +274,11 @@ export function compute_uv_vis_spectrum(elements: string, coords_flat: string, s
|
|
|
209
274
|
|
|
210
275
|
/**
|
|
211
276
|
* Perform vibrational analysis via numerical Hessian.
|
|
212
|
-
*
|
|
213
|
-
* `elements_json`: JSON array of atomic numbers.
|
|
214
|
-
* `coords_flat_json`: JSON array of flat xyz coords in Å.
|
|
215
|
-
* `method`: "eht", "pm3", or "xtb".
|
|
216
|
-
* `step_size`: finite-difference step in Å (0 = default 0.005).
|
|
217
|
-
*
|
|
218
|
-
* Returns: JSON VibrationalAnalysis with modes, frequencies, IR intensities, ZPVE.
|
|
219
277
|
*/
|
|
220
278
|
export function compute_vibrational_analysis(elements_json: string, coords_flat_json: string, method: string, step_size: number): string;
|
|
221
279
|
|
|
222
280
|
/**
|
|
223
281
|
* Run an xTB tight-binding calculation.
|
|
224
|
-
*
|
|
225
|
-
* `elements_json`: JSON array of atomic numbers, e.g. `"[26,6,6]"`.
|
|
226
|
-
* `coords_flat_json`: JSON array of flat xyz coords [x0,y0,z0, ...] in Å.
|
|
227
|
-
*
|
|
228
|
-
* Returns: JSON XtbResult with orbital_energies, total_energy, gap,
|
|
229
|
-
* homo_energy, lumo_energy, mulliken_charges, converged.
|
|
230
282
|
*/
|
|
231
283
|
export function compute_xtb(elements_json: string, coords_flat_json: string): string;
|
|
232
284
|
|
|
@@ -236,13 +288,11 @@ export function compute_xtb(elements_json: string, coords_flat_json: string): st
|
|
|
236
288
|
export function create_unit_cell(a: number, b: number, c: number, alpha: number, beta: number, gamma: number): string;
|
|
237
289
|
|
|
238
290
|
/**
|
|
239
|
-
* Run an EHT calculation on a molecule
|
|
240
|
-
*
|
|
241
|
-
* - `elements`: JSON array of atomic numbers, e.g. `[8,1,1]`
|
|
242
|
-
* - `coords_flat`: JSON array of flat xyz coordinates `[x0,y0,z0,x1,y1,z1,...]`
|
|
243
|
-
* - `k`: Wolfsberg-Helmholtz constant (pass 0.0 for default 1.75)
|
|
291
|
+
* Run an EHT calculation on a molecule.
|
|
244
292
|
*
|
|
245
|
-
*
|
|
293
|
+
* - `elements`: JSON array of atomic numbers
|
|
294
|
+
* - `coords_flat`: JSON array of flat xyz coords
|
|
295
|
+
* - `k`: Wolfsberg-Helmholtz constant (0.0 for default 1.75)
|
|
246
296
|
*/
|
|
247
297
|
export function eht_calculate(elements: string, coords_flat: string, k: number): string;
|
|
248
298
|
|
|
@@ -258,25 +308,16 @@ export function eht_orbital_grid_from_coefficients_typed(elements: string, coord
|
|
|
258
308
|
|
|
259
309
|
/**
|
|
260
310
|
* Compute orbital grid as Float32Array (typed-array transfer).
|
|
261
|
-
*
|
|
262
|
-
* Returns the flat volumetric grid as Float32Array for GPU volume rendering.
|
|
263
311
|
*/
|
|
264
312
|
export function eht_orbital_grid_typed(elements: string, coords_flat: string, mo_index: number, spacing: number): Float32Array;
|
|
265
313
|
|
|
266
314
|
/**
|
|
267
|
-
* Generate an orbital
|
|
268
|
-
*
|
|
269
|
-
* - `elements`, `coords_flat`: same as `eht_calculate()`
|
|
270
|
-
* - `mo_index`: molecular orbital index (0-based)
|
|
271
|
-
* - `spacing`: grid spacing in Ångström (e.g. 0.2)
|
|
272
|
-
* - `isovalue`: isosurface cutoff (e.g. 0.02)
|
|
273
|
-
*
|
|
274
|
-
* Returns JSON with mesh vertices, normals, indices.
|
|
315
|
+
* Generate an orbital isosurface mesh from EHT.
|
|
275
316
|
*/
|
|
276
317
|
export function eht_orbital_mesh(elements: string, coords_flat: string, mo_index: number, spacing: number, isovalue: number): string;
|
|
277
318
|
|
|
278
319
|
/**
|
|
279
|
-
* Query EHT support metadata
|
|
320
|
+
* Query EHT support metadata.
|
|
280
321
|
*/
|
|
281
322
|
export function eht_support(elements: string): string;
|
|
282
323
|
|
|
@@ -297,14 +338,14 @@ export function embed_batch(smiles_list: string, seed: number): string;
|
|
|
297
338
|
/**
|
|
298
339
|
* Generate 3D coordinates only (compact format).
|
|
299
340
|
*
|
|
300
|
-
* Returns JSON: {"coords": [x0,y0,z0,...], "num_atoms": N} or {"error": "..."}
|
|
341
|
+
* Returns JSON: `{"coords": [x0,y0,z0,...], "num_atoms": N}` or `{"error": "..."}`.
|
|
301
342
|
*/
|
|
302
343
|
export function embed_coords(smiles: string, seed: number): string;
|
|
303
344
|
|
|
304
345
|
/**
|
|
305
346
|
* Generate 3D coordinates as a Float64Array (typed-array transfer).
|
|
306
347
|
*
|
|
307
|
-
* Returns a Float64Array [x0,y0,z0, x1,y1,z1,...] or empty on failure.
|
|
348
|
+
* Returns a Float64Array `[x0,y0,z0, x1,y1,z1,...]` or empty on failure.
|
|
308
349
|
*/
|
|
309
350
|
export function embed_coords_typed(smiles: string, seed: number): Float64Array;
|
|
310
351
|
|
|
@@ -317,9 +358,6 @@ export function initThreadPool(num_threads: number): Promise<any>;
|
|
|
317
358
|
|
|
318
359
|
/**
|
|
319
360
|
* Pack a batch of conformer results into Arrow-compatible columnar format.
|
|
320
|
-
*
|
|
321
|
-
* Input: JSON array of ConformerResult objects.
|
|
322
|
-
* Output: JSON RecordBatch with typed columns for zero-copy transfer.
|
|
323
361
|
*/
|
|
324
362
|
export function pack_batch_arrow(results_json: string): string;
|
|
325
363
|
|
|
@@ -330,26 +368,24 @@ export function parse_smiles(smiles: string): string;
|
|
|
330
368
|
|
|
331
369
|
/**
|
|
332
370
|
* Predict J-coupling constants.
|
|
333
|
-
*
|
|
334
|
-
* `smiles`: SMILES string.
|
|
335
|
-
* `coords_flat_json`: JSON flat xyz coords (or "[]" for topological estimate).
|
|
336
|
-
*
|
|
337
|
-
* Returns: JSON array of JCoupling objects.
|
|
338
371
|
*/
|
|
339
372
|
export function predict_nmr_couplings(smiles: string, coords_flat_json: string): string;
|
|
340
373
|
|
|
341
374
|
/**
|
|
342
|
-
* Predict
|
|
343
|
-
*
|
|
344
|
-
* Returns: JSON NmrShiftResult with h_shifts, c_shifts arrays.
|
|
375
|
+
* Predict NMR chemical shifts for all active nuclei.
|
|
345
376
|
*/
|
|
346
377
|
export function predict_nmr_shifts(smiles: string): string;
|
|
347
378
|
|
|
348
379
|
/**
|
|
349
|
-
*
|
|
380
|
+
* Search conformers by sampling, torsion refinement, and UFF ranking.
|
|
350
381
|
*
|
|
351
|
-
*
|
|
352
|
-
*
|
|
382
|
+
* `n_samples`: number of initial conformer samples.
|
|
383
|
+
* `rmsd_threshold`: RMSD cutoff for duplicate filtering (Å).
|
|
384
|
+
*/
|
|
385
|
+
export function search_conformers_with_uff(smiles: string, n_samples: number, seed: number, rmsd_threshold: number): string;
|
|
386
|
+
|
|
387
|
+
/**
|
|
388
|
+
* Split a batch of SMILES into worker tasks for Web Worker dispatch.
|
|
353
389
|
*/
|
|
354
390
|
export function split_worker_tasks(smiles_json: string, n_workers: number, seed: number): string;
|
|
355
391
|
|
|
@@ -382,56 +418,73 @@ export function wbg_rayon_start_worker(receiver: number): void;
|
|
|
382
418
|
export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module;
|
|
383
419
|
|
|
384
420
|
export interface InitOutput {
|
|
421
|
+
readonly embed: (a: number, b: number, c: number, d: number) => void;
|
|
422
|
+
readonly embed_coords: (a: number, b: number, c: number, d: number) => void;
|
|
385
423
|
readonly embed_coords_typed: (a: number, b: number, c: number) => number;
|
|
424
|
+
readonly embed_batch: (a: number, b: number, c: number, d: number) => void;
|
|
425
|
+
readonly parse_smiles: (a: number, b: number, c: number) => void;
|
|
426
|
+
readonly compute_pm3: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
427
|
+
readonly compute_xtb: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
428
|
+
readonly compute_hf3c: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
429
|
+
readonly compute_hf3c_custom: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
|
|
430
|
+
readonly compute_ani: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
431
|
+
readonly compute_esp: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
386
432
|
readonly compute_esp_grid_typed: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
|
|
387
433
|
readonly compute_esp_grid_info: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
388
|
-
readonly
|
|
389
|
-
readonly
|
|
434
|
+
readonly compute_stda_uvvis: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number) => void;
|
|
435
|
+
readonly compute_vibrational_analysis: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
|
|
436
|
+
readonly compute_ir_spectrum: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
437
|
+
readonly predict_nmr_shifts: (a: number, b: number, c: number) => void;
|
|
438
|
+
readonly predict_nmr_couplings: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
439
|
+
readonly compute_nmr_spectrum: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
|
|
440
|
+
readonly compute_hose_codes: (a: number, b: number, c: number, d: number) => void;
|
|
390
441
|
readonly version: (a: number) => void;
|
|
391
442
|
readonly system_capabilities: (a: number, b: number, c: number) => void;
|
|
392
443
|
readonly system_method_plan: (a: number, b: number, c: number) => void;
|
|
393
444
|
readonly compare_methods: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
|
|
394
|
-
readonly
|
|
395
|
-
readonly
|
|
396
|
-
readonly
|
|
397
|
-
readonly
|
|
398
|
-
readonly
|
|
399
|
-
readonly
|
|
400
|
-
readonly
|
|
401
|
-
readonly
|
|
402
|
-
readonly compute_charges: (a: number, b: number, c: number) => void;
|
|
403
|
-
readonly compute_sasa: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
404
|
-
readonly compute_population: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
405
|
-
readonly compute_bond_orders: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
445
|
+
readonly pack_batch_arrow: (a: number, b: number, c: number) => void;
|
|
446
|
+
readonly split_worker_tasks: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
447
|
+
readonly estimate_workers: (a: number, b: number) => number;
|
|
448
|
+
readonly compute_md_trajectory: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
|
|
449
|
+
readonly compute_md_trajectory_nvt: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
|
|
450
|
+
readonly compute_simplified_neb_path: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number) => void;
|
|
451
|
+
readonly search_conformers_with_uff: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
452
|
+
readonly compute_orbital_mesh: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number) => void;
|
|
406
453
|
readonly compute_frontier_descriptors: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
407
454
|
readonly compute_fukui_descriptors: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
408
455
|
readonly compute_reactivity_ranking: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
409
456
|
readonly compute_uv_vis_spectrum: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
|
|
410
457
|
readonly analyze_graph_features: (a: number, b: number, c: number) => void;
|
|
411
458
|
readonly compute_topology: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
412
|
-
readonly compute_dipole: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
413
|
-
readonly compute_dos: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
|
|
414
|
-
readonly compute_rmsd: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
415
|
-
readonly compute_uff_energy: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
416
|
-
readonly compute_uff_energy_with_aromatic_heuristics: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
417
|
-
readonly compute_empirical_pka: (a: number, b: number, c: number) => void;
|
|
418
459
|
readonly create_unit_cell: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
419
460
|
readonly assemble_framework: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
|
|
420
|
-
readonly
|
|
421
|
-
readonly
|
|
422
|
-
readonly estimate_workers: (a: number, b: number) => number;
|
|
461
|
+
readonly compute_uff_energy: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
462
|
+
readonly compute_uff_energy_with_aromatic_heuristics: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
423
463
|
readonly compute_mmff94_energy: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
424
|
-
readonly
|
|
425
|
-
readonly
|
|
464
|
+
readonly compute_empirical_pka: (a: number, b: number, c: number) => void;
|
|
465
|
+
readonly eht_calculate: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
466
|
+
readonly eht_or_uff_fallback: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
|
|
467
|
+
readonly eht_orbital_mesh: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
|
|
468
|
+
readonly eht_support: (a: number, b: number, c: number) => void;
|
|
469
|
+
readonly eht_orbital_grid_typed: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
|
|
470
|
+
readonly eht_orbital_grid_from_coefficients_typed: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
426
471
|
readonly compute_ml_properties: (a: number, b: number, c: number) => void;
|
|
427
472
|
readonly compute_molecular_descriptors: (a: number, b: number, c: number) => void;
|
|
428
|
-
readonly
|
|
429
|
-
readonly
|
|
430
|
-
readonly
|
|
431
|
-
readonly
|
|
432
|
-
readonly
|
|
433
|
-
readonly
|
|
434
|
-
readonly
|
|
473
|
+
readonly compute_sssr: (a: number, b: number, c: number) => void;
|
|
474
|
+
readonly compute_ecfp: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
475
|
+
readonly compute_tanimoto: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
476
|
+
readonly butina_cluster: (a: number, b: number, c: number, d: number) => void;
|
|
477
|
+
readonly compute_rmsd_matrix: (a: number, b: number, c: number) => void;
|
|
478
|
+
readonly compute_nonpolar_solvation: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
479
|
+
readonly compute_gb_solvation: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
|
|
480
|
+
readonly analyze_stereo: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
481
|
+
readonly compute_charges: (a: number, b: number, c: number) => void;
|
|
482
|
+
readonly compute_sasa: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
483
|
+
readonly compute_population: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
484
|
+
readonly compute_bond_orders: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
485
|
+
readonly compute_dipole: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
486
|
+
readonly compute_dos: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => void;
|
|
487
|
+
readonly compute_rmsd: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
435
488
|
readonly __wbg_wbg_rayon_poolbuilder_free: (a: number, b: number) => void;
|
|
436
489
|
readonly wbg_rayon_poolbuilder_numThreads: (a: number) => number;
|
|
437
490
|
readonly wbg_rayon_poolbuilder_receiver: (a: number) => number;
|