This application relates to deriving fixed bond information.
Some chemical structures may be depicted with circles or arcs instead of with alternating single and double bonds (see the leftmost structure of
A method and a system are provided for deriving fixed bond information. In particular, a fixed bond representation of a chemical structure is derived from a delocalized representation. A path is conceptually traced through the represented structure and an examination is conducted, for each atom, of each possible electronic and bonding state that is consistent with what has come before along the path. A result is found by examining states and orders in a semi-recursive procedure that is directed early towards likely answers. If there is more than one possible solution, the best solution is chosen by use of a rating function.
The method and the system are able to handle acyclic as well as cyclic systems, organic and organometallic structures, and can produce useful results in situations involving wide ranges of ring sizes and ring systems, element types, and hybridization. All or nearly all aromatic (i.e., cyclically delocalized) systems, including such systems with hetero substituents, and cyclic systems, and mixed cyclic-acyclic systems, can be addressed effectively by the method and the system. Charged systems, and systems with unpaired electrons can be handled as well. The method and the system are able to enumerate the mesomers of a structure.
Other features and advantages will become apparent from the following description, including the drawings, and from the claims.
A procedure is described in detail below in which a cyclic (i.e., aromatic) or acyclic delocalized system or structure diagram is dekekulized, i.e., in which a representation having alternating single and double bonds is derived from the delocalized system (see
The procedure allows fixed bond representations to be made more available to readers who prefer such representations, particularly when the pertinent bonding is part of a reaction that affects the pi system. (A pi orbital is the simplest atomic orbital that is amenable to delocalization. A pi system is a collection of pi orbitals that share electrons. As used herein, “pi” also refers to d, f and any other atomic orbitals that pool electrons with at least two other atoms.)
The procedure allows mesomers to be enumerated (see, e.g.,
Furthermore, computer programs that predict products may need to supply bond fixation information. A carbene example is shown in
The procedure also allows determination of heteroatom hybridization and the number of “implicit” hydrogens attached to heteroatoms. If hydrogen atoms have been omitted from a drawing of a delocalized system (see, for example, the lefthand structure of
Inferring fixed bond orders from a delocalized representation is also an important process in computer-assisted organic synthesis.
One or more of the procedures related to dekekulization as described herein may be used in or with one or more procedures described in the following U.S. patent applications, which are incorporated herein: DERIVING CHEMICAL STRUCTURAL INFORMATION, Ser. No. ______, filed Feb. 11, 2000, and ENHANCING STRUCTURE DIAGRAM GENERATION, Ser. No. ______, filed Feb. 11, 2000. For example, dekekulization as described herein may be used to help derive a chemical structure diagram from a chemical name.
Conceptually, in a specific embodiment of the procedure, a path is traced through the structure and, for each atom, each possible electronic and bonding state is examined that is consistent with previous results along the path. By extensively or exhaustively examining possible states and orders, the procedure is able to arrive at a fixed bond solution, if one exists.
An inspection of fixed-bond structure diagrams reveals, with respect to carbon atoms, that a pair of adjacent delocalized bonds tends to be replaced by one single and one double bond. If a carbon atom stands as a fusion atom, e.g., as one of the tertiary atoms in naphthalene, the third bond is single, and may be viewed as an appropriation of the fourth bond that otherwise would be directed outside of the delocalized system. Nitrogen, on the other hand, typically may have either two single bonds directed into the system plus a single bond externally directed, as in pyrrole, or a single and a double directed into the system, with no external bonds, as in pyridine.
In a specific implementation, in the procedure, every atom is described by a three-digit code representing a bonding environment. In many cases, carbon's code is [121], which indicates that of the two originally delocalized bonds, one becomes single and the other becomes double, and that there is one residual valence unit to be deployed either outside the system (e.g., a sigma bond) or with a third atom within the system (naphthalene). The code can be enhanced to indicate the number of pi electrons formally contributed to the delocalized system by an atom in the pertinent state. For the common carbon state, the number is one, indicated by the enhanced code [121/1].
Information for an atomic environment may refer to a charge or an unpaired electron or both, in addition to the bonding information. The collection of characteristics involved is referred to hereinafter as an environment or as an electronic state and valence distribution (“
Table 1 is not a complete list, but furnishes the essential elements and values for at least some cases. With respect to the external bonds column, if an atom has a third delocalized bond, an “external bond” is appropriated to represent it. With respect to the text “like N” in the first entry for element P, a “treat-like” element (such as P) inherits all of the entries for its parent (such as N in the case of P) and may have additional unique entries.
All possible
In a specific implementation, the procedure includes several practical features that help to produce timely results in practice. A first of the practical features reflects a recognition that it is not always necessary to try all
A second of the practical features is consistent with a recognition that in practice many or most solutions do not involve unpaired electrons or charge:
According to a third of the practical features, the procedure is only partially recursive. With respect to bond orders, when alternative bond orders are attempted, recursion is sensible: if a single bond appears to be the most advantageous next step, and its recursive development returns in failure, the double bond remains the most advantageous next option. In other words, pursuit of a bond order is exhaustive. By contrast, with respect to
Another of the practical features in a computer-based implementation is an implementational measure that speeds the assessment of compatibility between bonds and
In a specific implementation, the screening bitmask for the
An example of the opposite process is determining whether an
Different applications of the dekekulization procedure may have slightly different requirements. Thus, in at least some cases, it may be advantageous for the procedure to refer to a bitset of control flags, listed in Table 2 (
An example 1000 of the procedure is illustrated generally in
A bond order is assigned to an adjacent bond (step 1015). Either a single bond order or a double bond order may be selected. In this case, a double bond order is arbitrarily chosen at this point. As explained below, after the ramifications of the double bond order choice have been extensively or exhaustively explored, the procedure returns to this point and proceeds with the single bond order choice instead.
A next adjacent atom is assigned an
The next adjacent bond's order is selected (step 1030). Since the preceding atom has a double bond, the only choice for the order that is consistent with the atom's environment is a single bond.
The same approach is repeated for additional atoms (step 1040).
If an unacceptable state is encountered, the path values are rejected (step 1050). In this case, a state is encountered in which the oxygen atom has one double bond and one uncharacterized bond. Since no (
The procedure backtracks to the last point where a selection was made, and proceeds forward from there with a different selection (step 1060). In this example, the procedure proceeds forward with the single bond order choice as noted above.
If a solution is found that cannot be improved upon, i.e., if all atoms and bonds have been assigned mutually compatible environments and orders, respectively, and the collection is holistically optimal, the procedure terminates (step 1070). On the other hand, if a solution is found that is not optimal and there are other choices, such as were encountered with respect to the alternative bond order choices above, the other choices are explored (step 1080). The principal factors in the holistic value of the solution are the count of the delocalized electrons in each ring, and whether an excessive number of charges or radicals or both are present.
A more detailed example of the procedure is now described, with the use of terms as now explained. A “delocalized atom” is an atom having a vacant pi orbital that is shared, or one or more pi electrons that are shared, with one or more adjacent atoms. (The term pi is intended to encompass d and f orbitals and any other orbitals that participate in delocalized bonding.) A bond that holds the one or more shared pi electrons is called a “delocalized bond”, and in the delocalized style of depiction is drawn as a single bond with a nearby arc or circle.
The largest set of contiguous delocalized bonds containing a given delocalized bond is called a “delocalized system”. The atoms in the delocalized system are those adjacent to the delocalized bonds. As a result, an atom or bond may belong to at most one delocalized system. Contributions emanating from inside and outside the delocalized system are “internal” and “external”, respectively. For example, sigma bonds and exo double bonds are external.
The “internal coordination number” (“
A delocalized atom's “internal order” is its bond order sum, after bond fixation, contributed by formerly delocalized bonds, and cannot be determined before bond fixation. A delocalized atom's “external” order is the bond order sum emanating from outside the delocalized system, and is known from the outset unless implicit hydrogen atoms are in question.
Each element is associated with a respective list of electronic state and valence distribution (“
An
An atom screening bitmask (“
A “path” taken through a system (cyclic or not) is a type of directed graph, and is represented by a vector of atom and bond numbers, in the order in which the atoms and bonds will be considered.
A “strategy” for the system is a script that drives path development, and is formulated at the same time the path is created. Various actions possible in a step of the script are shown in Table 4 (
A “state” is a data structure that includes the information about the choices made in the path up to the current point, and refers to a “residual charge”, a “residual radical”, and a “strategy step index”, as well as the
In at least some cases, one or more of the features presented may be advantageous but not essential. For example, the pre-identification of the path and the use of a strategy script based on the path, are logical simplifications; instead of iterating over the script's steps, the part of the procedure that assigns a bond order or an
In an example implementation, the dekekulization procedure includes a procedure 2000 (
In procedure 2000, discrete (i.e., not adjacent) delocalized systems present in the structure are identified (step 2010). (As used herein, “structure” refers to a collection of one or more molecules, and an ion qualifies as a molecule.) Each next system is identified by selecting any delocalized bond that has not already been treated (step 2020), adding all adjacent delocalized bonds (step 2030), and continuing to add delocalized bonds adjacent to those just found, until no new bonds are added (step 2040).
Steps 2060-2120, now described, are executed for each of the identified delocalized systems (step 2050). The instant delocalized system is denoted “DS”. DS is analyzed for characteristics (step 2060). In a specific implementation, the analysis proceeds as follows. The total charge and radical count required of the pi system are noted (step 2070). (Charges localized in sigma orbitals, such as in phenyl lithium, are not included, and are ignored throughout procedure 2000.) The internal coordination number (“
A path through DS is developed (step 2100). In at least some cases, it does not matter substantially whether the path is breadth-first, depth-first, or is of some other type. However, it has been found in some cases that highly efficient paths tend to be those that complete rings promptly. The path need not be continuous, although every path atom (bond) other than the first must be adjacent to one previously visited. If any fixed bonds were identified in step 2090, the process begins with an adjacent atom, which tends to limit the choices for the succeeding bond order. (In general, in at least some cases, it is advantageous to defer choices in state and bonding to as late in the path as possible.)
The strategy list is constructed (step 2110). The strategy list includes directives to assign
Ring systems are identified (step 2120). A ring system is a group of one or more rings, each of which shares one or more bonds with another in the group, that cannot be divided into two or more smaller ring systems without breaking a ring bond. As used herein, “ring” refers only to a cycle that contains one or more delocalized bonds, or that is adjacent to such a cycle. Other cycles are ignored.
The best solution (“BS”) is set to “undefined” (step 2130).
For each of three modes, now described, steps 2150-2190 described below are executed for as long as they do not terminate, either as a result of an identification of a solution deemed perfect, or by exhausting possibilities, and the time elapsed does not exceed an allocated amount of time (step 2140). Any mode that is incompatible with the control flags is skipped (step 2150). According to mode 1, charges or radicals beyond those provided are not created, and any charges (and optionally radicals) are confined to heteroatoms. In the case of mode 2, charges and radicals are handled in the same way as in mode 1, except that there is no restriction on their placement. In mode 3, radicals and charges are freely created, without restriction on their placement.
The state is initialized (step 2160) as follows. The state's charge count is set to that of the system. If the system has an odd number of unpaired electrons, the residual radical flag is set; otherwise it is cleared. The state's strategy step index is set to zero, indicating a point immediately preceding the first step in the strategy.
The state is queued (the queue is effectively empty at this point) (step 2170).
While there are queued states, the most promising (“S”) is dequeued and is passed to a dispatcher procedure (“Dispatcher”, described below), (step 2180). If the Dispatcher returns “Perfect Solution”, the procedure skips to step 2210.
If BS is undefined after the mode processing is complete, an indication of failure is returned, and the entire procedure terminates (step 2200).
BS is applied to the given structure (step 2210), so that bond orders are fixed and charges and radical values are assigned to atoms as required by BS. (Where identification of implicit hydrogens is of interest, these are determined from the
The Dispatcher executes as follows when provided with a state (“S”). In general, the Dispatcher recursively executes the next strategy step and returns either “Perfect Solution” or “Keep Trying”. In a specific implementation, the following steps are executed (procedure 3000,
If the respective procedure does not return “Perfect Solution”, the strategy step index for S is decremented (step 3050), and “Keep Trying” is returned (step 3060).
In procedure 4000 (
A bitmask BMa that describes a is formed using procedure 9000 (
The
A set (“C”) is determined of
A penalty (“P”) is assigned to each member (e) of C (step 4040). The penalty represents an assessment of the strategic desirability of using the
At this point, each penalty has been calculated. The members of C are sorted in order of increasing penalty (step 4120).
Inferior
At this point, the inferior
The Dispatcher (i.e., procedure 3000) is recursively invoked (step 4240), and if the Dispatcher returns “Perfect Solution”, the instant procedure returns the same (step 4250).
Otherwise, S is restored to its value before the best
In procedure 5000 (
The difference BMdiff=BMESVD−BMa is calculated (step 5030). Only the bond-order bits (0-5 of Table 3 of
The possible bond orders are determined (step 5040). In a specific implementation, the determination proceeds as follows (steps 5050-5150). AddSingle is set to true if and only if BMdiff has either the internal single bit or the two internal single bit set (step 5050). AddDouble is set to true if and only if BMdiff has the internal double bit or the two internal double bit set (step 5060). CooptExtern is set to true if a's
If either AddSingle or CooptExtern is set to true, b's order is set to single and any relevant state variables are updated (step 5100), and the Dispatcher is recursively invoked (step 5110). If the Dispatcher returns “Perfect Solution”, the instant procedure returns the same (step 5120).
If AddDouble is set to true, b's order is set to double, updating any relevant state variables (step 5130), and the Dispatcher is recursively invoked (step 5140). If the Dispatcher returns “Perfect Solution”, the instant procedure returns the same (step 5150).
Otherwise, the instant procedure returns “Keep Trying” (step 5150).
In procedure 6000 (
If the
If BMa=BMesvd, the assigned
Otherwise, the assigned
Procedure 7000 (
At this stage, S constitutes a viable solution.
If mesomers are being enumerated, the dekekulized structure may be offered, e.g., via a callback function, back to the client program or other source that invoked dekekulization (step 7030).
S's rating (R) is calculated by use of procedure 10000 (
In procedure 8000 (
The following bits are set according to the
The following bits are set according to the
The following bits are set according to whether the
The
In procedure 9000 (
The following bits are set according to the number of internal bonds adjacent to a that are fixed, with bond order double (step 9030):
If a has more than two adjacent bonds, bit {4} is set (step 9040). If a has exactly two adjacent bonds, and if the control flags dictate that no implicit hydrogens exist, and a's element type is not carbon (since carbons are always permitted implicit hydrogens in this implementation), bit {5} is set (step 9050). If the residual radical value of S is “no-radical”, and the control flags do not permit unnecessary creation of radicals, bit {14} is set (step 9060).
If the residual charge of S is zero and the control flags do not permit unnecessary creation of charged atoms; or if a's element type is carbon and the control flags require charges to be situated on heteroatoms, bits {11,12} are set (step 9070); otherwise, if the residual charge of S is positive, bit {11} is set.
If the residual charge of S is negative, bit {12} is set (step 9080).
The
In procedure 10000 (
For each ring system (“RB”) in DS, the following steps 10030-10250 are executed (step 10020). Periphery (P), which is to become the set of bonds in the periphery of the ring system, is set to “empty” (step 10030). For each ring r belonging to the RB, the following steps 10050-10110 are executed (step 10040). P is set to the exclusive OR of itself with the bonds in r (step 10050). (Taking the exclusive OR of two sets produces a third set having the value zero where the corresponding bits in the two given sets match, i.e., 0=0 or 1=1, and one otherwise.) The “one-ring” penalty is assessed (step 10060) as follows (steps 10070-10080). Where e represents the number of pi electrons in r, e is the sum of the “electrons contributed” value of the
For each ring r2 belonging to RB wherein r2>r, the following steps 10100-10110 are executed (step 10090). If r and r2 have one or more rings in common, RC is set to be the compound ring of r and r2, i.e., the ring obtained by taking the exclusive OR of the bonds in r and r2 (step 10100) and R is adjusted by the one-ring penalty amount assessed in steps 10060-10080, where r2 is substituted for r, (step 10110).
If there are three or more rings in RB, r3 is taken to be the compound ring represented by P (step 10120), and R is adjusted by the one-ring penalty amount assessed in steps 10060-10080, where r3 is substituted for r (step 10130).
A significant penalty is applied for gratuitous charges and radicals (step 10140), as follows (steps 10160-10180). NSC is taken to be the number of superfluous charges, calculated from:
NSC=(number of cations in S+number of anions in S)−|C|
where |C| is the absolute value of DS's net charge (step 10160). NSR is taken to be the number of superfluous radicals, calculated from:
NSR=number of radical atoms in S−Q
where Q is zero if DS has an even number of unpaired electrons, and one otherwise (step 10170). The score is reduced by ten times (NSC+NSR) (step 10180).
A small penalty is applied for locating a charge on a carbon rather than an available heteroatom (step 10190), as follows (steps 10200-10220). NCC is taken to be the number of charged carbon atoms in S (step 10200). NNH is taken to be the number of neutral heteroatoms in S (step 10210). If NCC exceeds NNH, R is reduced by (NCC-NNH) (step 10220).
Pairs of adjacent atoms having identical, either empty or full, orbitals are penalized (step 10230). For example, in at least some cases, it is not desirable for two [111/0] boron atoms, or two [111/2] (pyrrole-type) nitrogen atoms, to be adjacent. For each pair of adjacent atoms in DS, five is substracted from R if the atoms in the pair have the same pi electron contribution (see Table 1 in
R is returned (step 10250).
All or a portion of the procedures described above may be implemented in hardware or software, or a combination of both. In at least some cases, it is advantageous if the technique is implemented in computer programs executing on one or more programmable computers, such as a personal computer running or able to run an operating system such as UNIX, Linux, Microsoft Windows 95, 98, 2000, or NT, or MacOS, that each include a processor, a storage medium readable by the processor (including volatile and non-volatile memory and/or storage elements), at least one input device such as a keyboard, and at least one output device. Program code is applied to data entered using the input device to perform the technique described above and to generate output information. The output information is applied to one or more output devices such as a display screen of the computer.
In at least some cases, it is advantageous if each program is implemented in a high level procedural or object-oriented programming language such as Perl, C, C++, or Java to communicate with a computer system. However, the programs can be implemented in assembly or machine language, if desired. In any case, the language may be a compiled or interpreted language.
In at least some cases, it is advantageous if each such computer program is stored on a storage medium or device, such as ROM or optical or magnetic disc, that is readable by a general or special purpose programmable computer for configuring and operating the computer when the storage medium or device is read by the computer to perform the procedures described in this document. The system may also be considered to be implemented as a computer-readable storage medium, configured with a computer program, where the storage medium so configured causes a computer to operate in a specific and predefined manner.
Other embodiments are within the scope of the following claims. For example, one or more of the procedures described above may be applied to structures other than common organic structures. For example, benzynes and other systems, cyclic and acyclic, contain one or more bonds involving pi orbitals that are not delocalized. These cases may be treated by formally assigning the pi bond to the external bonding network, as if each of the pair of atoms had an external attachment instead of an internal bond. In another example, charges localized in a sigma orbital (as in PhLi) may be ignored, as may be localized radicals. Another example involves multi-center bonds (“μ bonds”). Many organometallic compounds, such as ferrocene and allyl copper (see
This application is a continuation of U.S. patent application Ser. No. 09/506,717, filed Feb. 18, 2000, now U.S. Pat. No. 7,295,931, entitled DERIVING FIXED BOND INFORMATION, which claimed the benefit of U.S. Provisional Application Ser. No. 60/120,614 entitled REPRESENTING A CHEMICAL STRUCTURE filed on Feb. 18, 1999, both incorporated by reference herein.
Number | Date | Country | |
---|---|---|---|
60120614 | Feb 1999 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 09506717 | Feb 2000 | US |
Child | 11939101 | US |