@kent-tokyo/chematic 1.2.0 → 1.2.2
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/README.md +6 -5
- package/chematic_wasm.d.ts +383 -33
- package/chematic_wasm.js +2562 -709
- package/chematic_wasm_bg.wasm +0 -0
- package/package.json +1 -1
package/chematic_wasm.d.ts
CHANGED
|
@@ -97,8 +97,8 @@ export class DepictOptions {
|
|
|
97
97
|
set_background(bg: string): void;
|
|
98
98
|
set_dark(dark: boolean): void;
|
|
99
99
|
set_height(h: number): void;
|
|
100
|
-
set_highlight_atoms(atoms: Uint32Array): void;
|
|
101
|
-
set_highlight_bonds(bonds: Uint32Array): void;
|
|
100
|
+
set_highlight_atoms(atoms: Uint32Array | number[]): void;
|
|
101
|
+
set_highlight_bonds(bonds: Uint32Array | number[]): void;
|
|
102
102
|
set_highlight_color(color: string): void;
|
|
103
103
|
set_kekulize(v: boolean): void;
|
|
104
104
|
set_padding(p: number): void;
|
|
@@ -280,6 +280,11 @@ export class MolHandle {
|
|
|
280
280
|
* Molecular formula string (Hill notation: C first, H second, then alphabetical).
|
|
281
281
|
*/
|
|
282
282
|
formula(): string;
|
|
283
|
+
/**
|
|
284
|
+
* Total formula with explicit isotope labels, hydrogens and net charge.
|
|
285
|
+
* D/T use [2H]/[3H]; maps/stereo and isotope locations are not encoded.
|
|
286
|
+
*/
|
|
287
|
+
formula_with_isotopes(): string;
|
|
283
288
|
/**
|
|
284
289
|
* Fraction of sp3 carbons (Fsp3).
|
|
285
290
|
*/
|
|
@@ -528,6 +533,12 @@ export class MolHandle {
|
|
|
528
533
|
* RDKit-compatible Murcko scaffold SMILES.
|
|
529
534
|
*/
|
|
530
535
|
rdkit_murcko_scaffold(): string;
|
|
536
|
+
/**
|
|
537
|
+
* Copy the molecule with RDKit's SMILES reader conventions, including
|
|
538
|
+
* its stereo tags and hydrogen suppression. Throws when conversion
|
|
539
|
+
* cannot represent the input.
|
|
540
|
+
*/
|
|
541
|
+
rdkit_parsed(): MolHandle;
|
|
531
542
|
/**
|
|
532
543
|
* RDKit-compatible PDB block. Optional coordinates are a JSON array in
|
|
533
544
|
* zero-based molecule atom order; omit them to write zero coordinates.
|
|
@@ -801,6 +812,10 @@ export function balance_check_json(reaction_smiles: string): string;
|
|
|
801
812
|
*/
|
|
802
813
|
export function batch_report_html(smiles_lines: string): string;
|
|
803
814
|
|
|
815
|
+
export function bgf_from_record_json(json: string): string;
|
|
816
|
+
|
|
817
|
+
export function bgf_record_json(text: string): string;
|
|
818
|
+
|
|
804
819
|
/**
|
|
805
820
|
* Predict GI absorption and BBB penetration using the BOILED-Egg method
|
|
806
821
|
* (Daina & Zoete 2016).
|
|
@@ -954,7 +969,7 @@ export function chematic_version(): string;
|
|
|
954
969
|
* Exact source bytes, projected XML, fragment coordinates and CDX omission tags.
|
|
955
970
|
* CDXML uses the existing graph projection; omissions lists CDX tags only.
|
|
956
971
|
*/
|
|
957
|
-
export function chemdraw_block_report_json(data: Uint8Array, format: string, allow_metadata_loss: boolean): string;
|
|
972
|
+
export function chemdraw_block_report_json(data: Uint8Array | number[], format: string, allow_metadata_loss: boolean): string;
|
|
958
973
|
|
|
959
974
|
/**
|
|
960
975
|
* CIP stereo assignments via the accurate hierarchical-digraph engine, as a JSON
|
|
@@ -965,9 +980,9 @@ export function chemdraw_block_report_json(data: Uint8Array, format: string, all
|
|
|
965
980
|
* [`cip_unresolved_json`] -- never a silently-guessed label. A phosphorus on an
|
|
966
981
|
* unsaturated ring (cyclophosphazene) gets RDKit's CIPLabeler label, which flips
|
|
967
982
|
* with the ring's Kekulé spelling; its object carries `"kekuleDependent": true`.
|
|
968
|
-
*
|
|
969
|
-
*
|
|
970
|
-
*
|
|
983
|
+
* `seqCis` and `seqTrans` entries carry `bondIdx` and `bondAtoms`.
|
|
984
|
+
* Configured odd cumulenes carry the full path as `cumuleneAtoms`, from `atomIdx`.
|
|
985
|
+
* Saturated ring lone-pair centres use the molecule's recorded ligand order.
|
|
971
986
|
* Returns `"null"` on an internal engine error (budget-independent computations
|
|
972
987
|
* should not normally hit this).
|
|
973
988
|
*/
|
|
@@ -990,6 +1005,11 @@ export function cip_assignments_json(mol: MolHandle): string;
|
|
|
990
1005
|
*/
|
|
991
1006
|
export function cip_unresolved_json(mol: MolHandle): string;
|
|
992
1007
|
|
|
1008
|
+
/**
|
|
1009
|
+
* Apply Cleanup and return a new molecule with all fragments retained.
|
|
1010
|
+
*/
|
|
1011
|
+
export function cleanup_mol(mol: MolHandle): MolHandle;
|
|
1012
|
+
|
|
993
1013
|
/**
|
|
994
1014
|
* Compare multiple SMILES strings (up to 256 by default).
|
|
995
1015
|
* Accepts a delimiter-separated list (e.g., newline or comma).
|
|
@@ -1037,13 +1057,40 @@ export function conformer_ensemble_json(mol: MolHandle, n: number, rmsd_threshol
|
|
|
1037
1057
|
*
|
|
1038
1058
|
* This is the WASM counterpart of Python's `convert_format`. It supports
|
|
1039
1059
|
* SMILES, MOL/SDF, MOL V3000, MOL2, CML, ChemicalJSON, MolJSON, and CDXML.
|
|
1040
|
-
* MOL2-to-MOL2
|
|
1060
|
+
* MOL2-to-MOL2, CJSON-to-CJSON, and V3000-to-V3000 validate and retain exact source.
|
|
1061
|
+
* GJF/COM supports only
|
|
1062
|
+
* same-format retention of a bounded single Cartesian job, including opaque
|
|
1063
|
+
* job sections (not a Gaussian job validator).
|
|
1064
|
+
* V2000/V3000-to-CJSON also
|
|
1065
|
+
* CJSON-to-CML retains the local indexed graph, source XYZ and name after reparse;
|
|
1066
|
+
* opaque fields/stereo/unit cells, partial charges and conflicting names throw.
|
|
1067
|
+
* Source chemistry and coordinate-derived stereo are not validated.
|
|
1068
|
+
* V2000/V3000-to-CJSON also
|
|
1069
|
+
* carries source-order x/y/z values; it does not retain opaque metadata or
|
|
1070
|
+
* verify cross-format stereo.
|
|
1071
|
+
* MOL2-to-CJSON checks
|
|
1072
|
+
* graph/xyz/name/complete declared partial charges on reparse and refuses
|
|
1073
|
+
* incomplete or undeclared charge columns. Other MOL2 metadata and stereo
|
|
1074
|
+
* are not retained or verified; use convert_with_report_json for losses.
|
|
1075
|
+
* NO_CHARGES zero placeholders are omitted as explicitly unassigned values.
|
|
1076
|
+
* Other conversions use
|
|
1041
1077
|
* the topology-only bridge and do not carry format-specific metadata.
|
|
1078
|
+
* CML-to-CML retains one bounded XML 1.0 CML-namespace molecule document exactly;
|
|
1079
|
+
* chemistry/references/stereo remain opaque, with no edits or validation promised.
|
|
1080
|
+
* SDF-to-SDF retains every validated source record. Other MOL/SDF input routes
|
|
1081
|
+
* require exactly one CTAB and omit SD fields; SDF output is one framed record.
|
|
1082
|
+
* CML-to-CJSON verifies a bounded graph/Cartesian/name profile on reparse,
|
|
1083
|
+
* including inferred H counts, and refuses unrepresented payload (2D, stereo,
|
|
1084
|
+
* aromatic/query/zero bonds, unknown attributes/elements).
|
|
1085
|
+
* Molecule/atom/bond IDs are document-local references; their spelling and
|
|
1086
|
+
* lexical XML are omitted.
|
|
1087
|
+
* Graph-projected CJSON output refuses in-memory properties outside the local
|
|
1088
|
+
* profile. MOL2 projection and exact CJSON retention keep separate contracts.
|
|
1042
1089
|
*/
|
|
1043
1090
|
export function convert_common_format(text: string, input_format: string, output_format: string): string;
|
|
1044
1091
|
|
|
1045
1092
|
/**
|
|
1046
|
-
* Checked MOL2/CJSON conversion using the shared report schema.
|
|
1093
|
+
* Checked MOL2/CJSON/CML conversion using the shared report schema.
|
|
1047
1094
|
*/
|
|
1048
1095
|
export function convert_with_report_json(text: string, input_format: string, output_format: string, policy: string): string;
|
|
1049
1096
|
|
|
@@ -1170,6 +1217,14 @@ export function dice_ecfp6(a: MolHandle, b: MolHandle): number;
|
|
|
1170
1217
|
*/
|
|
1171
1218
|
export function dice_maccs(a: MolHandle, b: MolHandle): number;
|
|
1172
1219
|
|
|
1220
|
+
export function dlpoly_config_from_record_json(json: string): string;
|
|
1221
|
+
|
|
1222
|
+
export function dlpoly_config_record_json(text: string): string;
|
|
1223
|
+
|
|
1224
|
+
export function dlpoly_history_from_json(json: string): string;
|
|
1225
|
+
|
|
1226
|
+
export function dlpoly_history_json(text: string): string;
|
|
1227
|
+
|
|
1173
1228
|
/**
|
|
1174
1229
|
* Compute the ECFP4 fingerprint as a bit-packed byte vector (256 bytes = 2048 bits).
|
|
1175
1230
|
*/
|
|
@@ -1352,7 +1407,8 @@ export function explain_rdkit_topological_torsion_code_json(code_decimal: string
|
|
|
1352
1407
|
* "info":{"key":"value", ...}}`.
|
|
1353
1408
|
*
|
|
1354
1409
|
* Returns a JS error on parse failure or if the frame exceeds the WASM
|
|
1355
|
-
* atom-count limit.
|
|
1410
|
+
* atom-count limit. Coordinates, cell entries and R atom data must be finite;
|
|
1411
|
+
* nonzero decimals that round to binary64 zero are refused.
|
|
1356
1412
|
*/
|
|
1357
1413
|
export function extxyz_frame_json(text: string): string;
|
|
1358
1414
|
|
|
@@ -1584,6 +1640,11 @@ export function get_rdkit_descriptors_json(mol: MolHandle): string;
|
|
|
1584
1640
|
*/
|
|
1585
1641
|
export function getaway_descriptors_json(mol: MolHandle): string;
|
|
1586
1642
|
|
|
1643
|
+
/**
|
|
1644
|
+
* Explicit checked binary64 Angstrom positions; raw parse/write is independent.
|
|
1645
|
+
*/
|
|
1646
|
+
export function gromos96_geometry_angstrom_json(text: string): string;
|
|
1647
|
+
|
|
1587
1648
|
/**
|
|
1588
1649
|
* Parse a ChemDraw XML (CDXML) string into a `MolHandle`.
|
|
1589
1650
|
*
|
|
@@ -1773,6 +1834,11 @@ export function largest_fragment(mol: MolHandle): MolHandle;
|
|
|
1773
1834
|
*/
|
|
1774
1835
|
export function logp_per_atom_json(mol: MolHandle): string;
|
|
1775
1836
|
|
|
1837
|
+
/**
|
|
1838
|
+
* Explicit checked binary64 Angstrom positions; raw parse/write is independent.
|
|
1839
|
+
*/
|
|
1840
|
+
export function lpmd_positions_angstrom_json(text: string): string;
|
|
1841
|
+
|
|
1776
1842
|
/**
|
|
1777
1843
|
* MACCS 166-bit structural keys fingerprint as a byte array (21 bytes, LSB-first).
|
|
1778
1844
|
*
|
|
@@ -1798,6 +1864,17 @@ export function match_smarts_smiles(smiles: string, smarts: string): string;
|
|
|
1798
1864
|
*/
|
|
1799
1865
|
export function maxmin_picks_ecfp4_json(smiles_json: string, n: number): string;
|
|
1800
1866
|
|
|
1867
|
+
/**
|
|
1868
|
+
* MCS SMARTS with status, preserving atom and bond query alternatives.
|
|
1869
|
+
*
|
|
1870
|
+
* Uses the same JSON input and configuration as `mcs_smiles_json_with_config`.
|
|
1871
|
+
* Set `bondCountFirst` to maximize bonds first, then atoms.
|
|
1872
|
+
* Charge and isotope predicates are preserved. `matchChiralTag` retains
|
|
1873
|
+
* absolute tetrahedral orientation with at least three common bonds and
|
|
1874
|
+
* chirality presence on smaller frames. Other stereo raises a serialization error.
|
|
1875
|
+
*/
|
|
1876
|
+
export function mcs_smarts_json_with_config(smiles_json: string, config_json: string): string;
|
|
1877
|
+
|
|
1801
1878
|
/**
|
|
1802
1879
|
* Maximum Common Substructure of a set of molecules, returned as a canonical SMILES string.
|
|
1803
1880
|
*
|
|
@@ -1815,14 +1892,16 @@ export function mcs_smiles_json(smiles_json: string): string;
|
|
|
1815
1892
|
* (camelCase keys, all optional, defaulting to `McsConfig::default()`):
|
|
1816
1893
|
* `matchBonds`, `minAtoms`, `timeoutMs`, `ringMatchesRingOnly`,
|
|
1817
1894
|
* `completeRingsOnly`, `atomCompare` (`"elements"` | `"any_heavy_atom"` |
|
|
1895
|
+
* `"rdkit_any_heavy_atom"` |
|
|
1818
1896
|
* `"any"`), `bondCompare` (`"order_or_aromatic"` | `"any"`),
|
|
1819
|
-
* `matchChiralTag`, `matchCharge`, `matchIsotope`, `maximizeBonds
|
|
1897
|
+
* `matchChiralTag`, `matchCharge`, `matchIsotope`, `maximizeBonds`, and
|
|
1898
|
+
* `maxSearchNodes`.
|
|
1820
1899
|
*
|
|
1821
|
-
* Returns a JSON object `
|
|
1822
|
-
* `smiles` is `null` when there is no common
|
|
1823
|
-
*
|
|
1824
|
-
*
|
|
1825
|
-
*
|
|
1900
|
+
* Returns a JSON object with `smiles`, `wasTimedOut`, and
|
|
1901
|
+
* `wasResourceLimited`. `smiles` is `null` when there is no common
|
|
1902
|
+
* substructure; the two status fields distinguish deadline expiry from a
|
|
1903
|
+
* configured input/search limit. A returned partial result is not proven
|
|
1904
|
+
* optimal when either status is true.
|
|
1826
1905
|
*/
|
|
1827
1906
|
export function mcs_smiles_json_with_config(smiles_json: string, config_json: string): string;
|
|
1828
1907
|
|
|
@@ -2101,7 +2180,8 @@ export function mol_from_cube(text: string): MolHandle;
|
|
|
2101
2180
|
* too. Only the first frame of a multi-frame file is read.
|
|
2102
2181
|
*
|
|
2103
2182
|
* Returns a JS error on parse failure or if the frame exceeds the WASM
|
|
2104
|
-
* atom-count limit.
|
|
2183
|
+
* atom-count limit. Coordinates, cell entries and R atom data must be finite;
|
|
2184
|
+
* nonzero decimals that round to binary64 zero are refused.
|
|
2105
2185
|
*/
|
|
2106
2186
|
export function mol_from_extxyz(text: string): MolHandle;
|
|
2107
2187
|
|
|
@@ -2115,10 +2195,10 @@ export function mol_from_extxyz(text: string): MolHandle;
|
|
|
2115
2195
|
export function mol_from_mmcif(text: string): MolHandle;
|
|
2116
2196
|
|
|
2117
2197
|
/**
|
|
2118
|
-
* Parse
|
|
2119
|
-
*
|
|
2120
|
-
*
|
|
2121
|
-
*
|
|
2198
|
+
* Parse chematic's atom-record MolJSON graph dialect, not oxpig MolJSON.
|
|
2199
|
+
* Range/type checks, exact bond orders (4 = quadruple), unique keys/IDs and
|
|
2200
|
+
* valid nonduplicate bonds are enforced. Throws on invalid input; source
|
|
2201
|
+
* metadata and stereochemistry are outside this graph profile.
|
|
2122
2202
|
*/
|
|
2123
2203
|
export function mol_from_moljson(json: string): MolHandle;
|
|
2124
2204
|
|
|
@@ -2160,9 +2240,9 @@ export function mol_from_pdb_strict(pdb: string): MolHandle;
|
|
|
2160
2240
|
/**
|
|
2161
2241
|
* Parse an AutoDock PDBQT block into a topology handle.
|
|
2162
2242
|
*
|
|
2163
|
-
* Coordinates and partial charges are
|
|
2164
|
-
*
|
|
2165
|
-
*
|
|
2243
|
+
* Coordinates and partial charges are discarded; use `pdbqt_atom_data_json`
|
|
2244
|
+
* when those arrays are needed. No bonds are inferred. Invalid records
|
|
2245
|
+
* return a JS error instead of a partial molecule.
|
|
2166
2246
|
*/
|
|
2167
2247
|
export function mol_from_pdbqt(pdbqt: string): MolHandle;
|
|
2168
2248
|
|
|
@@ -2201,7 +2281,9 @@ export function mol_from_v3000_block(block: string): MolHandle;
|
|
|
2201
2281
|
/**
|
|
2202
2282
|
* Parse an XYZ file and return a `MolHandle` (topology only; coordinates are discarded).
|
|
2203
2283
|
*
|
|
2204
|
-
* Returns a JS error on parse failure
|
|
2284
|
+
* Returns a JS error on parse failure, nonfinite coordinates or a nonzero
|
|
2285
|
+
* decimal coordinate that rounds to binary64 zero. Literal signed zero and
|
|
2286
|
+
* finite subnormals remain valid.
|
|
2205
2287
|
*/
|
|
2206
2288
|
export function mol_from_xyz(xyz: string): MolHandle;
|
|
2207
2289
|
|
|
@@ -2268,6 +2350,10 @@ export function mol_with_bond_added(mol: MolHandle, a: number, b: number, order:
|
|
|
2268
2350
|
*/
|
|
2269
2351
|
export function mol_with_bond_removed(mol: MolHandle, idx: number): MolHandle;
|
|
2270
2352
|
|
|
2353
|
+
export function molden_from_record_json(json: string): string;
|
|
2354
|
+
|
|
2355
|
+
export function molden_record_json(text: string): string;
|
|
2356
|
+
|
|
2271
2357
|
/**
|
|
2272
2358
|
* Generate a complete molecular report (JSON string) from a SMILES.
|
|
2273
2359
|
* Returns the JSON representation of a `MoleculeReport` struct.
|
|
@@ -2284,7 +2370,7 @@ export function molecule_report_json(smiles: string): string;
|
|
|
2284
2370
|
/**
|
|
2285
2371
|
* Concrete CDX/CDXML fragment handles, in source fragment order.
|
|
2286
2372
|
*/
|
|
2287
|
-
export function mols_from_chemdraw_block(data: Uint8Array, format: string, allow_metadata_loss: boolean): MolHandle[];
|
|
2373
|
+
export function mols_from_chemdraw_block(data: Uint8Array | number[], format: string, allow_metadata_loss: boolean): MolHandle[];
|
|
2288
2374
|
|
|
2289
2375
|
/**
|
|
2290
2376
|
* MQN descriptor (42 integer values: Molecular Quantum Numbers).
|
|
@@ -2325,6 +2411,12 @@ export function neutralize_charges(mol: MolHandle): MolHandle;
|
|
|
2325
2411
|
*/
|
|
2326
2412
|
export function normalize_cxsmiles(s: string): string;
|
|
2327
2413
|
|
|
2414
|
+
/**
|
|
2415
|
+
* Enhanced-atom-stereo reaction CXSMILES with group indices remapped after
|
|
2416
|
+
* component/atom ordering (RDKit #9732). Other CX fields are rejected.
|
|
2417
|
+
*/
|
|
2418
|
+
export function normalize_reaction_cxsmiles(text: string, canonical: boolean): string;
|
|
2419
|
+
|
|
2328
2420
|
/**
|
|
2329
2421
|
* Parse and re-serialise a reaction SMILES string, returning the normalised form.
|
|
2330
2422
|
*
|
|
@@ -2353,6 +2445,10 @@ export function nucleic_acid_validate_json(document_json: string): string;
|
|
|
2353
2445
|
*/
|
|
2354
2446
|
export function num_hydrogens(mol: MolHandle): number;
|
|
2355
2447
|
|
|
2448
|
+
export function nwchem_geometry_from_json(json: string): string;
|
|
2449
|
+
|
|
2450
|
+
export function nwchem_geometry_json(text: string): string;
|
|
2451
|
+
|
|
2356
2452
|
/**
|
|
2357
2453
|
* Parse an OpenDX (APBS scalar-field subset) file and return its full
|
|
2358
2454
|
* [`chematic_mol::VolumetricGrid`] as JSON (same shape as
|
|
@@ -2374,12 +2470,21 @@ export function opendx_shape_u32(text: string): Uint32Array;
|
|
|
2374
2470
|
*/
|
|
2375
2471
|
export function opendx_values_f64(text: string): Float64Array;
|
|
2376
2472
|
|
|
2473
|
+
/**
|
|
2474
|
+
* Read ordered Cartesian values and explicit Angstrom/Bohr units; no rescaling.
|
|
2475
|
+
* Refuses ambiguous/unsupported unit or coordinate declarations and %coords.
|
|
2476
|
+
* Atom extras remain opaque; no external geometry resources are opened.
|
|
2477
|
+
*/
|
|
2478
|
+
export function orca_cartesian_geometry_json(text: string): string;
|
|
2479
|
+
|
|
2377
2480
|
/**
|
|
2378
2481
|
* Coordinates + charge + multiplicity from an ORCA input file's embedded
|
|
2379
2482
|
* `* xyz ... *` block, in the SAME atom order [`mol_from_orca_input`]
|
|
2380
2483
|
* returns topology for. Returns JSON
|
|
2381
2484
|
* `{"coords":[[x,y,z],...],"charge":0,"multiplicity":1}`, or a JS error
|
|
2382
2485
|
* under the same conditions as [`mol_from_orca_input`].
|
|
2486
|
+
* This legacy view returns only Angstrom input. Bohr, conflicting units and
|
|
2487
|
+
* %coords overrides are refused; use [`orca_cartesian_geometry_json`] instead.
|
|
2383
2488
|
*/
|
|
2384
2489
|
export function orca_input_coords_json(text: string): string;
|
|
2385
2490
|
|
|
@@ -2440,11 +2545,39 @@ export function parse_cxsmarts_json(s: string): string;
|
|
|
2440
2545
|
*/
|
|
2441
2546
|
export function parse_cxsmiles_json(s: string): string;
|
|
2442
2547
|
|
|
2548
|
+
/**
|
|
2549
|
+
* Read a bounded fract record as editable JSON. All numeric fields are strings
|
|
2550
|
+
* retaining nominal precision and optional opaque uncertainty digits.
|
|
2551
|
+
*/
|
|
2552
|
+
export function parse_fract_json(text: string): string;
|
|
2553
|
+
|
|
2554
|
+
/**
|
|
2555
|
+
* Inspect every ordered Cartesian job with UTF-8 byte ranges in the original source.
|
|
2556
|
+
* Coordinate units are unchanged; no inferred bonds or external resource reads.
|
|
2557
|
+
*/
|
|
2558
|
+
export function parse_gjf_document_json(text: string): string;
|
|
2559
|
+
|
|
2560
|
+
/**
|
|
2561
|
+
* Read gpr 100 / one coordinate set as editable JSON. Coordinates stay in nm;
|
|
2562
|
+
* partial charges and all decimal tokens retain source representation.
|
|
2563
|
+
*/
|
|
2564
|
+
export function parse_gpr_json(text: string): string;
|
|
2565
|
+
|
|
2566
|
+
/**
|
|
2567
|
+
* Read geometry as editable JSON, with all blocks, fixed-width payload and caller-owned length-unit context.
|
|
2568
|
+
*/
|
|
2569
|
+
export function parse_gromos96_json(text: string, length_unit: string): string;
|
|
2570
|
+
|
|
2443
2571
|
/**
|
|
2444
2572
|
* Inspect the bounded HIN record, including literal aromatic bonds and charges.
|
|
2445
2573
|
*/
|
|
2446
2574
|
export function parse_hin_record_json(text: string): string;
|
|
2447
2575
|
|
|
2576
|
+
/**
|
|
2577
|
+
* Read geometry as editable JSON, with raw decimal fields, all frames and column order.
|
|
2578
|
+
*/
|
|
2579
|
+
export function parse_lpmd_json(text: string): string;
|
|
2580
|
+
|
|
2448
2581
|
/**
|
|
2449
2582
|
* Inspect partial charges, atom types and source retention for MOL2.
|
|
2450
2583
|
*/
|
|
@@ -2457,6 +2590,17 @@ export function parse_mol2_record_json(text: string): string;
|
|
|
2457
2590
|
*/
|
|
2458
2591
|
export function parse_smiles(s: string): MolHandle;
|
|
2459
2592
|
|
|
2593
|
+
/**
|
|
2594
|
+
* Read a bounded UniChem XYZ record as editable JSON. Coordinate fields are decimal strings
|
|
2595
|
+
* retaining precision and signed zero in Angstrom.
|
|
2596
|
+
*/
|
|
2597
|
+
export function parse_unixyz_json(text: string): string;
|
|
2598
|
+
|
|
2599
|
+
/**
|
|
2600
|
+
* Read geometry as editable JSON, with raw factor/coordinate strings and fixed axes.
|
|
2601
|
+
*/
|
|
2602
|
+
export function parse_viewmol_json(text: string): string;
|
|
2603
|
+
|
|
2460
2604
|
/**
|
|
2461
2605
|
* Indexed atoms/charges, bonds, coordinates and source serials for the same
|
|
2462
2606
|
* explicit CONECT projection. Molecular identity and coordinate order agree.
|
|
@@ -2476,6 +2620,16 @@ export function pdb_conect_frame_json(input: string, allow_extended_targets: boo
|
|
|
2476
2620
|
*/
|
|
2477
2621
|
export function pdb_coords_json(pdb: string): string;
|
|
2478
2622
|
|
|
2623
|
+
/**
|
|
2624
|
+
* Read PDBQT atom data as JSON {atomic_numbers, coords, partial_charges}.
|
|
2625
|
+
* Arrays share source ATOM/HETATM order. Coordinates are in Å and partial
|
|
2626
|
+
* charges in e; parsed finite binary64 values are not rounded/recalculated.
|
|
2627
|
+
* No bonds or formal charges are inferred. Source atom identities, AutoDock
|
|
2628
|
+
* types, remarks and torsion trees are not retained. Throws on invalid atoms
|
|
2629
|
+
* or WASM size limits. Use mol_from_pdbqt separately for an element-only handle.
|
|
2630
|
+
*/
|
|
2631
|
+
export function pdbqt_atom_data_json(pdbqt: string): string;
|
|
2632
|
+
|
|
2479
2633
|
/**
|
|
2480
2634
|
* PEOE_VSA descriptors (14 bins) as a JSON array.
|
|
2481
2635
|
*/
|
|
@@ -2577,6 +2731,17 @@ export function preflight_smiles_json(smiles: string, width: number, height: num
|
|
|
2577
2731
|
*/
|
|
2578
2732
|
export function prepare_rdkit_ecfp4(mol: MolHandle): PreparedRdkitEcfp4Handle;
|
|
2579
2733
|
|
|
2734
|
+
/**
|
|
2735
|
+
* Checked local CJSON graph/Cartesian/name projection; throws on opaque
|
|
2736
|
+
* fields, partial charges or conflicting names. No source chemistry validation.
|
|
2737
|
+
*/
|
|
2738
|
+
export function project_cjson_to_cml(text: string): string;
|
|
2739
|
+
|
|
2740
|
+
/**
|
|
2741
|
+
* Checked CML graph/Cartesian/name profile; refuses unrepresented payload.
|
|
2742
|
+
*/
|
|
2743
|
+
export function project_cml_to_cjson(text: string): string;
|
|
2744
|
+
|
|
2580
2745
|
/**
|
|
2581
2746
|
* Amino-acid-only mmCIF projection in the same schema as
|
|
2582
2747
|
* [`protein_from_pdb_json`].
|
|
@@ -2642,6 +2807,13 @@ export function random_smiles_json(smiles: string, count: number, seed: bigint):
|
|
|
2642
2807
|
*/
|
|
2643
2808
|
export function rdkit_atom_code(mol: MolHandle, atom_index: number, branch_subtract: number): number;
|
|
2644
2809
|
|
|
2810
|
+
/**
|
|
2811
|
+
* Return packed bits, folded counts and unhashed counts for 2D Atom Pair.
|
|
2812
|
+
* The JSON options are optional. Set `countBounds` to null to disable count
|
|
2813
|
+
* simulation. Counts are returned as sorted [identifier, count] arrays.
|
|
2814
|
+
*/
|
|
2815
|
+
export function rdkit_atom_pair_config_detail_json(mol: MolHandle, options_json: string): string;
|
|
2816
|
+
|
|
2645
2817
|
/**
|
|
2646
2818
|
* RDKit-bit-exact ECFP4 (radius=2, 2048 bits, `useChirality=false`, `useBondTypes=true`,
|
|
2647
2819
|
* RDKit's default atom invariant) as a bit-packed byte vector (256 bytes = 2048 bits).
|
|
@@ -2716,6 +2888,13 @@ export function rdkit_from_pdb_block(text: string, sanitize: boolean, remove_hs:
|
|
|
2716
2888
|
*/
|
|
2717
2889
|
export function rdkit_from_xyz_block(text: string): RdkitReadResult;
|
|
2718
2890
|
|
|
2891
|
+
/**
|
|
2892
|
+
* Return the configured RDKit Layered fingerprint and per-atom counters as JSON.
|
|
2893
|
+
* Pass `{}` for defaults. `setOnlyBits` is an optional LSB-first packed byte
|
|
2894
|
+
* array, and `atomCounts` optionally seeds the returned u32 counters.
|
|
2895
|
+
*/
|
|
2896
|
+
export function rdkit_layered_config_detail_json(mol: MolHandle, options_json: string): string;
|
|
2897
|
+
|
|
2719
2898
|
/**
|
|
2720
2899
|
* Find the k nearest neighbours using the RDKit-compatible Morgan/ECFP4
|
|
2721
2900
|
* profile. This is intentionally separate from [`nearest_neighbors_json`],
|
|
@@ -2747,7 +2926,14 @@ export function rdkit_rdk_bitvec(mol: MolHandle): Uint8Array;
|
|
|
2747
2926
|
* containing one of `ignored_atoms` is excluded. Invalid indices return a JS
|
|
2748
2927
|
* error; an empty list is bit-identical to [`rdkit_rdk_bitvec`].
|
|
2749
2928
|
*/
|
|
2750
|
-
export function rdkit_rdk_bitvec_ignoring_atoms(mol: MolHandle, ignored_atoms: Uint32Array): Uint8Array;
|
|
2929
|
+
export function rdkit_rdk_bitvec_ignoring_atoms(mol: MolHandle, ignored_atoms: Uint32Array | number[]): Uint8Array;
|
|
2930
|
+
|
|
2931
|
+
/**
|
|
2932
|
+
* Packed RDK bits and folded and sparse counts, using input atom indices.
|
|
2933
|
+
* A supplied `countBounds` array enables count simulation for the bit vector.
|
|
2934
|
+
* Packed bytes are LSB-first and counts are sorted [identifier, count] pairs.
|
|
2935
|
+
*/
|
|
2936
|
+
export function rdkit_rdk_config_detail_json(mol: MolHandle, options_json: string): string;
|
|
2751
2937
|
|
|
2752
2938
|
/**
|
|
2753
2939
|
* Pack a JSON array of atom indices into RDKit's legacy torsion code.
|
|
@@ -2764,6 +2950,13 @@ export function rdkit_topological_torsion_path_code_decimal(mol: MolHandle, path
|
|
|
2764
2950
|
*/
|
|
2765
2951
|
export function rdkit_torsion_bitvec(mol: MolHandle): Uint8Array;
|
|
2766
2952
|
|
|
2953
|
+
/**
|
|
2954
|
+
* Return packed bits, folded counts and unhashed Topological Torsion counts.
|
|
2955
|
+
* Pass JSON options or `{}` for defaults. A null `countBounds` disables
|
|
2956
|
+
* simulation. Sparse identifiers are decimal strings to retain all 64 bits.
|
|
2957
|
+
*/
|
|
2958
|
+
export function rdkit_torsion_config_detail_json(mol: MolHandle, options_json: string): string;
|
|
2959
|
+
|
|
2767
2960
|
/**
|
|
2768
2961
|
* Validate and deterministically serialize a rich reaction document JSON.
|
|
2769
2962
|
*
|
|
@@ -2873,6 +3066,25 @@ export function ring_families_json(mol: MolHandle): string;
|
|
|
2873
3066
|
*/
|
|
2874
3067
|
export function roundtrip_cjson_record(text: string): string;
|
|
2875
3068
|
|
|
3069
|
+
/**
|
|
3070
|
+
* Exact bounded XML 1.0 CML source retention. Requires one CML-namespace
|
|
3071
|
+
* molecule root; rejects nested molecules/DTDs. Chemistry, references and
|
|
3072
|
+
* stereo remain opaque, with no interpretation or schema validation promised.
|
|
3073
|
+
*/
|
|
3074
|
+
export function roundtrip_cml_source(text: string): string;
|
|
3075
|
+
|
|
3076
|
+
/**
|
|
3077
|
+
* Retain all explicit Cartesian Link1 jobs as exact source; no job selection.
|
|
3078
|
+
* Budgets are cumulative. Opaque sections and external resources are not interpreted.
|
|
3079
|
+
*/
|
|
3080
|
+
export function roundtrip_gjf_document(text: string): string;
|
|
3081
|
+
|
|
3082
|
+
/**
|
|
3083
|
+
* Retain exact single Cartesian GJF source without regenerating job sections.
|
|
3084
|
+
* Opaque sections are not interpreted; no external files are opened.
|
|
3085
|
+
*/
|
|
3086
|
+
export function roundtrip_gjf_record(text: string): string;
|
|
3087
|
+
|
|
2876
3088
|
/**
|
|
2877
3089
|
* Validate a single HIN record and retain exact source text and line endings.
|
|
2878
3090
|
*/
|
|
@@ -2884,16 +3096,23 @@ export function roundtrip_hin_record(text: string): string;
|
|
|
2884
3096
|
export function roundtrip_mol2_record(text: string): string;
|
|
2885
3097
|
|
|
2886
3098
|
/**
|
|
2887
|
-
*
|
|
3099
|
+
* Validate one V3000 MOL block and return its exact source.
|
|
2888
3100
|
*
|
|
2889
3101
|
* Unlike the topology-only [`mol_from_v3000_block`] + [`to_mol_v3000_block`]
|
|
2890
|
-
* pair, this
|
|
2891
|
-
*
|
|
2892
|
-
*
|
|
3102
|
+
* pair, this retains 3D coordinate tokens, IDs, source ordering and opaque
|
|
3103
|
+
* fields including SGROUP and COLLECTION. No normalization or opaque chemistry
|
|
3104
|
+
* verification is promised. The typed SGroup view remains available through
|
|
2893
3105
|
* [`v3000_sgroups_json`].
|
|
2894
3106
|
*/
|
|
2895
3107
|
export function roundtrip_mol_v3000_block(block: string): string;
|
|
2896
3108
|
|
|
3109
|
+
/**
|
|
3110
|
+
* Validate every local-profile SDF record and retain exact UTF-8 source.
|
|
3111
|
+
* No partial output on record/limit failure. Opaque metadata/stereo is not
|
|
3112
|
+
* interpreted or edited. Bounds: 1 MB input/record, 10000 records/total atoms.
|
|
3113
|
+
*/
|
|
3114
|
+
export function roundtrip_sdf_source(text: string): string;
|
|
3115
|
+
|
|
2897
3116
|
/**
|
|
2898
3117
|
* Apply a SMIRKS reaction template and return product SMILES as a JSON string.
|
|
2899
3118
|
*
|
|
@@ -3107,6 +3326,13 @@ export function smarts_match_atoms(smarts: string, mol: MolHandle): string;
|
|
|
3107
3326
|
*/
|
|
3108
3327
|
export function smarts_match_atoms_with_chirality(smarts: string, mol: MolHandle, use_chirality: boolean): string;
|
|
3109
3328
|
|
|
3329
|
+
/**
|
|
3330
|
+
* Match SMARTS with optional `useChirality` and `useIsotopes` JSON flags.
|
|
3331
|
+
* Returns sorted atom indices for each hit. The existing WASM match and visit
|
|
3332
|
+
* limits apply. Pass `{}` to use the default settings.
|
|
3333
|
+
*/
|
|
3334
|
+
export function smarts_match_atoms_with_config(smarts: string, mol: MolHandle, config_json: string): string;
|
|
3335
|
+
|
|
3110
3336
|
/**
|
|
3111
3337
|
* Serialise a JSON array of SMILES to an SDF string.
|
|
3112
3338
|
*
|
|
@@ -3141,9 +3367,18 @@ export function smiles_to_pdbqt(smiles: string, coords_json: string, charges_jso
|
|
|
3141
3367
|
* contain exactly one value per graph atom, including explicit H. No defaults,
|
|
3142
3368
|
* charge calculation, atom removal or ligand torsion preparation are applied.
|
|
3143
3369
|
* AutoDock types retain the legacy heuristic, with unknown `X` types rejected.
|
|
3370
|
+
* Isotopes are refused; smiles_to_pdbqt_isotope_projection records their omission.
|
|
3144
3371
|
*/
|
|
3145
3372
|
export function smiles_to_pdbqt_checked(smiles: string, coords_json: string, charges_json: string, name: string): string;
|
|
3146
3373
|
|
|
3374
|
+
/**
|
|
3375
|
+
* Explicit isotope projection. Returns JSON {pdbqt, isotopes_omitted} with
|
|
3376
|
+
* zero-based source_atom_index, one-based pdbqt_serial, atomic_number and
|
|
3377
|
+
* mass_number for each label omitted from PDBQT. Retains all explicit atoms,
|
|
3378
|
+
* without H merging, charge recalculation or ligand torsion preparation.
|
|
3379
|
+
*/
|
|
3380
|
+
export function smiles_to_pdbqt_isotope_projection(smiles: string, coords_json: string, charges_json: string, name: string): string;
|
|
3381
|
+
|
|
3147
3382
|
/**
|
|
3148
3383
|
* Render a highlighted SVG from a SMILES string in one call.
|
|
3149
3384
|
*
|
|
@@ -3153,7 +3388,7 @@ export function smiles_to_pdbqt_checked(smiles: string, coords_json: string, cha
|
|
|
3153
3388
|
*
|
|
3154
3389
|
* Returns a JS error on SMILES parse failure.
|
|
3155
3390
|
*/
|
|
3156
|
-
export function smiles_to_svg_highlighted(smiles: string, atoms: Uint32Array, bonds: Uint32Array, color: string): string;
|
|
3391
|
+
export function smiles_to_svg_highlighted(smiles: string, atoms: Uint32Array | number[], bonds: Uint32Array | number[], color: string): string;
|
|
3157
3392
|
|
|
3158
3393
|
/**
|
|
3159
3394
|
* SMR_VSA descriptors (10 bins) as a JSON array.
|
|
@@ -3280,6 +3515,16 @@ export function tanimoto_torsion(a: MolHandle, b: MolHandle): number;
|
|
|
3280
3515
|
*/
|
|
3281
3516
|
export function tautomer_parent_json(mol: MolHandle, max_transforms: number, max_tautomers: number, timeout_ms?: bigint | null): string;
|
|
3282
3517
|
|
|
3518
|
+
/**
|
|
3519
|
+
* Write an edited record, refusing unsupported keys rather than dropping them.
|
|
3520
|
+
*/
|
|
3521
|
+
export function tinker_xyz_from_record_json(json: string): string;
|
|
3522
|
+
|
|
3523
|
+
/**
|
|
3524
|
+
* Read one Tinker XYZ frame. Names/types and declared adjacency remain opaque.
|
|
3525
|
+
*/
|
|
3526
|
+
export function tinker_xyz_record_json(text: string): string;
|
|
3527
|
+
|
|
3283
3528
|
/**
|
|
3284
3529
|
* Serialise a `MolHandle` to a CML string with 2D coordinates.
|
|
3285
3530
|
*
|
|
@@ -3303,7 +3548,11 @@ export function to_cml(mol: MolHandle): string;
|
|
|
3303
3548
|
*
|
|
3304
3549
|
* Returns a JS error if `coords_json`/`options_json` are malformed, if
|
|
3305
3550
|
* `coords_json`'s length doesn't match `mol`'s atom count, or if a
|
|
3306
|
-
* `properties` column's row count doesn't match it.
|
|
3551
|
+
* `properties` column's row count doesn't match it. Options must be an object
|
|
3552
|
+
* with only lattice/properties/info; duplicate keys and malformed values fail.
|
|
3553
|
+
* Nonfinite values, ambiguous/reserved names and invalid frame data fail before
|
|
3554
|
+
* output. Bare empty info values require explicit typed metadata encoding.
|
|
3555
|
+
* Molecular bonds, formal charges, isotope and stereo are not projected.
|
|
3307
3556
|
*/
|
|
3308
3557
|
export function to_extxyz_json(mol: MolHandle, coords_json: string, options_json: string): string;
|
|
3309
3558
|
|
|
@@ -3387,6 +3636,11 @@ export function v3000_sgroups_json(block: string): string;
|
|
|
3387
3636
|
*/
|
|
3388
3637
|
export function validate_nmr_spectrum_json(json: string): string;
|
|
3389
3638
|
|
|
3639
|
+
/**
|
|
3640
|
+
* Explicit checked binary64 Angstrom positions; raw parse/write is independent.
|
|
3641
|
+
*/
|
|
3642
|
+
export function viewmol_positions_angstrom_json(text: string): string;
|
|
3643
|
+
|
|
3390
3644
|
/**
|
|
3391
3645
|
* Virtual screen a query SMILES against a database of SMILES using ECFP4 Tanimoto.
|
|
3392
3646
|
*
|
|
@@ -3429,6 +3683,21 @@ export function whim_getaway_combined_json(mol: MolHandle): string;
|
|
|
3429
3683
|
*/
|
|
3430
3684
|
export function write_cube_json(grid_json: string): string;
|
|
3431
3685
|
|
|
3686
|
+
/**
|
|
3687
|
+
* Serialize validated edited fields; duplicate/unknown JSON keys refuse.
|
|
3688
|
+
*/
|
|
3689
|
+
export function write_fract_from_json(json: string): string;
|
|
3690
|
+
|
|
3691
|
+
/**
|
|
3692
|
+
* Write current fields. Duplicate/unknown keys and unsupported semantics refuse.
|
|
3693
|
+
*/
|
|
3694
|
+
export function write_gpr_from_json(json: string): string;
|
|
3695
|
+
|
|
3696
|
+
/**
|
|
3697
|
+
* Write current fields without rescaling; unknown or duplicate keys refuse.
|
|
3698
|
+
*/
|
|
3699
|
+
export function write_gromos96_from_json(text: string): string;
|
|
3700
|
+
|
|
3432
3701
|
/**
|
|
3433
3702
|
* Write a LAMMPS data file from the JSON shape [`lammps_data_to_json`]
|
|
3434
3703
|
* returns.
|
|
@@ -3448,6 +3717,11 @@ export function write_lammps_dump_frame_json(json: string): string;
|
|
|
3448
3717
|
*/
|
|
3449
3718
|
export function write_lammps_trajectory_json(json: string): string;
|
|
3450
3719
|
|
|
3720
|
+
/**
|
|
3721
|
+
* Write current fields without rescaling; unknown or duplicate keys refuse.
|
|
3722
|
+
*/
|
|
3723
|
+
export function write_lpmd_from_json(text: string): string;
|
|
3724
|
+
|
|
3451
3725
|
/**
|
|
3452
3726
|
* Write an mmCIF file from atom records in the JSON shape
|
|
3453
3727
|
* [`mmcif_to_json`]'s `"atoms"` array uses (a full record per atom, not
|
|
@@ -3457,6 +3731,8 @@ export function write_lammps_trajectory_json(json: string): string;
|
|
|
3457
3731
|
*
|
|
3458
3732
|
* `cell_json`: `"null"` or `{"a":...,"b":...,"c":...,"alpha":...,"beta":...,"gamma":...}`.
|
|
3459
3733
|
* `space_group`: pass `""` for none.
|
|
3734
|
+
* Finite numeric fields retain their binary64 values without fixed decimal
|
|
3735
|
+
* rounding. This does not retain original spelling or uncertainty suffixes.
|
|
3460
3736
|
*/
|
|
3461
3737
|
export function write_mmcif_json(records_json: string, cell_json: string, space_group: string, data_block_name: string): string;
|
|
3462
3738
|
|
|
@@ -3485,6 +3761,14 @@ export function write_opendx_lossy_json(grid_json: string): string;
|
|
|
3485
3761
|
*/
|
|
3486
3762
|
export function write_orca_input_json(json: string): string;
|
|
3487
3763
|
|
|
3764
|
+
/**
|
|
3765
|
+
* Write represented ORCA input fields with exact finite Cartesian values.
|
|
3766
|
+
* Requires explicit fields, rejects unknown/duplicate JSON fields, unit
|
|
3767
|
+
* conflicts, %coords and any metadata that would change on structured reparse.
|
|
3768
|
+
* Accepts either kind or type coordinate tags, never both. No job validation.
|
|
3769
|
+
*/
|
|
3770
|
+
export function write_orca_input_json_checked(input_json: string): string;
|
|
3771
|
+
|
|
3488
3772
|
/**
|
|
3489
3773
|
* Write a PQR file from atom records in the JSON shape [`pqr_to_json`]'s
|
|
3490
3774
|
* `"atoms"` array uses. Each atom's `chain_id` independently controls
|
|
@@ -3493,6 +3777,13 @@ export function write_orca_input_json(json: string): string;
|
|
|
3493
3777
|
*/
|
|
3494
3778
|
export function write_pqr_json(records_json: string): string;
|
|
3495
3779
|
|
|
3780
|
+
/**
|
|
3781
|
+
* Write explicit PQR atom records without numeric rounding or bond inference.
|
|
3782
|
+
* Strict JSON array: no duplicate/unknown fields, missing required values or
|
|
3783
|
+
* incompatible elements. Non-atom source metadata is not represented.
|
|
3784
|
+
*/
|
|
3785
|
+
export function write_pqr_json_checked(records_json: string): string;
|
|
3786
|
+
|
|
3496
3787
|
/**
|
|
3497
3788
|
* Non-canonical SMILES for `mol`.
|
|
3498
3789
|
*
|
|
@@ -3502,6 +3793,16 @@ export function write_pqr_json(records_json: string): string;
|
|
|
3502
3793
|
*/
|
|
3503
3794
|
export function write_smiles(mol: MolHandle): string;
|
|
3504
3795
|
|
|
3796
|
+
/**
|
|
3797
|
+
* Serialize validated edited fields; duplicate/unknown JSON keys refuse.
|
|
3798
|
+
*/
|
|
3799
|
+
export function write_unixyz_from_json(json: string): string;
|
|
3800
|
+
|
|
3801
|
+
/**
|
|
3802
|
+
* Write current fields without rescaling; unknown or duplicate keys refuse.
|
|
3803
|
+
*/
|
|
3804
|
+
export function write_viewmol_from_json(text: string): string;
|
|
3805
|
+
|
|
3505
3806
|
/**
|
|
3506
3807
|
* XLogP3 partition coefficient (alternative to Crippen LogP).
|
|
3507
3808
|
* Returns JSON: `{"xlogp3": float}`.
|
|
@@ -3540,6 +3841,8 @@ export interface InitOutput {
|
|
|
3540
3841
|
readonly autocorr_3d_json: (a: number) => [number, number];
|
|
3541
3842
|
readonly balance_check_json: (a: number, b: number) => [number, number];
|
|
3542
3843
|
readonly batch_report_html: (a: number, b: number) => [number, number];
|
|
3844
|
+
readonly bgf_from_record_json: (a: number, b: number) => [number, number, number, number];
|
|
3845
|
+
readonly bgf_record_json: (a: number, b: number) => [number, number, number, number];
|
|
3543
3846
|
readonly boiled_egg_json: (a: number, b: number) => [number, number];
|
|
3544
3847
|
readonly brenk_matches_json: (a: number) => [number, number];
|
|
3545
3848
|
readonly brenk_report_json: (a: number, b: number) => [number, number, number, number];
|
|
@@ -3562,6 +3865,7 @@ export interface InitOutput {
|
|
|
3562
3865
|
readonly cip_assignments_accurate_json: (a: number) => [number, number];
|
|
3563
3866
|
readonly cip_assignments_json: (a: number) => [number, number];
|
|
3564
3867
|
readonly cip_unresolved_json: (a: number) => [number, number];
|
|
3868
|
+
readonly cleanup_mol: (a: number) => number;
|
|
3565
3869
|
readonly compare_molecules_batch_json: (a: number, b: number, c: number, d: number) => [number, number, number, number];
|
|
3566
3870
|
readonly compare_molecules_json: (a: number, b: number, c: number, d: number) => [number, number, number, number];
|
|
3567
3871
|
readonly compute_canonical_transform_from_coords_json: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => [number, number, number, number];
|
|
@@ -3604,6 +3908,10 @@ export interface InitOutput {
|
|
|
3604
3908
|
readonly dice_ecfp4: (a: number, b: number) => number;
|
|
3605
3909
|
readonly dice_ecfp6: (a: number, b: number) => number;
|
|
3606
3910
|
readonly dice_maccs: (a: number, b: number) => number;
|
|
3911
|
+
readonly dlpoly_config_from_record_json: (a: number, b: number) => [number, number, number, number];
|
|
3912
|
+
readonly dlpoly_config_record_json: (a: number, b: number) => [number, number, number, number];
|
|
3913
|
+
readonly dlpoly_history_from_json: (a: number, b: number) => [number, number, number, number];
|
|
3914
|
+
readonly dlpoly_history_json: (a: number, b: number) => [number, number, number, number];
|
|
3607
3915
|
readonly ecfp4_bitvec: (a: number) => [number, number];
|
|
3608
3916
|
readonly ecfp4_bitvec_with_chirality: (a: number, b: number) => [number, number];
|
|
3609
3917
|
readonly ecfp6_bitvec: (a: number) => [number, number];
|
|
@@ -3649,6 +3957,7 @@ export interface InitOutput {
|
|
|
3649
3957
|
readonly get_dihedral_json: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
|
|
3650
3958
|
readonly get_rdkit_descriptors_json: (a: number) => [number, number];
|
|
3651
3959
|
readonly getaway_descriptors_json: (a: number) => [number, number];
|
|
3960
|
+
readonly gromos96_geometry_angstrom_json: (a: number, b: number) => [number, number, number, number];
|
|
3652
3961
|
readonly hdf_json: (a: number, b: number, c: number, d: bigint) => [number, number];
|
|
3653
3962
|
readonly identify_functional_groups: (a: number) => [number, number];
|
|
3654
3963
|
readonly inchi_from_smiles: (a: number, b: number) => [number, number];
|
|
@@ -3666,9 +3975,11 @@ export interface InitOutput {
|
|
|
3666
3975
|
readonly lammps_trajectory_to_json: (a: number, b: number) => [number, number, number, number];
|
|
3667
3976
|
readonly largest_fragment: (a: number) => number;
|
|
3668
3977
|
readonly logp_per_atom_json: (a: number) => [number, number];
|
|
3978
|
+
readonly lpmd_positions_angstrom_json: (a: number, b: number) => [number, number, number, number];
|
|
3669
3979
|
readonly maccs_bitvec: (a: number) => [number, number];
|
|
3670
3980
|
readonly match_smarts_smiles: (a: number, b: number, c: number, d: number) => [number, number, number, number];
|
|
3671
3981
|
readonly maxmin_picks_ecfp4_json: (a: number, b: number, c: number) => [number, number, number, number];
|
|
3982
|
+
readonly mcs_smarts_json_with_config: (a: number, b: number, c: number, d: number) => [number, number, number, number];
|
|
3672
3983
|
readonly mcs_smiles_json: (a: number, b: number) => [number, number, number, number];
|
|
3673
3984
|
readonly mcs_smiles_json_with_config: (a: number, b: number, c: number, d: number) => [number, number, number, number];
|
|
3674
3985
|
readonly mcs_smiles_json_with_ring_config: (a: number, b: number, c: number, d: number) => [number, number, number, number];
|
|
@@ -3726,6 +4037,8 @@ export interface InitOutput {
|
|
|
3726
4037
|
readonly mol_with_atom_removed: (a: number, b: number) => [number, number, number];
|
|
3727
4038
|
readonly mol_with_bond_added: (a: number, b: number, c: number, d: number) => [number, number, number];
|
|
3728
4039
|
readonly mol_with_bond_removed: (a: number, b: number) => [number, number, number];
|
|
4040
|
+
readonly molden_from_record_json: (a: number, b: number) => [number, number, number, number];
|
|
4041
|
+
readonly molden_record_json: (a: number, b: number) => [number, number, number, number];
|
|
3729
4042
|
readonly molecule_report_json: (a: number, b: number) => [number, number, number, number];
|
|
3730
4043
|
readonly molhandle_aromatic_ring_count: (a: number) => number;
|
|
3731
4044
|
readonly molhandle_assign_cip_json: (a: number) => [number, number];
|
|
@@ -3757,6 +4070,7 @@ export interface InitOutput {
|
|
|
3757
4070
|
readonly molhandle_exact_mass: (a: number) => number;
|
|
3758
4071
|
readonly molhandle_formal_charge_sum: (a: number) => number;
|
|
3759
4072
|
readonly molhandle_formula: (a: number) => [number, number];
|
|
4073
|
+
readonly molhandle_formula_with_isotopes: (a: number) => [number, number];
|
|
3760
4074
|
readonly molhandle_fsp3: (a: number) => number;
|
|
3761
4075
|
readonly molhandle_ghose_passes: (a: number) => number;
|
|
3762
4076
|
readonly molhandle_hba_count: (a: number) => number;
|
|
@@ -3811,6 +4125,7 @@ export interface InitOutput {
|
|
|
3811
4125
|
readonly molhandle_rdkit_mol_hash: (a: number, b: number, c: number, d: number) => [number, number, number, number];
|
|
3812
4126
|
readonly molhandle_rdkit_morgan_bit_info_json: (a: number, b: number, c: number, d: number) => [number, number, number, number];
|
|
3813
4127
|
readonly molhandle_rdkit_murcko_scaffold: (a: number) => [number, number, number, number];
|
|
4128
|
+
readonly molhandle_rdkit_parsed: (a: number) => [number, number, number];
|
|
3814
4129
|
readonly molhandle_rdkit_pdb_block: (a: number, b: number, c: number) => [number, number, number, number];
|
|
3815
4130
|
readonly molhandle_rdkit_smarts: (a: number, b: number, c: number) => [number, number, number, number];
|
|
3816
4131
|
readonly molhandle_rdkit_smiles: (a: number) => [number, number, number, number];
|
|
@@ -3834,13 +4149,17 @@ export interface InitOutput {
|
|
|
3834
4149
|
readonly nearest_neighbors_json: (a: number, b: number, c: number, d: number, e: number) => [number, number];
|
|
3835
4150
|
readonly neutralize_charges: (a: number) => number;
|
|
3836
4151
|
readonly normalize_cxsmiles: (a: number, b: number) => [number, number, number, number];
|
|
4152
|
+
readonly normalize_reaction_cxsmiles: (a: number, b: number, c: number) => [number, number, number, number];
|
|
3837
4153
|
readonly normalize_reaction_smiles: (a: number, b: number) => [number, number, number, number];
|
|
3838
4154
|
readonly nucleic_acid_apply_json_command: (a: number, b: number, c: number, d: number) => [number, number];
|
|
3839
4155
|
readonly nucleic_acid_validate_json: (a: number, b: number) => [number, number];
|
|
3840
4156
|
readonly num_hydrogens: (a: number) => number;
|
|
4157
|
+
readonly nwchem_geometry_from_json: (a: number, b: number) => [number, number, number, number];
|
|
4158
|
+
readonly nwchem_geometry_json: (a: number, b: number) => [number, number, number, number];
|
|
3841
4159
|
readonly opendx_grid_json: (a: number, b: number) => [number, number, number, number];
|
|
3842
4160
|
readonly opendx_shape_u32: (a: number, b: number) => [number, number, number];
|
|
3843
4161
|
readonly opendx_values_f64: (a: number, b: number) => [number, number, number];
|
|
4162
|
+
readonly orca_cartesian_geometry_json: (a: number, b: number) => [number, number, number, number];
|
|
3844
4163
|
readonly orca_input_coords_json: (a: number, b: number) => [number, number, number, number];
|
|
3845
4164
|
readonly orca_input_to_json: (a: number, b: number) => [number, number, number, number];
|
|
3846
4165
|
readonly orca_output_to_json: (a: number, b: number) => [number, number, number, number];
|
|
@@ -3849,11 +4168,19 @@ export interface InitOutput {
|
|
|
3849
4168
|
readonly parse_cjson_record_json: (a: number, b: number) => [number, number, number, number];
|
|
3850
4169
|
readonly parse_cxsmarts_json: (a: number, b: number) => [number, number, number, number];
|
|
3851
4170
|
readonly parse_cxsmiles_json: (a: number, b: number) => [number, number, number, number];
|
|
4171
|
+
readonly parse_fract_json: (a: number, b: number) => [number, number, number, number];
|
|
4172
|
+
readonly parse_gjf_document_json: (a: number, b: number) => [number, number, number, number];
|
|
4173
|
+
readonly parse_gpr_json: (a: number, b: number) => [number, number, number, number];
|
|
4174
|
+
readonly parse_gromos96_json: (a: number, b: number, c: number, d: number) => [number, number, number, number];
|
|
3852
4175
|
readonly parse_hin_record_json: (a: number, b: number) => [number, number, number, number];
|
|
4176
|
+
readonly parse_lpmd_json: (a: number, b: number) => [number, number, number, number];
|
|
3853
4177
|
readonly parse_mol2_record_json: (a: number, b: number) => [number, number, number, number];
|
|
3854
4178
|
readonly parse_smiles: (a: number, b: number) => [number, number, number];
|
|
4179
|
+
readonly parse_unixyz_json: (a: number, b: number) => [number, number, number, number];
|
|
4180
|
+
readonly parse_viewmol_json: (a: number, b: number) => [number, number, number, number];
|
|
3855
4181
|
readonly pdb_conect_frame_json: (a: number, b: number, c: number) => [number, number, number, number];
|
|
3856
4182
|
readonly pdb_coords_json: (a: number, b: number) => [number, number];
|
|
4183
|
+
readonly pdbqt_atom_data_json: (a: number, b: number) => [number, number, number, number];
|
|
3857
4184
|
readonly peoe_vsa_json: (a: number) => [number, number];
|
|
3858
4185
|
readonly periodic_structure_fingerprint_json: (a: number, b: number, c: number, d: number) => [number, number];
|
|
3859
4186
|
readonly pharmacophore_features_json: (a: number) => [number, number];
|
|
@@ -3867,6 +4194,8 @@ export interface InitOutput {
|
|
|
3867
4194
|
readonly preflight_smiles_json: (a: number, b: number, c: number, d: number) => [number, number];
|
|
3868
4195
|
readonly prepare_rdkit_ecfp4: (a: number) => [number, number, number];
|
|
3869
4196
|
readonly preparedrdkitecfp4handle_bitvec: (a: number) => [number, number];
|
|
4197
|
+
readonly project_cjson_to_cml: (a: number, b: number) => [number, number, number, number];
|
|
4198
|
+
readonly project_cml_to_cjson: (a: number, b: number) => [number, number, number, number];
|
|
3870
4199
|
readonly protein_from_mmcif_json: (a: number, b: number) => [number, number, number, number];
|
|
3871
4200
|
readonly protein_from_pdb_json: (a: number, b: number) => [number, number, number, number];
|
|
3872
4201
|
readonly qcschema_molecule_coords_json: (a: number, b: number) => [number, number, number, number];
|
|
@@ -3874,6 +4203,7 @@ export interface InitOutput {
|
|
|
3874
4203
|
readonly qcschema_validate_atomic_result: (a: number, b: number) => [number, number, number, number];
|
|
3875
4204
|
readonly random_smiles_json: (a: number, b: number, c: number, d: bigint) => [number, number, number, number];
|
|
3876
4205
|
readonly rdkit_atom_code: (a: number, b: number, c: number) => [number, number, number];
|
|
4206
|
+
readonly rdkit_atom_pair_config_detail_json: (a: number, b: number, c: number) => [number, number, number, number];
|
|
3877
4207
|
readonly rdkit_ecfp4_bitvec: (a: number) => [number, number, number, number];
|
|
3878
4208
|
readonly rdkit_ecfp4_detail_json: (a: number) => [number, number, number, number];
|
|
3879
4209
|
readonly rdkit_ecfp_config_bitvec: (a: number, b: number, c: number) => [number, number, number, number];
|
|
@@ -3883,12 +4213,15 @@ export interface InitOutput {
|
|
|
3883
4213
|
readonly rdkit_from_mol2_block: (a: number, b: number, c: number, d: number, e: number) => [number, number, number];
|
|
3884
4214
|
readonly rdkit_from_pdb_block: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number, number];
|
|
3885
4215
|
readonly rdkit_from_xyz_block: (a: number, b: number) => [number, number, number];
|
|
4216
|
+
readonly rdkit_layered_config_detail_json: (a: number, b: number, c: number) => [number, number, number, number];
|
|
3886
4217
|
readonly rdkit_nearest_neighbors_json: (a: number, b: number, c: number, d: number, e: number) => [number, number];
|
|
3887
4218
|
readonly rdkit_path_bitvec: (a: number) => [number, number];
|
|
3888
4219
|
readonly rdkit_rdk_bitvec: (a: number) => [number, number];
|
|
3889
4220
|
readonly rdkit_rdk_bitvec_ignoring_atoms: (a: number, b: number, c: number) => [number, number, number, number];
|
|
4221
|
+
readonly rdkit_rdk_config_detail_json: (a: number, b: number, c: number) => [number, number, number, number];
|
|
3890
4222
|
readonly rdkit_topological_torsion_path_code_decimal: (a: number, b: number, c: number) => [number, number, number, number];
|
|
3891
4223
|
readonly rdkit_torsion_bitvec: (a: number) => [number, number];
|
|
4224
|
+
readonly rdkit_torsion_config_detail_json: (a: number, b: number, c: number) => [number, number, number, number];
|
|
3892
4225
|
readonly rdkitreadresult_coords_json: (a: number) => [number, number, number, number];
|
|
3893
4226
|
readonly rdkitreadresult_molecule: (a: number) => number;
|
|
3894
4227
|
readonly rdkitreadresult_smiles: (a: number) => [number, number];
|
|
@@ -3908,9 +4241,13 @@ export interface InitOutput {
|
|
|
3908
4241
|
readonly rgroup_decompose_json: (a: number, b: number, c: number, d: number) => [number, number, number, number];
|
|
3909
4242
|
readonly ring_families_json: (a: number) => [number, number, number, number];
|
|
3910
4243
|
readonly roundtrip_cjson_record: (a: number, b: number) => [number, number, number, number];
|
|
4244
|
+
readonly roundtrip_cml_source: (a: number, b: number) => [number, number, number, number];
|
|
4245
|
+
readonly roundtrip_gjf_document: (a: number, b: number) => [number, number, number, number];
|
|
4246
|
+
readonly roundtrip_gjf_record: (a: number, b: number) => [number, number, number, number];
|
|
3911
4247
|
readonly roundtrip_hin_record: (a: number, b: number) => [number, number, number, number];
|
|
3912
4248
|
readonly roundtrip_mol2_record: (a: number, b: number) => [number, number, number, number];
|
|
3913
4249
|
readonly roundtrip_mol_v3000_block: (a: number, b: number) => [number, number, number, number];
|
|
4250
|
+
readonly roundtrip_sdf_source: (a: number, b: number) => [number, number, number, number];
|
|
3914
4251
|
readonly run_reactants: (a: number, b: number, c: number, d: number) => [number, number, number, number];
|
|
3915
4252
|
readonly run_reactants_checked: (a: number, b: number, c: number, d: number, e: number) => [number, number];
|
|
3916
4253
|
readonly rxn_document_from_rxn: (a: number, b: number) => [number, number, number, number];
|
|
@@ -3933,10 +4270,12 @@ export interface InitOutput {
|
|
|
3933
4270
|
readonly slogp_vsa_json: (a: number) => [number, number];
|
|
3934
4271
|
readonly smarts_match_atoms: (a: number, b: number, c: number) => [number, number, number, number];
|
|
3935
4272
|
readonly smarts_match_atoms_with_chirality: (a: number, b: number, c: number, d: number) => [number, number, number, number];
|
|
4273
|
+
readonly smarts_match_atoms_with_config: (a: number, b: number, c: number, d: number, e: number) => [number, number, number, number];
|
|
3936
4274
|
readonly smiles_array_to_sdf: (a: number, b: number) => [number, number, number, number];
|
|
3937
4275
|
readonly smiles_to_mol2: (a: number, b: number, c: number) => [number, number];
|
|
3938
4276
|
readonly smiles_to_pdbqt: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => [number, number];
|
|
3939
4277
|
readonly smiles_to_pdbqt_checked: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => [number, number, number, number];
|
|
4278
|
+
readonly smiles_to_pdbqt_isotope_projection: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => [number, number, number, number];
|
|
3940
4279
|
readonly smiles_to_svg_highlighted: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => [number, number, number, number];
|
|
3941
4280
|
readonly smilesbatchstreamhandle_finish_json: (a: number) => [number, number, number, number];
|
|
3942
4281
|
readonly smilesbatchstreamhandle_new: () => number;
|
|
@@ -3969,6 +4308,8 @@ export interface InitOutput {
|
|
|
3969
4308
|
readonly tetrahedralcleanupresult_removed: (a: number) => number;
|
|
3970
4309
|
readonly tetrahedralcleanupresult_report_json: (a: number) => [number, number];
|
|
3971
4310
|
readonly tetrahedralcleanupresult_search_visits: (a: number) => number;
|
|
4311
|
+
readonly tinker_xyz_from_record_json: (a: number, b: number) => [number, number, number, number];
|
|
4312
|
+
readonly tinker_xyz_record_json: (a: number, b: number) => [number, number, number, number];
|
|
3972
4313
|
readonly to_cml: (a: number) => [number, number];
|
|
3973
4314
|
readonly to_extxyz_json: (a: number, b: number, c: number, d: number, e: number) => [number, number, number, number];
|
|
3974
4315
|
readonly to_mol_block: (a: number) => [number, number];
|
|
@@ -3982,28 +4323,37 @@ export interface InitOutput {
|
|
|
3982
4323
|
readonly torsion_scan_json: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number];
|
|
3983
4324
|
readonly v3000_sgroups_json: (a: number, b: number) => [number, number, number, number];
|
|
3984
4325
|
readonly validate_nmr_spectrum_json: (a: number, b: number) => [number, number];
|
|
4326
|
+
readonly viewmol_positions_angstrom_json: (a: number, b: number) => [number, number, number, number];
|
|
3985
4327
|
readonly virtual_screen_ecfp4_json: (a: number, b: number, c: number, d: number, e: number) => [number, number];
|
|
3986
4328
|
readonly wasm_linear_memory_bytes: () => number;
|
|
3987
4329
|
readonly whim_descriptors_json: (a: number) => [number, number];
|
|
3988
4330
|
readonly whim_getaway_combined_json: (a: number) => [number, number];
|
|
3989
4331
|
readonly write_cube_json: (a: number, b: number) => [number, number, number, number];
|
|
4332
|
+
readonly write_fract_from_json: (a: number, b: number) => [number, number, number, number];
|
|
4333
|
+
readonly write_gpr_from_json: (a: number, b: number) => [number, number, number, number];
|
|
4334
|
+
readonly write_gromos96_from_json: (a: number, b: number) => [number, number, number, number];
|
|
3990
4335
|
readonly write_lammps_data_json: (a: number, b: number) => [number, number, number, number];
|
|
3991
4336
|
readonly write_lammps_dump_frame_json: (a: number, b: number) => [number, number, number, number];
|
|
3992
4337
|
readonly write_lammps_trajectory_json: (a: number, b: number) => [number, number, number, number];
|
|
4338
|
+
readonly write_lpmd_from_json: (a: number, b: number) => [number, number, number, number];
|
|
3993
4339
|
readonly write_mmcif_json: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => [number, number, number, number];
|
|
3994
4340
|
readonly write_opendx_json: (a: number, b: number) => [number, number, number, number];
|
|
3995
4341
|
readonly write_opendx_lossy_json: (a: number, b: number) => [number, number, number, number];
|
|
3996
4342
|
readonly write_orca_input_json: (a: number, b: number) => [number, number, number, number];
|
|
4343
|
+
readonly write_orca_input_json_checked: (a: number, b: number) => [number, number, number, number];
|
|
3997
4344
|
readonly write_pqr_json: (a: number, b: number) => [number, number, number, number];
|
|
4345
|
+
readonly write_pqr_json_checked: (a: number, b: number) => [number, number, number, number];
|
|
3998
4346
|
readonly write_smiles: (a: number) => [number, number];
|
|
4347
|
+
readonly write_unixyz_from_json: (a: number, b: number) => [number, number, number, number];
|
|
4348
|
+
readonly write_viewmol_from_json: (a: number, b: number) => [number, number, number, number];
|
|
3999
4349
|
readonly xlogp3_json: (a: number) => [number, number];
|
|
4000
4350
|
readonly xlogp3_per_atom_json: (a: number) => [number, number];
|
|
4001
4351
|
readonly xyz_frames_batch_json: (a: number, b: number, c: number, d: number) => [number, number, number, number];
|
|
4002
4352
|
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
4003
4353
|
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
4354
|
+
readonly __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
4004
4355
|
readonly __externref_table_alloc: () => number;
|
|
4005
4356
|
readonly __wbindgen_externrefs: WebAssembly.Table;
|
|
4006
|
-
readonly __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
4007
4357
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
4008
4358
|
readonly __externref_drop_slice: (a: number, b: number) => void;
|
|
4009
4359
|
readonly __wbindgen_start: () => void;
|