The OCL molecule to process.
Options for generating hose codes.
Optional
allowedCustomLabels?: string[]Array of the custom labels that are considered as root atoms. By default all atoms having a customLabel
Optional
kind?: numberKind of hose code, default usual sphere
Optional
maxSphereSize?: numberLargest hose code sphere
Optional
minSphereSize?: numberSmallest hose code sphere
Optional
rootAtoms?: number[]Array of atom from which we should start to create the HOSE. By default we will used the taggedAtoms
Optional
tagAtomFct?: FunctionFunction to tag an atom as root atom. By default it is defined internal
Optional
tagAtoms?: number[]Array of atom indices to tag as root atoms
Returns an array of strings (idCodes) specified molecule. Each string corresponds to a hose code. By default it will calculate the hose codes for sphere 0 to 4 and will reuse the existing tagged atoms. This method ensure implicity hydrogens and possible missing chiral bonds.