@kent-tokyo/chematic 1.2.1 → 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 +1 -1
- package/chematic_wasm.d.ts +295 -21
- package/chematic_wasm.js +2342 -705
- 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).
|
|
@@ -1041,7 +1061,11 @@ export function conformer_ensemble_json(mol: MolHandle, n: number, rmsd_threshol
|
|
|
1041
1061
|
* GJF/COM supports only
|
|
1042
1062
|
* same-format retention of a bounded single Cartesian job, including opaque
|
|
1043
1063
|
* job sections (not a Gaussian job validator).
|
|
1044
|
-
* V3000-to-CJSON also
|
|
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
|
|
1045
1069
|
* carries source-order x/y/z values; it does not retain opaque metadata or
|
|
1046
1070
|
* verify cross-format stereo.
|
|
1047
1071
|
* MOL2-to-CJSON checks
|
|
@@ -1051,10 +1075,17 @@ export function conformer_ensemble_json(mol: MolHandle, n: number, rmsd_threshol
|
|
|
1051
1075
|
* NO_CHARGES zero placeholders are omitted as explicitly unassigned values.
|
|
1052
1076
|
* Other conversions use
|
|
1053
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.
|
|
1054
1080
|
* SDF-to-SDF retains every validated source record. Other MOL/SDF input routes
|
|
1055
1081
|
* require exactly one CTAB and omit SD fields; SDF output is one framed record.
|
|
1056
|
-
* CML-to-CJSON
|
|
1057
|
-
*
|
|
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.
|
|
1058
1089
|
*/
|
|
1059
1090
|
export function convert_common_format(text: string, input_format: string, output_format: string): string;
|
|
1060
1091
|
|
|
@@ -1186,6 +1217,14 @@ export function dice_ecfp6(a: MolHandle, b: MolHandle): number;
|
|
|
1186
1217
|
*/
|
|
1187
1218
|
export function dice_maccs(a: MolHandle, b: MolHandle): number;
|
|
1188
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
|
+
|
|
1189
1228
|
/**
|
|
1190
1229
|
* Compute the ECFP4 fingerprint as a bit-packed byte vector (256 bytes = 2048 bits).
|
|
1191
1230
|
*/
|
|
@@ -1368,7 +1407,8 @@ export function explain_rdkit_topological_torsion_code_json(code_decimal: string
|
|
|
1368
1407
|
* "info":{"key":"value", ...}}`.
|
|
1369
1408
|
*
|
|
1370
1409
|
* Returns a JS error on parse failure or if the frame exceeds the WASM
|
|
1371
|
-
* 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.
|
|
1372
1412
|
*/
|
|
1373
1413
|
export function extxyz_frame_json(text: string): string;
|
|
1374
1414
|
|
|
@@ -1600,6 +1640,11 @@ export function get_rdkit_descriptors_json(mol: MolHandle): string;
|
|
|
1600
1640
|
*/
|
|
1601
1641
|
export function getaway_descriptors_json(mol: MolHandle): string;
|
|
1602
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
|
+
|
|
1603
1648
|
/**
|
|
1604
1649
|
* Parse a ChemDraw XML (CDXML) string into a `MolHandle`.
|
|
1605
1650
|
*
|
|
@@ -1789,6 +1834,11 @@ export function largest_fragment(mol: MolHandle): MolHandle;
|
|
|
1789
1834
|
*/
|
|
1790
1835
|
export function logp_per_atom_json(mol: MolHandle): string;
|
|
1791
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
|
+
|
|
1792
1842
|
/**
|
|
1793
1843
|
* MACCS 166-bit structural keys fingerprint as a byte array (21 bytes, LSB-first).
|
|
1794
1844
|
*
|
|
@@ -1814,6 +1864,17 @@ export function match_smarts_smiles(smiles: string, smarts: string): string;
|
|
|
1814
1864
|
*/
|
|
1815
1865
|
export function maxmin_picks_ecfp4_json(smiles_json: string, n: number): string;
|
|
1816
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
|
+
|
|
1817
1878
|
/**
|
|
1818
1879
|
* Maximum Common Substructure of a set of molecules, returned as a canonical SMILES string.
|
|
1819
1880
|
*
|
|
@@ -2119,7 +2180,8 @@ export function mol_from_cube(text: string): MolHandle;
|
|
|
2119
2180
|
* too. Only the first frame of a multi-frame file is read.
|
|
2120
2181
|
*
|
|
2121
2182
|
* Returns a JS error on parse failure or if the frame exceeds the WASM
|
|
2122
|
-
* 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.
|
|
2123
2185
|
*/
|
|
2124
2186
|
export function mol_from_extxyz(text: string): MolHandle;
|
|
2125
2187
|
|
|
@@ -2133,10 +2195,10 @@ export function mol_from_extxyz(text: string): MolHandle;
|
|
|
2133
2195
|
export function mol_from_mmcif(text: string): MolHandle;
|
|
2134
2196
|
|
|
2135
2197
|
/**
|
|
2136
|
-
* Parse
|
|
2137
|
-
*
|
|
2138
|
-
*
|
|
2139
|
-
*
|
|
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.
|
|
2140
2202
|
*/
|
|
2141
2203
|
export function mol_from_moljson(json: string): MolHandle;
|
|
2142
2204
|
|
|
@@ -2219,7 +2281,9 @@ export function mol_from_v3000_block(block: string): MolHandle;
|
|
|
2219
2281
|
/**
|
|
2220
2282
|
* Parse an XYZ file and return a `MolHandle` (topology only; coordinates are discarded).
|
|
2221
2283
|
*
|
|
2222
|
-
* 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.
|
|
2223
2287
|
*/
|
|
2224
2288
|
export function mol_from_xyz(xyz: string): MolHandle;
|
|
2225
2289
|
|
|
@@ -2286,6 +2350,10 @@ export function mol_with_bond_added(mol: MolHandle, a: number, b: number, order:
|
|
|
2286
2350
|
*/
|
|
2287
2351
|
export function mol_with_bond_removed(mol: MolHandle, idx: number): MolHandle;
|
|
2288
2352
|
|
|
2353
|
+
export function molden_from_record_json(json: string): string;
|
|
2354
|
+
|
|
2355
|
+
export function molden_record_json(text: string): string;
|
|
2356
|
+
|
|
2289
2357
|
/**
|
|
2290
2358
|
* Generate a complete molecular report (JSON string) from a SMILES.
|
|
2291
2359
|
* Returns the JSON representation of a `MoleculeReport` struct.
|
|
@@ -2302,7 +2370,7 @@ export function molecule_report_json(smiles: string): string;
|
|
|
2302
2370
|
/**
|
|
2303
2371
|
* Concrete CDX/CDXML fragment handles, in source fragment order.
|
|
2304
2372
|
*/
|
|
2305
|
-
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[];
|
|
2306
2374
|
|
|
2307
2375
|
/**
|
|
2308
2376
|
* MQN descriptor (42 integer values: Molecular Quantum Numbers).
|
|
@@ -2343,6 +2411,12 @@ export function neutralize_charges(mol: MolHandle): MolHandle;
|
|
|
2343
2411
|
*/
|
|
2344
2412
|
export function normalize_cxsmiles(s: string): string;
|
|
2345
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
|
+
|
|
2346
2420
|
/**
|
|
2347
2421
|
* Parse and re-serialise a reaction SMILES string, returning the normalised form.
|
|
2348
2422
|
*
|
|
@@ -2371,6 +2445,10 @@ export function nucleic_acid_validate_json(document_json: string): string;
|
|
|
2371
2445
|
*/
|
|
2372
2446
|
export function num_hydrogens(mol: MolHandle): number;
|
|
2373
2447
|
|
|
2448
|
+
export function nwchem_geometry_from_json(json: string): string;
|
|
2449
|
+
|
|
2450
|
+
export function nwchem_geometry_json(text: string): string;
|
|
2451
|
+
|
|
2374
2452
|
/**
|
|
2375
2453
|
* Parse an OpenDX (APBS scalar-field subset) file and return its full
|
|
2376
2454
|
* [`chematic_mol::VolumetricGrid`] as JSON (same shape as
|
|
@@ -2467,17 +2545,39 @@ export function parse_cxsmarts_json(s: string): string;
|
|
|
2467
2545
|
*/
|
|
2468
2546
|
export function parse_cxsmiles_json(s: string): string;
|
|
2469
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
|
+
|
|
2470
2554
|
/**
|
|
2471
2555
|
* Inspect every ordered Cartesian job with UTF-8 byte ranges in the original source.
|
|
2472
2556
|
* Coordinate units are unchanged; no inferred bonds or external resource reads.
|
|
2473
2557
|
*/
|
|
2474
2558
|
export function parse_gjf_document_json(text: string): string;
|
|
2475
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
|
+
|
|
2476
2571
|
/**
|
|
2477
2572
|
* Inspect the bounded HIN record, including literal aromatic bonds and charges.
|
|
2478
2573
|
*/
|
|
2479
2574
|
export function parse_hin_record_json(text: string): string;
|
|
2480
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
|
+
|
|
2481
2581
|
/**
|
|
2482
2582
|
* Inspect partial charges, atom types and source retention for MOL2.
|
|
2483
2583
|
*/
|
|
@@ -2490,6 +2590,17 @@ export function parse_mol2_record_json(text: string): string;
|
|
|
2490
2590
|
*/
|
|
2491
2591
|
export function parse_smiles(s: string): MolHandle;
|
|
2492
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
|
+
|
|
2493
2604
|
/**
|
|
2494
2605
|
* Indexed atoms/charges, bonds, coordinates and source serials for the same
|
|
2495
2606
|
* explicit CONECT projection. Molecular identity and coordinate order agree.
|
|
@@ -2620,6 +2731,17 @@ export function preflight_smiles_json(smiles: string, width: number, height: num
|
|
|
2620
2731
|
*/
|
|
2621
2732
|
export function prepare_rdkit_ecfp4(mol: MolHandle): PreparedRdkitEcfp4Handle;
|
|
2622
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
|
+
|
|
2623
2745
|
/**
|
|
2624
2746
|
* Amino-acid-only mmCIF projection in the same schema as
|
|
2625
2747
|
* [`protein_from_pdb_json`].
|
|
@@ -2685,6 +2807,13 @@ export function random_smiles_json(smiles: string, count: number, seed: bigint):
|
|
|
2685
2807
|
*/
|
|
2686
2808
|
export function rdkit_atom_code(mol: MolHandle, atom_index: number, branch_subtract: number): number;
|
|
2687
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
|
+
|
|
2688
2817
|
/**
|
|
2689
2818
|
* RDKit-bit-exact ECFP4 (radius=2, 2048 bits, `useChirality=false`, `useBondTypes=true`,
|
|
2690
2819
|
* RDKit's default atom invariant) as a bit-packed byte vector (256 bytes = 2048 bits).
|
|
@@ -2759,6 +2888,13 @@ export function rdkit_from_pdb_block(text: string, sanitize: boolean, remove_hs:
|
|
|
2759
2888
|
*/
|
|
2760
2889
|
export function rdkit_from_xyz_block(text: string): RdkitReadResult;
|
|
2761
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
|
+
|
|
2762
2898
|
/**
|
|
2763
2899
|
* Find the k nearest neighbours using the RDKit-compatible Morgan/ECFP4
|
|
2764
2900
|
* profile. This is intentionally separate from [`nearest_neighbors_json`],
|
|
@@ -2790,7 +2926,14 @@ export function rdkit_rdk_bitvec(mol: MolHandle): Uint8Array;
|
|
|
2790
2926
|
* containing one of `ignored_atoms` is excluded. Invalid indices return a JS
|
|
2791
2927
|
* error; an empty list is bit-identical to [`rdkit_rdk_bitvec`].
|
|
2792
2928
|
*/
|
|
2793
|
-
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;
|
|
2794
2937
|
|
|
2795
2938
|
/**
|
|
2796
2939
|
* Pack a JSON array of atom indices into RDKit's legacy torsion code.
|
|
@@ -2807,6 +2950,13 @@ export function rdkit_topological_torsion_path_code_decimal(mol: MolHandle, path
|
|
|
2807
2950
|
*/
|
|
2808
2951
|
export function rdkit_torsion_bitvec(mol: MolHandle): Uint8Array;
|
|
2809
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
|
+
|
|
2810
2960
|
/**
|
|
2811
2961
|
* Validate and deterministically serialize a rich reaction document JSON.
|
|
2812
2962
|
*
|
|
@@ -2916,6 +3066,13 @@ export function ring_families_json(mol: MolHandle): string;
|
|
|
2916
3066
|
*/
|
|
2917
3067
|
export function roundtrip_cjson_record(text: string): string;
|
|
2918
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
|
+
|
|
2919
3076
|
/**
|
|
2920
3077
|
* Retain all explicit Cartesian Link1 jobs as exact source; no job selection.
|
|
2921
3078
|
* Budgets are cumulative. Opaque sections and external resources are not interpreted.
|
|
@@ -3169,6 +3326,13 @@ export function smarts_match_atoms(smarts: string, mol: MolHandle): string;
|
|
|
3169
3326
|
*/
|
|
3170
3327
|
export function smarts_match_atoms_with_chirality(smarts: string, mol: MolHandle, use_chirality: boolean): string;
|
|
3171
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
|
+
|
|
3172
3336
|
/**
|
|
3173
3337
|
* Serialise a JSON array of SMILES to an SDF string.
|
|
3174
3338
|
*
|
|
@@ -3203,9 +3367,18 @@ export function smiles_to_pdbqt(smiles: string, coords_json: string, charges_jso
|
|
|
3203
3367
|
* contain exactly one value per graph atom, including explicit H. No defaults,
|
|
3204
3368
|
* charge calculation, atom removal or ligand torsion preparation are applied.
|
|
3205
3369
|
* AutoDock types retain the legacy heuristic, with unknown `X` types rejected.
|
|
3370
|
+
* Isotopes are refused; smiles_to_pdbqt_isotope_projection records their omission.
|
|
3206
3371
|
*/
|
|
3207
3372
|
export function smiles_to_pdbqt_checked(smiles: string, coords_json: string, charges_json: string, name: string): string;
|
|
3208
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
|
+
|
|
3209
3382
|
/**
|
|
3210
3383
|
* Render a highlighted SVG from a SMILES string in one call.
|
|
3211
3384
|
*
|
|
@@ -3215,7 +3388,7 @@ export function smiles_to_pdbqt_checked(smiles: string, coords_json: string, cha
|
|
|
3215
3388
|
*
|
|
3216
3389
|
* Returns a JS error on SMILES parse failure.
|
|
3217
3390
|
*/
|
|
3218
|
-
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;
|
|
3219
3392
|
|
|
3220
3393
|
/**
|
|
3221
3394
|
* SMR_VSA descriptors (10 bins) as a JSON array.
|
|
@@ -3342,6 +3515,16 @@ export function tanimoto_torsion(a: MolHandle, b: MolHandle): number;
|
|
|
3342
3515
|
*/
|
|
3343
3516
|
export function tautomer_parent_json(mol: MolHandle, max_transforms: number, max_tautomers: number, timeout_ms?: bigint | null): string;
|
|
3344
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
|
+
|
|
3345
3528
|
/**
|
|
3346
3529
|
* Serialise a `MolHandle` to a CML string with 2D coordinates.
|
|
3347
3530
|
*
|
|
@@ -3365,7 +3548,11 @@ export function to_cml(mol: MolHandle): string;
|
|
|
3365
3548
|
*
|
|
3366
3549
|
* Returns a JS error if `coords_json`/`options_json` are malformed, if
|
|
3367
3550
|
* `coords_json`'s length doesn't match `mol`'s atom count, or if a
|
|
3368
|
-
* `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.
|
|
3369
3556
|
*/
|
|
3370
3557
|
export function to_extxyz_json(mol: MolHandle, coords_json: string, options_json: string): string;
|
|
3371
3558
|
|
|
@@ -3449,6 +3636,11 @@ export function v3000_sgroups_json(block: string): string;
|
|
|
3449
3636
|
*/
|
|
3450
3637
|
export function validate_nmr_spectrum_json(json: string): string;
|
|
3451
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
|
+
|
|
3452
3644
|
/**
|
|
3453
3645
|
* Virtual screen a query SMILES against a database of SMILES using ECFP4 Tanimoto.
|
|
3454
3646
|
*
|
|
@@ -3491,6 +3683,21 @@ export function whim_getaway_combined_json(mol: MolHandle): string;
|
|
|
3491
3683
|
*/
|
|
3492
3684
|
export function write_cube_json(grid_json: string): string;
|
|
3493
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
|
+
|
|
3494
3701
|
/**
|
|
3495
3702
|
* Write a LAMMPS data file from the JSON shape [`lammps_data_to_json`]
|
|
3496
3703
|
* returns.
|
|
@@ -3510,6 +3717,11 @@ export function write_lammps_dump_frame_json(json: string): string;
|
|
|
3510
3717
|
*/
|
|
3511
3718
|
export function write_lammps_trajectory_json(json: string): string;
|
|
3512
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
|
+
|
|
3513
3725
|
/**
|
|
3514
3726
|
* Write an mmCIF file from atom records in the JSON shape
|
|
3515
3727
|
* [`mmcif_to_json`]'s `"atoms"` array uses (a full record per atom, not
|
|
@@ -3519,6 +3731,8 @@ export function write_lammps_trajectory_json(json: string): string;
|
|
|
3519
3731
|
*
|
|
3520
3732
|
* `cell_json`: `"null"` or `{"a":...,"b":...,"c":...,"alpha":...,"beta":...,"gamma":...}`.
|
|
3521
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.
|
|
3522
3736
|
*/
|
|
3523
3737
|
export function write_mmcif_json(records_json: string, cell_json: string, space_group: string, data_block_name: string): string;
|
|
3524
3738
|
|
|
@@ -3547,6 +3761,14 @@ export function write_opendx_lossy_json(grid_json: string): string;
|
|
|
3547
3761
|
*/
|
|
3548
3762
|
export function write_orca_input_json(json: string): string;
|
|
3549
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
|
+
|
|
3550
3772
|
/**
|
|
3551
3773
|
* Write a PQR file from atom records in the JSON shape [`pqr_to_json`]'s
|
|
3552
3774
|
* `"atoms"` array uses. Each atom's `chain_id` independently controls
|
|
@@ -3571,6 +3793,16 @@ export function write_pqr_json_checked(records_json: string): string;
|
|
|
3571
3793
|
*/
|
|
3572
3794
|
export function write_smiles(mol: MolHandle): string;
|
|
3573
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
|
+
|
|
3574
3806
|
/**
|
|
3575
3807
|
* XLogP3 partition coefficient (alternative to Crippen LogP).
|
|
3576
3808
|
* Returns JSON: `{"xlogp3": float}`.
|
|
@@ -3609,6 +3841,8 @@ export interface InitOutput {
|
|
|
3609
3841
|
readonly autocorr_3d_json: (a: number) => [number, number];
|
|
3610
3842
|
readonly balance_check_json: (a: number, b: number) => [number, number];
|
|
3611
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];
|
|
3612
3846
|
readonly boiled_egg_json: (a: number, b: number) => [number, number];
|
|
3613
3847
|
readonly brenk_matches_json: (a: number) => [number, number];
|
|
3614
3848
|
readonly brenk_report_json: (a: number, b: number) => [number, number, number, number];
|
|
@@ -3631,6 +3865,7 @@ export interface InitOutput {
|
|
|
3631
3865
|
readonly cip_assignments_accurate_json: (a: number) => [number, number];
|
|
3632
3866
|
readonly cip_assignments_json: (a: number) => [number, number];
|
|
3633
3867
|
readonly cip_unresolved_json: (a: number) => [number, number];
|
|
3868
|
+
readonly cleanup_mol: (a: number) => number;
|
|
3634
3869
|
readonly compare_molecules_batch_json: (a: number, b: number, c: number, d: number) => [number, number, number, number];
|
|
3635
3870
|
readonly compare_molecules_json: (a: number, b: number, c: number, d: number) => [number, number, number, number];
|
|
3636
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];
|
|
@@ -3673,6 +3908,10 @@ export interface InitOutput {
|
|
|
3673
3908
|
readonly dice_ecfp4: (a: number, b: number) => number;
|
|
3674
3909
|
readonly dice_ecfp6: (a: number, b: number) => number;
|
|
3675
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];
|
|
3676
3915
|
readonly ecfp4_bitvec: (a: number) => [number, number];
|
|
3677
3916
|
readonly ecfp4_bitvec_with_chirality: (a: number, b: number) => [number, number];
|
|
3678
3917
|
readonly ecfp6_bitvec: (a: number) => [number, number];
|
|
@@ -3718,6 +3957,7 @@ export interface InitOutput {
|
|
|
3718
3957
|
readonly get_dihedral_json: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
|
|
3719
3958
|
readonly get_rdkit_descriptors_json: (a: number) => [number, number];
|
|
3720
3959
|
readonly getaway_descriptors_json: (a: number) => [number, number];
|
|
3960
|
+
readonly gromos96_geometry_angstrom_json: (a: number, b: number) => [number, number, number, number];
|
|
3721
3961
|
readonly hdf_json: (a: number, b: number, c: number, d: bigint) => [number, number];
|
|
3722
3962
|
readonly identify_functional_groups: (a: number) => [number, number];
|
|
3723
3963
|
readonly inchi_from_smiles: (a: number, b: number) => [number, number];
|
|
@@ -3735,9 +3975,11 @@ export interface InitOutput {
|
|
|
3735
3975
|
readonly lammps_trajectory_to_json: (a: number, b: number) => [number, number, number, number];
|
|
3736
3976
|
readonly largest_fragment: (a: number) => number;
|
|
3737
3977
|
readonly logp_per_atom_json: (a: number) => [number, number];
|
|
3978
|
+
readonly lpmd_positions_angstrom_json: (a: number, b: number) => [number, number, number, number];
|
|
3738
3979
|
readonly maccs_bitvec: (a: number) => [number, number];
|
|
3739
3980
|
readonly match_smarts_smiles: (a: number, b: number, c: number, d: number) => [number, number, number, number];
|
|
3740
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];
|
|
3741
3983
|
readonly mcs_smiles_json: (a: number, b: number) => [number, number, number, number];
|
|
3742
3984
|
readonly mcs_smiles_json_with_config: (a: number, b: number, c: number, d: number) => [number, number, number, number];
|
|
3743
3985
|
readonly mcs_smiles_json_with_ring_config: (a: number, b: number, c: number, d: number) => [number, number, number, number];
|
|
@@ -3795,6 +4037,8 @@ export interface InitOutput {
|
|
|
3795
4037
|
readonly mol_with_atom_removed: (a: number, b: number) => [number, number, number];
|
|
3796
4038
|
readonly mol_with_bond_added: (a: number, b: number, c: number, d: number) => [number, number, number];
|
|
3797
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];
|
|
3798
4042
|
readonly molecule_report_json: (a: number, b: number) => [number, number, number, number];
|
|
3799
4043
|
readonly molhandle_aromatic_ring_count: (a: number) => number;
|
|
3800
4044
|
readonly molhandle_assign_cip_json: (a: number) => [number, number];
|
|
@@ -3826,6 +4070,7 @@ export interface InitOutput {
|
|
|
3826
4070
|
readonly molhandle_exact_mass: (a: number) => number;
|
|
3827
4071
|
readonly molhandle_formal_charge_sum: (a: number) => number;
|
|
3828
4072
|
readonly molhandle_formula: (a: number) => [number, number];
|
|
4073
|
+
readonly molhandle_formula_with_isotopes: (a: number) => [number, number];
|
|
3829
4074
|
readonly molhandle_fsp3: (a: number) => number;
|
|
3830
4075
|
readonly molhandle_ghose_passes: (a: number) => number;
|
|
3831
4076
|
readonly molhandle_hba_count: (a: number) => number;
|
|
@@ -3880,6 +4125,7 @@ export interface InitOutput {
|
|
|
3880
4125
|
readonly molhandle_rdkit_mol_hash: (a: number, b: number, c: number, d: number) => [number, number, number, number];
|
|
3881
4126
|
readonly molhandle_rdkit_morgan_bit_info_json: (a: number, b: number, c: number, d: number) => [number, number, number, number];
|
|
3882
4127
|
readonly molhandle_rdkit_murcko_scaffold: (a: number) => [number, number, number, number];
|
|
4128
|
+
readonly molhandle_rdkit_parsed: (a: number) => [number, number, number];
|
|
3883
4129
|
readonly molhandle_rdkit_pdb_block: (a: number, b: number, c: number) => [number, number, number, number];
|
|
3884
4130
|
readonly molhandle_rdkit_smarts: (a: number, b: number, c: number) => [number, number, number, number];
|
|
3885
4131
|
readonly molhandle_rdkit_smiles: (a: number) => [number, number, number, number];
|
|
@@ -3903,10 +4149,13 @@ export interface InitOutput {
|
|
|
3903
4149
|
readonly nearest_neighbors_json: (a: number, b: number, c: number, d: number, e: number) => [number, number];
|
|
3904
4150
|
readonly neutralize_charges: (a: number) => number;
|
|
3905
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];
|
|
3906
4153
|
readonly normalize_reaction_smiles: (a: number, b: number) => [number, number, number, number];
|
|
3907
4154
|
readonly nucleic_acid_apply_json_command: (a: number, b: number, c: number, d: number) => [number, number];
|
|
3908
4155
|
readonly nucleic_acid_validate_json: (a: number, b: number) => [number, number];
|
|
3909
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];
|
|
3910
4159
|
readonly opendx_grid_json: (a: number, b: number) => [number, number, number, number];
|
|
3911
4160
|
readonly opendx_shape_u32: (a: number, b: number) => [number, number, number];
|
|
3912
4161
|
readonly opendx_values_f64: (a: number, b: number) => [number, number, number];
|
|
@@ -3919,10 +4168,16 @@ export interface InitOutput {
|
|
|
3919
4168
|
readonly parse_cjson_record_json: (a: number, b: number) => [number, number, number, number];
|
|
3920
4169
|
readonly parse_cxsmarts_json: (a: number, b: number) => [number, number, number, number];
|
|
3921
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];
|
|
3922
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];
|
|
3923
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];
|
|
3924
4177
|
readonly parse_mol2_record_json: (a: number, b: number) => [number, number, number, number];
|
|
3925
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];
|
|
3926
4181
|
readonly pdb_conect_frame_json: (a: number, b: number, c: number) => [number, number, number, number];
|
|
3927
4182
|
readonly pdb_coords_json: (a: number, b: number) => [number, number];
|
|
3928
4183
|
readonly pdbqt_atom_data_json: (a: number, b: number) => [number, number, number, number];
|
|
@@ -3939,6 +4194,8 @@ export interface InitOutput {
|
|
|
3939
4194
|
readonly preflight_smiles_json: (a: number, b: number, c: number, d: number) => [number, number];
|
|
3940
4195
|
readonly prepare_rdkit_ecfp4: (a: number) => [number, number, number];
|
|
3941
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];
|
|
3942
4199
|
readonly protein_from_mmcif_json: (a: number, b: number) => [number, number, number, number];
|
|
3943
4200
|
readonly protein_from_pdb_json: (a: number, b: number) => [number, number, number, number];
|
|
3944
4201
|
readonly qcschema_molecule_coords_json: (a: number, b: number) => [number, number, number, number];
|
|
@@ -3946,6 +4203,7 @@ export interface InitOutput {
|
|
|
3946
4203
|
readonly qcschema_validate_atomic_result: (a: number, b: number) => [number, number, number, number];
|
|
3947
4204
|
readonly random_smiles_json: (a: number, b: number, c: number, d: bigint) => [number, number, number, number];
|
|
3948
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];
|
|
3949
4207
|
readonly rdkit_ecfp4_bitvec: (a: number) => [number, number, number, number];
|
|
3950
4208
|
readonly rdkit_ecfp4_detail_json: (a: number) => [number, number, number, number];
|
|
3951
4209
|
readonly rdkit_ecfp_config_bitvec: (a: number, b: number, c: number) => [number, number, number, number];
|
|
@@ -3955,12 +4213,15 @@ export interface InitOutput {
|
|
|
3955
4213
|
readonly rdkit_from_mol2_block: (a: number, b: number, c: number, d: number, e: number) => [number, number, number];
|
|
3956
4214
|
readonly rdkit_from_pdb_block: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number, number];
|
|
3957
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];
|
|
3958
4217
|
readonly rdkit_nearest_neighbors_json: (a: number, b: number, c: number, d: number, e: number) => [number, number];
|
|
3959
4218
|
readonly rdkit_path_bitvec: (a: number) => [number, number];
|
|
3960
4219
|
readonly rdkit_rdk_bitvec: (a: number) => [number, number];
|
|
3961
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];
|
|
3962
4222
|
readonly rdkit_topological_torsion_path_code_decimal: (a: number, b: number, c: number) => [number, number, number, number];
|
|
3963
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];
|
|
3964
4225
|
readonly rdkitreadresult_coords_json: (a: number) => [number, number, number, number];
|
|
3965
4226
|
readonly rdkitreadresult_molecule: (a: number) => number;
|
|
3966
4227
|
readonly rdkitreadresult_smiles: (a: number) => [number, number];
|
|
@@ -3980,6 +4241,7 @@ export interface InitOutput {
|
|
|
3980
4241
|
readonly rgroup_decompose_json: (a: number, b: number, c: number, d: number) => [number, number, number, number];
|
|
3981
4242
|
readonly ring_families_json: (a: number) => [number, number, number, number];
|
|
3982
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];
|
|
3983
4245
|
readonly roundtrip_gjf_document: (a: number, b: number) => [number, number, number, number];
|
|
3984
4246
|
readonly roundtrip_gjf_record: (a: number, b: number) => [number, number, number, number];
|
|
3985
4247
|
readonly roundtrip_hin_record: (a: number, b: number) => [number, number, number, number];
|
|
@@ -4008,10 +4270,12 @@ export interface InitOutput {
|
|
|
4008
4270
|
readonly slogp_vsa_json: (a: number) => [number, number];
|
|
4009
4271
|
readonly smarts_match_atoms: (a: number, b: number, c: number) => [number, number, number, number];
|
|
4010
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];
|
|
4011
4274
|
readonly smiles_array_to_sdf: (a: number, b: number) => [number, number, number, number];
|
|
4012
4275
|
readonly smiles_to_mol2: (a: number, b: number, c: number) => [number, number];
|
|
4013
4276
|
readonly smiles_to_pdbqt: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => [number, number];
|
|
4014
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];
|
|
4015
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];
|
|
4016
4280
|
readonly smilesbatchstreamhandle_finish_json: (a: number) => [number, number, number, number];
|
|
4017
4281
|
readonly smilesbatchstreamhandle_new: () => number;
|
|
@@ -4044,6 +4308,8 @@ export interface InitOutput {
|
|
|
4044
4308
|
readonly tetrahedralcleanupresult_removed: (a: number) => number;
|
|
4045
4309
|
readonly tetrahedralcleanupresult_report_json: (a: number) => [number, number];
|
|
4046
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];
|
|
4047
4313
|
readonly to_cml: (a: number) => [number, number];
|
|
4048
4314
|
readonly to_extxyz_json: (a: number, b: number, c: number, d: number, e: number) => [number, number, number, number];
|
|
4049
4315
|
readonly to_mol_block: (a: number) => [number, number];
|
|
@@ -4057,29 +4323,37 @@ export interface InitOutput {
|
|
|
4057
4323
|
readonly torsion_scan_json: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number];
|
|
4058
4324
|
readonly v3000_sgroups_json: (a: number, b: number) => [number, number, number, number];
|
|
4059
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];
|
|
4060
4327
|
readonly virtual_screen_ecfp4_json: (a: number, b: number, c: number, d: number, e: number) => [number, number];
|
|
4061
4328
|
readonly wasm_linear_memory_bytes: () => number;
|
|
4062
4329
|
readonly whim_descriptors_json: (a: number) => [number, number];
|
|
4063
4330
|
readonly whim_getaway_combined_json: (a: number) => [number, number];
|
|
4064
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];
|
|
4065
4335
|
readonly write_lammps_data_json: (a: number, b: number) => [number, number, number, number];
|
|
4066
4336
|
readonly write_lammps_dump_frame_json: (a: number, b: number) => [number, number, number, number];
|
|
4067
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];
|
|
4068
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];
|
|
4069
4340
|
readonly write_opendx_json: (a: number, b: number) => [number, number, number, number];
|
|
4070
4341
|
readonly write_opendx_lossy_json: (a: number, b: number) => [number, number, number, number];
|
|
4071
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];
|
|
4072
4344
|
readonly write_pqr_json: (a: number, b: number) => [number, number, number, number];
|
|
4073
4345
|
readonly write_pqr_json_checked: (a: number, b: number) => [number, number, number, number];
|
|
4074
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];
|
|
4075
4349
|
readonly xlogp3_json: (a: number) => [number, number];
|
|
4076
4350
|
readonly xlogp3_per_atom_json: (a: number) => [number, number];
|
|
4077
4351
|
readonly xyz_frames_batch_json: (a: number, b: number, c: number, d: number) => [number, number, number, number];
|
|
4078
4352
|
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
|
4079
4353
|
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
4354
|
+
readonly __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
4080
4355
|
readonly __externref_table_alloc: () => number;
|
|
4081
4356
|
readonly __wbindgen_externrefs: WebAssembly.Table;
|
|
4082
|
-
readonly __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
4083
4357
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
4084
4358
|
readonly __externref_drop_slice: (a: number, b: number) => void;
|
|
4085
4359
|
readonly __wbindgen_start: () => void;
|