Docsity

Computer-Assisted Structure Elucidation of Organic Molecules: A Heuristic Approach, Lecture notes of Organic Chemistry

Partial preview of the text

Download Computer-Assisted Structure Elucidation of Organic Molecules: A Heuristic Approach and more Lecture notes Organic Chemistry in PDF only on Docsity!

/ (41) HPP-72-

'

/ OrPRINTS Genetics^194

/ BIOCHEMICAL^

pECTPOMEW

" BY^ R.^ WAIUH

JOHN WILEY^1372

CHAPTER 7

USE OF^ A^ COMPUTER^ TO^ IDENTIFY

UNKNOWN COMPOUNDS:^ THE^ AUTO-

MATION OF SCIENTIFIC^ INFERENCE*

JOSHUA LEDERBERG

Department (^) of Genetics,^ School of Medicine,^ Stanford University, Stanford,^ California

A. INTRODUCTION

The Argentinian writer Jorge^ Luis Borges.in^ a^ short story called "The Library of Babel,"^ showed^ that^ all knowledge can be^ reduced^ to^ a^ problem^ of^ selection. He portrayed^ a^ library^ of^ infinite^ dimensions^ filled with books printed^ in^ an^ obscure^ code^ in^ which familiar phrases occasionally^ appeared.^ Eventually,

a mathematician-inhabitant^ of^ this^ space^ surmised

that each book^ was^ one^ of^ all^ possible^ random^ con- catenations of^ letters.^ After^ a^ few^ centuries^ of^ dis- couragement, (^) the inhabitants were inspired^ by^ a^ new revelation (^) — that the library^ must^ in^ fact^ contain^ all

*This report^ is^ a^ summary^ of the current^ status^ of^ the^ Heuristic dendral project^ conducted^ jointly^ by^ the^ Departments^ of^ Chemis- try, Computer and^ Genetics at^ Stanford University^ under the (^) direction of Professors Carl^ Djerassi,^ Edward^ A.^ Feigenbaum. and Joshua Lederberg. This research^ was^ financed by^ the^ Advanced Research Projects^ Agency^ (Contract^ SD-I83),^ the^ Ntitional Aeronautics and^ Space^ Administration^ (Grant^ NGR-05-020-004), and the National Institutes of Health (Grant^ AM-04257).^ Most^ of the programming reported here was done by^ Dr.^ Bruce Mrs. Georgia Sutherland. Mr.^ Allan^ Delfino,^ and^ Dr.^ Armand Buchs.

knowledge. The problem was merely one of selecting the proper^ texts. The identification^ of^ an^ unknown^ compound presents (^) a similar challenge. (^) If the universe of possibilities were the problem might^ not^ be rigorously soluble. Practical^ solutions^ depend^ upon the ingenuity^ with^ which^ the^ domain^ of^ acceptable solutions (^) can be narrowed within a particular experi- mental context and the efficiency^ with^ which^ tentative solutions can be tested against^ the^ data. The previous^ chapter^ deals^ with^ the^ pragmatics of searching^ the index to^ a finite library, i.e.,^ the catalog of mass spectra of previously studied^ mole- cules, with occasional extensions to^ related^ structures. The present chapter deals with chemical structures in more theoretical^ terms,^ as^ part^ of^ an^ effort^ to embody scientific inference^ in^ a^ computer^ program. Instead of listing^ known structures,^ this^ program, dendral,* incorporates rules by which all con-

:: (^) The program is called (^) dendral (for DENDKitic ALgorithm). It is written in the list-processing language i.isp.^ It^ requires^ 40,000^ or more words of memory, depending^ on^ the^ number^ of^ atoms^ in^ the 193

Introduction B. Motivation 194 C. Implementation

  1. Generator
  2. All the Ways to Build^ a Molecule^ ,
  3. Graphs^ of^ Ring^ Compounds

194 194 195 197

  1. Heuristics 197 D. Commentary 199 E. Example 200

Implementation 195

could just as well^ be denoted^ as^ special^ atoms.^ The

structural graph^ does^ not^ specify^ the^ bond^ distances

and bond^ angles^ of^ the^ molecule.^ In^ fact,^ these^ are known for^ only^ a^ small^ proportion^ of^ the^ enormous number of^ organic^ molecules^ whose^ structure^ is^ very well known from^ a^ topological^ standpoint. Most of the syllabus^ of^ elementary^ organic^ chemis- try thus^ comprises^ a^ survey^ of^ the^ topological^ possi- bilities for^ the^ distinct^ ways^ in^ which^ sets^ of^ atoms^ may be connected,^ subject to^ the^ rules^ of^ chemical^ valence. The student then also^ learns^ rules^ that^ prohibit^ some configurations (^) as unstable (^) or unrealizable. (He^ may later earn his^ scientific^ reputation^ by^ justifying^ or overturning (^) one of these rules.) But the field of organic chemistry (^) has reached its present stature without many (^) benefits from any general analysis^ of molecular topology. These benefits^ might^ arise^ in^ applications^ at two extremes of sophistication:^ teaching^ chemical principles to^ college^ undergraduates^ and^ teaching them to^ electronic^ computers.^ They^ may^ also^ apply^ to the vexatious^ problems^ of^ nomenclature^ and^ systema- tic methods of^ information^ retrieval. Although the topological^ character^ of^ chemical graphs was^ recognized^ by^ the^ first^ topologists,^ very little work has^ been^ done^ on^ the^ explicit^ classification of graphs^ having^ the^ greatest^ chemical^ interest. Difficult problems such^ as^ the^ analytical^ enumeration of polyhedraremain^ unsolved. This chapter^ reviews^ some^ elementary^ features^ of graphs (^) that may (^) be used for a^ systematic^ outline^ of organic (^) chemistry.

  1. All the Ways^ to Build a^ Molecule

A problem statement^ might^ be:^ Enumerate^ all^ the distinct structural^ isomers^ of^ a^ given^ elementary^ com-

position, say,^ C,H^7 N0.,.^ That^ is,^ produce^ all^ the^ con-

nected graphs that can be^ constructed^ from^ the^ atoms of the linked^ to^ one^ another^ in^ all^ distinct ways, compatible with the valence^ established^ for^ each element (4,^ 3, 2,^ I^ for^ N,^ H,^ respectively).^ For compactness. (^) H can be omitted from^ the^ representa- tions, being^ implied by^ every unused^ valence^ of^ the other atoms. The first discrimination^ is^ between^ trees^ and^ cyclic graphs, (^) the "aliphatic" versus the "ring" structures^ of organic chemistry.^ Trees^ are^ graphs^ that^ can^ be separated into two^ parts^ by^ cutting^ any^ one^ link.^ How may we (^) establish a canonical form for a^ tree^ after noting (^) its order (number^ of nodes)? The first step^ might^ be^ to^ find^ some^ unique^ place^ to begin the description.^ A^ tree^ must^ have^ at^ least two terminals and may^ have^ many^ more^ if^ highly^ branched; these are^ therefore not^ suitable^ starting^ points.^ How-

ever, (^) each tree has a unique center. In in 1869 Jordan showed that any tree^ has two^ kinds of^ center,^ a mass center and^ a^ radius^ center.^ Each^ center^ has^ a unique place (^) in any tree; the two may coincide. To (^) find the radius (^) center, the tree is pruned one^ level at (^) a time; cut (^) back one link from every terminal at each level. This will leave,^ finally, an ultimate node^ or node pair (in^ effect,^ edge)^ as the center.^ The radius then reflects^ the^ levels^ of^ pruning^ needed^ to^ reach the center. To identify the mass center^ of^ a^ tree,^ we^ must^ con- sider the two or more branches that join^ to^ each^ non- terminal node. The center^ is the node whose branches have the most evenly^ balanced allocation of theremain- ing (^) mass (node count) of the tree. This is the same as saying that none of^ the^ pendant^ branches^ exceeds half of the^ total^ mass. If^ the^ structure^ is^ a^ union of equal^ halves,^ the^ center^ is^ the^ bond^ or^ edge^ that joins them. Each of the centers^ (Fig.^ 7-1^ )^ is^ unique^ and^ so^ could solve (^) our problem of defining a canonical starting^ point of a description. The center of^ mass is^ more^ pertinent to finding^ a list of isomers,^ which of course have^ the same mass.^ The^ radius^ center^ is^ ill-adapted^ for^ this but matches conventional^ nomenclature,^ which^ is based on finding^ the^ longest^ linear^ path,^ a^ diameter. In chemical terms, the center^ divides^ the^ graph^ into two or more radicals. These radicals^ can be^ ordered^ by obvious compositional^ principles,^ giving^ rise^ to^ a^ can- onical description^ of the whole graph^ in^ a^ linear^ code. Computer programs^ typically reduce the^ most^ compli- cated descriptions,^ including matrices^ of^ arbitrary- dimensions, (^) to linear strings of symbols. The internal description of chemical graphs^ within the^ dendral program is^ a^ technicality^ we^ need^ not^ elaborate^ on here. The^ choice^ is^ arbitrary^ but^ includes^ a^ compromise between compactness^ of^ the^ code^ and^ its^ compatibility with the conventions of the lisp^ language. An external linear notation for chemical graphs^ (i.e.. structures) has, however, also been defined. In^ con- junction with the canons of ordering^ the^ radicals,^ it yields an unambiguous^ but readily^ decipherable, fairly compact code for any^ molecule. It^ may^ then^ be useful for problems^ of^ retrieval^ in^ library^ searches,^ as well as writing^ dictionaries^ and^ catalogs,^ as^ well^ as^ for the computer^ input^ and^ output^ for^ which^ it^ was^ con- structed. Notation^ is,^ however,^ a^ secondary^ problem in the immediate^ environment^ of^ a^ computer,^ for^ its programs can readily^ be^ formed^ to^ translate^ from^ any format to any^ other. Programs^ to^ translate^ from dendral notation^ to^ connection^ tables^ and^ back^ to canonical dendral^ have^ been^ operative^ for^ some^ five years. Here is an^ elementary^ example^ of^ the^ external.

(^196) Use (^) of a Computer (^) to Identify (^) Unknown Compounds

dendral "dot" notation,^ illustrated with methionine:

CH... NH2 C. : OH O CH2.^ CH2 .S. CH

a code which is interpreted

CH NH2 COH CH2^ CH2^ S~CH

the. and : symbols denoting^ bonds from the preceding atom. (^) In fact,^ the H's are fully implied, given^ the known valence (^) of the other (^) atoms. The formula could also be encoded,^ and the atoms^ then could^ be number- ed in canonical sequence^ as^ follows:

C... NC. : OOC.^ C. S. C 1 23 456789

a form nicely handled in the computer,^ and appro- priate for dictionary codes,^ but a needless obstacle for the human chemist to interpret. One can also specify an unlimited number of arbi- trary (^) abbreviations for various clusters of atoms, (^) as has (^) been done in (^) the well-known Wiswesser line nota- tion. The designation of (^) —COOH or^. C.^ :^ OHO^ as

VQ confers^ a^ small^ advantage^ in^ brevity,^ which^ could

also (^) be automatically computed and incorporated in the dendral^ notation. According^ to^ our^ own^ exper- ience, (^) the difficulty in reading such abbreviations diminishes their practical value. For example, we do not encode the syllables of English^ words by^ compact, arbitrary designators^ except^ for special purposes^ such as telegraphic^ transmission^ — and^ these^ can^ be^ dealt with ad hoc by^ the computer. Nevertheless, a (^) few trivial abbreviations have been incorporated (^) into the output (^) conversion routines of dendral and^ are modified^ according^ to^ the^ taste^ of each user. They^ include such constructions^ as

Urea Methionine

Figure 7-1. Chemical trees and their (^) centers. In urea, the carbon (^) atom is both the radius (^) center and the mass center. In methionine,^ carbon atom 1 is the mass center, accord- ing to the numerical partition^1 ...^1 34. Carbon atom 2 is the radius center, on (^) a diameter (^) of 7. (^) that is, (^) the center of a largest string

For both analyses, we ignore^ hydrogen^ atoms.

— CH2OH,^ —^ CHO,^ — COOH,^ and^ (for^ /j-alkyl) forms like^ — C3H7^ for the corresponding dendral codes: .CH2,OH,.CH^ :0,.C. : (^) OH (^) O.and. CH (^). CH2. CH3; further,^ as mentioned,^ the user can insert any (^) others he wishes. Some 30 years^ ago,^ Henze and Blair showed how Jordan's principle could be used for the enumeration of isomers of saturated hydrocarbons^ and some simple derivatives of them. Here,^ the nodes are all carbon atoms, and the enumeration (^) can proceed by working outward from smaller to larger complexes.^ For exam- ple, (^) for the isomers (^) of undecane, C (^) U H 24 , one (^) atom is designated as^ center, leaving 10 to^ be allocated among

2 ,^3 ,^ or 4 branches. Only the following partitions shown

in Fig.^ 7-1 satisfy^ the rules (leaving dissymmetry out of account):

Number (^) ofPartitions 1

4 3 4 4 I 4 1112 2 12 3 2 2 433 2 3 443 4 3

7

No closed algebraic expression has been found for this enumeration. However,^ the recursive expansion was done manually by (^) Henze and Blair with a few trivial errors later^ found^ by a computer^ check.^ No^ organic chemist will (^) be surprised (^) by the (^) enormous scope of his field of study. There are,^ for instance,^ 366, isomeric eicosanes,^ C 2 (|H^ ;, and 5.622,109^ eicosanols, C H 41 OH (see^ Table 7-1). The total range of acyclic compounds containing atoms other^ than^ that^ of^ the^ hydrocarbons^ (C,^ H)^ is, of course,^ very^ much larger^ than these subsets. To

Table 7-1 Counting the Different Arrangements^ of Compounds (^) of Carbon and Hydrogen^ Containing^ No Double

or Triple^ Bonds and No Rings^ (general^ formula^ C„^ H^2 „+2 ).

O H 2/

N /G

H 'C ©CH—C H.N NH,^ ^ O ©CH 2 — CH 2 S— CH 3

(C— (^) S— C— C— (^) C—C=o).

Brunches Partitions (^2) C-D^5 C^D 5 /D 1 2 (^3) C— □ 4 3 5 5 n 1 I 4 C^D '

4 2 \TD 3 2 D 5 5

2 1 3

umberof Carbon Atoms Number (^) of Possible Isomers 1 2

1 1

11 12

159 355 3 1 13 802 4 2 14 1. 5 3 15 4. 6 5 16 10. 7 8

9 18

17 18

24,

9 35 19 148. 10 75 20 366.

(^198) Use of a Computer^ to Identify^ Unknown Compound'! PLANAR POLYGONAL EXAMPLE EXAMPLE

o o

0 co^ (D O^ A

a HOSOHEDRON AAB

- A A .; O <

oo) (^) (R) (^) AMB AA

*>. BCB

w AriCtt

r~\ 'Mi AcDfa

AAA

A M#

ABE)

njor AOO

6 £ESB

ACA

c'

COODD

AA

ccc

No example^ AfCal

OBBtSB ©

- )© O

Norpolygonal graph with known chemical examples

EXAMPLE

BA 1.8 ACA)^ ogpjc

m

—OR— -1-8 not (^) connected

aAj

(.(AE)EAA)

T 5 4

A (^) Hamiltonian path where circuit is^ lacking CEDC Cwftonf

Figure (^) 7-2. The cyclic trivalent graphs with 8 or^ fewer nodes. Up^ to 6 nodes, these all^ have^ Hamilton^ circuits but may also^ be^ represented^ in^ other^ ways.^ In^ a^ few^ examples, the circuits are drawn^ with^ emphasis^ on^ planar^ map^ re- presentations. Complete tables^ of^ chord^ lists like^ those shown under the^ circuit^ (polygonal)^ representations^ have been published^ for up^ to 12 nodes,^ virtually^ exhausting graphs of chemical interest.

The final example^ has no^ Hamilton circuit.^ It^ can^ be computed either as a predicted^ union^ of^ two^ circuits^ (A with ACA. edge 1 with edge 8).^ in canonical form,^ or as a Hamiltonian path ((AE)EAA),^ the^ asterisk^ signifying^ that the polygon cannot be closed,^ and (^ AE)^ that^ two^ chords.^ A and E. both issue from the same,^ initial,^ node. As explained^ in^ the^ text,^ each^ chord^ of^ the^ polygonal representation (^) is coded by one^ character^ for^ its^ span^ the first time^ it^ is^ encountered^ in^ a^ serial circuit^ of^ nodes.

The (^) chemical examples^ are,^ wherever^ possible.^ hexacyelic hydrocarbons. Each vertex stands for a carbon atom.

lists functional groups^ that cannot^ be in the substance that was introduced to the mass^ spectrometer.

and badlist control and^ constrain^ the^ generation^ of paths in this space. Each goodlist^ item^ is^ treated^ as a "superatom," so^ that any^ functional^ group^ inferred from (^) the data by the preliminary^ inference^ maker will be guaranteed to appear^ in the list^ of^ candidate hypotheses output^ by^ the structure^ generator.

goodlist (^) and badlist are the inputs (^) to the structure generator,^ which is a^ generator^ of isomers (topologically^ possible^ graphs)^ of^ a^ given empirical (^) formula (collection (^) of atoms), goodlist

Commentary (^199)

The third^ subprogram is^ the^ Mass^ Spectrum^ pre- dictor, which contains what has been referred to^ as the "complex theory^ of mass^ spectrometry."^ This is a deductive model of the processes (^) that affect a structure (^) when it is placed (^) in a mass spectrometer. Some of these rules determine the likelihood that individual bonds will break,^ given the total environ- ment of the (^) bond. Other (^) rules are concerned with larger fragments (^) of a (^) structure such as the functional groups (^) which are (^) the basis of the preliminary inference maker. All these rules are applied (re- cursively) to each structural hypothesis coming from the structure^ generator.^ The^ result^ is^ a^ list of mass-intensity^ number pairs,^ which^ is^ the^ predicted mass spectrum^ for each candidate molecule. Any structure (^) is discarded which appears to (^) be inconsistent with the original^ data (i.e.,^ its predicted spectrum is incompatible with the given spectrum). The remaining structures are ranked from most to least plausible (^) on the basis of how well their spectra compare with (^) the data. The top (^) ranked structure is considered to^ be^ the "best explanation." Thanks to the collaboration of Dr. Gustav Schroll, an NMR^ (Nuclear^ Magnetic^ Resonance)^ predictor and inference^ maker have been added to^ the pro- gram. Thus (^) the program can (^) confirm and rank (^) candi- date structures^ through^ predictions^ independent^ of mass spectroscopy,^ bringing the whole process^ more in line (^) with standard accounts (^) of "the scientific method." Thus the heuristic dendral program^ is expanding (^) from the "automatic mass spectroscopist" to (^) the "automatic analytical chemist." Other analytical tools, (^) such as infrared spectroscopy, (^) will be incor- porated eventually. Only (^) the clumsiness of the language hinders further extensions to^ conventional "wet chemistry"^ reactions. Interaction and interdependence of the (^) three sub- programs (^) of heuristic dendral must be (^) mentioned when' discussing these computer programs. (^) Because of the size of the combined programs,^ it is more practical to^ run^ them separately than (^) to run them together. (^) One supervisor (^) takes care of the interaction by having each (^) subprogram write an output (^) file which is then the input (^) file for the next phase (^) of program operation. The preliminary (^) inference maker writes (^) the file containing (^) the empirical (^) formula and thc goodlist^ and badlist to (^) be used by the struc- ture generator.^ That program, (^) in turn,^ reads this file (^) and writes another file containing the single output list of structures^ which it generates^ according^ to^ the goodlist (^) and badlist specifications. (^) The predictor then reads this (^) file to obtain (^) its input and calculates a mass spectrum (^) for each structure (^) in the file. If other tests such as NMR prediction (^) are to be made on the

candidate structures,^ the supervisor interfaces the appropriate program to these others in the same way.

D. COMMENTARY

One (^) reason for the high level (^) of performance of the program is (^) the large amount (^) of MS knowledge chemists (^) have imparted to the program. Obtaining this has been one of the biggest^ bottlenecks (^) in develop- ing (^) the program. (^) At present there is (^) no axiomatic or even well organized (^) theory of mass spectrometry which we could (^) transfer to (^) the program (^) from a text- book (^) or from (^) an expert. (^) Most of the chemical theory has been put^ into the program^ by a programmer^ who is not a chemist (^) but who spent (^) many hours in eliciting the theory from the chemist-expert. (^) In many (^) cases the chemist's theory was only tentative or incom- pletely formulated,^ so^ that many^ iterations of rule formulating, programming, and testing were necessary to bring^ the^ dendral program^ to^ its present level of competence. A few general points^ of strategy (^) have emergedfrom the dendral effort. (^) With regard to (^) the theoretical knowledge (^) of (^) the task domain in the program, we believe that the followingconsiderationsare important: I. (^) It is important that the program's (^) "theory of the real world,"^ i.e.. of pertinent branches of chemistry, be centralized and unified. during the evolution of a^ complex^ program, any^ stage of which is an arbitrary simplification, (^) inconsistencies will accu- mulate. For example, (^) one module (^) of the theory may expect organic compounds (^) to contain although sulfur is denied in another portion (^) of the theory.

  1. It would be advantageous for the program to derive planning (Preliminary Inference)^ cues from its own theory, by introspection,^ rather than from ex- ternal data which may^ not^ yet^ have been assimilated into its theory.^ The success of the program depends in every^ case on the validity of the theory, so there is no use going^ beyond it. It^ is more efficient for the computer (^) to generate (^) hypothetical spectra (^) and search for the relevant "diagnostic" patterns^ in them^ than to wait (^) for experimental (^) data. The theory should (^) be responsive to the data; (^) then the list of inference cues should be generated^ from thc theory.
  2. Separating^ the theory from the routine^ which uses it facilitates changing the theory to improve it. on the one hand,^ or to^ experiment^ with variations of it. on^ the other. Although^ scattering^ the theory^ in the program's lisp^ code increases running^ efficiency, it seems more^ desirable,^ at^ this point,^ to^ increase the program's flexibility. This has (^) led us to design^ the programs (^) in a form (^) we refer to (^) as "table-driven."

Example (^201)

the original unknown (Fig.^ 7-3).^ Any irreconcilable difference between^ the^ unknown^ and^ predicted^ mass spectra results^ in^ the^ rejection^ of^ that^ candidate^ struc- ture from further consideration.^ All^ the viable^ struc- tures are then processed by the scoring^ function, which ranks them in^ order of preference. At this^ level of the program^ an NMR spectrum^ is predicted for each surviving^ candidate and the results are com- pared to the NMR spectrum^ of the unknown com- pound. In (^) our experience this yields only one accept- able structure. The decision rules and the structure of Heuristic dendral (^) are perhaps (^) best appreciated in a step-by-step discussion of its solution (^) to a given problem. The criteria for Heuristic dendral to infer the presence (^) of an ether function from an examination (^) of an unknown (^) low-resolution mass spectrum^ and the composition of the molecular^ ion^ are summarized in Scheme 7-B*. The program acknowledges the presence of^ the^ ether^ subgraph^ by^ checking^ for affirmative answers to^ the^ following^ specific^ points. Peaks corresponding^ to the^ loss^ of^17 and^ IBamu, respectively, are below 2% relative abundance:t the empirical composition of the molecular ion must^ be consistent with the^ presence^ of^ an^ ether linkage within a^ saturated molecule and two^ alkyl^ ions

Figure 7-3. Mass spectrum^ of unknown aliphatic ether of composition (^) Cfi H (^) I

matical relationship of the a-cleavage processes, e.g., (^) of an ether 3: M+sB=fl (^) + b. Thus for the program to (^) respond that an ether 3 subgraph is present, it (^) must recognize (^) two peaks whose (^) sum is equal (^) to the molecular weight plus 58amu. (^) For an ether 2, ether 4,^ ether 4A,^ ether 5,^ and ether 6,^ the masses of the radicals duplicated in a-cleavage (^) are 44, 72, 72, 86, (^) and 100 amu, respectively. (^) The values depicted

corresponding to the alkyl chains flanking the ether- oxygen atom must (^) be present. (^) Should these conditions be then Heuristic^ dendral^ attempts^ to expand (^) the ether subgraph (^) into any (^) of the six sub- graphs (^) depicted in Scheme 7-B. If any condition none of^ these^ other^ ethers^ will^ be^ considered. The degree^ of^ substitution^ on^ either^ a-carbon^ atom will (^) affect the masses of the products^ of a-cleavage of aliphatic ethers. The cv-cleavage peaks referred to^ in Scheme 7-B have their origin^ in^ the^ following^ mathe-

Mligh. (^) > Io9f (^) relative abundance: any. \9c relative abundance. ■I tie empirical composition of an ether is also compatible^ with the presence^ of a hydroxyl^ group.^ However,^ alcohols^ show^ appreci- able peaks (> 29? relative abundance)^ in their mass spectra corre- sponding to the loss of water from their molecular ions. (^) Further- more, the mass spectra (^) of some aliphatic (^) ethers (18) display weak peaks (■ ~l'/c relative abundance)^ due to the expulsion of I 7 amu.

in Scheme 7-B as 3 1 ...high, 45. ..high, etc.,^ correspond to (^) the mass of the rearrangement^ ions c and d for the case of^ an ether^ 3. The following responses^ were generated by Heuris- tic dendral (^) as it (^) processed a typical problem. The operator (^) initiates the program by (^) typing the following command!:

*(INFER (^) (QUOTE C6H 140) (^) S : (^) ETH-TERT-BUT (QUOTE TEST!!)) The program fetches the low-resolution mass spec- trum in question,^ and following^ an initial examination

tS-ETH-TERT-BUT is^ the^ code^ under^ which^ the^ "unknown"^ low- resolution mass spectrum (Fig. 7-3) (^) is filed. It corresponds (^) to the data recorded (18) for ethyl f-butyl ether and I I is the name of the storage location in which results (^) will be kept for later use.

R— CH^2 —6=CHR'^ <^ -'"""-'^ R—^ 6—^ CHR'^ -^-> CH^2 =6—CHR'^ CH^2 =OH CH 3 CH (^3) e M^ a^ c,^ mle 3 1

-R'

HO=CHR' RCH (^2) — 6=CHCH (^3) * HO=CHCH^3 f b^ d.^ mle^45

ETHER o—

M - 18 .... 0 or

M - 17 .... 0 or

Exact composition ( no unsaturation) of alkyl peaks flanking and of

M - alkyl peaks (i.e., alkoxy ions)

Scheme 7-B. Rules for (^) ether (^) identification

Ether 2 Ether (^3) Ether (^4) Ether 4A (^) Ether 5 Ether 6 — CH—^ CH--0-CH- I 3

_CH— I I 3 CH 3

CH, I — o—^ CHj- 3 Identification (^) of plausible a-cleavage ions 31... (^59).. .high M-15. (^) .high

CH, I I^ 3 —C—^ o— I CH 3

CH, CH, I I 3 — (^) I o—i 3 3

Identification of plausible a-cleavage ions (^31)... Identification (^) of plausible a-cleavage ions 45.. high 31...

plausible a-cleavage ions (^45)... high (M-15). (^). 1%«(M-15) (^) a-cleavageIdentification ions^ of^ plausible (^45) .... 59 .... M-15... high

Identification plausible a-cleavage (^) ions (^59) .... high M-..

204 Use^ of a^ Computerto^ Identify^ Unknown^ Compounds

rearrangement ions c,^ d. and / also^ have^ degree^ 3.^ It

will be observed^ that^ the^ scoring^ function^ ranks candidate 3 (ethyl^ /butyl^ ether)^ as^ its^ first^ preference (score of 23).^ This example^ received^ an^ inflated^ score relative to^ the other^ two^ structures^ because^ of^ the branching of (^) the /-butyl entity. Thus^ every^ methyl^ of this group is available^ for^ elimination^ by^ a-cleavage (Scheme 7-C)^ and each^ of^ these^ resulting^ ions^ can

yield the rearrangement ion^ of^ m/e 59.^ Hence^ the

pound. For each viable^ structure^ an^ NMR^ spectrum is predicted." This^ is^ then^ compared^ with^ the^ un- known's NMR spectrum^ and^ the^ chemical^ shift information must agree to within^ ±0.3^ ppm.^ The predicted resonance must display the^ same^ multiplicity and integral^ value as^ the unknown.^ If^ the^ recorded signal is a^ multiplet^ then the^ predicted^ NMR^ spectrum must (^) contain one or (^) more signals within ±0.3^ ppm of (^) this chemical shift and the values of the integrals

Ca.1.

greater the numbers of^ possible^ a-cleavages,^ the more significant^ peaks^ and the higher^ the^ score^ of^ that candidate in^ the^ present^ program.^ We^ have deferred the further refinement^ of^ the^ scoring^ function^ in favor of an^ NMR^ section^ of^ Heuristic^ dendral^ since this promised to^ yield^ a^ more^ unambiguous^ result (see Fig. 7-4). We frequently found^ that^ mass^ spectrometry^ alone was insufficient to separate^ the^ correct^ structure^ from those of^ three^ or^ four^ other^ dialkyl^ ethers^ but^ that unequivocal answers could be obtained^ by^ incorporat- ing (^) into Heuristic dendral some knowledge^ of^ NMR spectroscopy. Thus a new subroutine of the program was applied to (^) all tenable structures passed by^ the scoring function. It should be noted that the^ pro- gram can^ profitably use^ NMR^ data^ if^ it^ is^ available but does not^ require it. The NMR program accepts^ two^ arguments:^ (Da list of^ candidates^ (from^ the^ scoring^ function) and (2)^ the NMR^ spectrum^ of^ the^ unknown^ com-

must be compatible. If the signal requirements are not satisfied between the predicted^ and^ unknown's NMR spectrum,^ then^ the^ disparity^ is^ noted^ and utilized by^ the^ NMR^ scoring^ function.^ For^ any candidate the^ score^ is^ zero^ if^ all^ the^ signals^ in^ the unknown spectrum^ were assigned.^ Otherwise^ the score is the product^ of all^ the^ integrals^ of^ the^ un-

The NMR^ data^ necessary^ for the^ prediction^ of^ chemical^ shifts are stored as (^) correlation tables taken from^ K.^ Nakanishi.^ Infrared Absorption Spectroscopy. Holden-Day.^ San^ Francisco.^ Calif.. p. 223. The integral^ values for a^ given^ structure^ are^ pre- dicted as the actual number^ of^ hydrogens^ giving^ rise^ to^ each predicted signal. The multiplicity^ of the^ predicted^ signal^ is^ deter- mined by the following^ rules^ (the^ term^ "a-carbon"^ refers^ to^ the carbon atom adjacent to^ the^ C-H^ under^ discussion):^ if^ more^ than one a-carbon possesses^ hydrogens^ M^ (multiplet):^ if^ no^ re-hydrogens present S (singlet);^ if^ one^ re-hydrogen^ present^ D^ (doublet):^ if^ two a-hydrogens present^ T^ (triplet);^ if^ three^ re-hydrogens^ present^ Q (quartet). No use is^ currently^ made^ of^ coupling^ constants^ or^ other data (spin decoupling^ measurements)^ but^ it^ is^ anticipated^ that these could be incorporated^ into^ the^ program^ as^ required.

CH (^3) — CH^2 — 6—CH^2 — CH^2 —CH^2 —CH^3 l,M+^102 -CHnM CH 2 ==6^ -(CH 2 ) 3 —CH^3 CH^3 CH^2 —O^ =CH^2

VcaH. -Cam/

/

  • (^) H < mle 3 I

-cm,/ My'ai,

CH 2 =0+^ — CH^2 — CH(CH^3 ) 2 CH^3 — CH

V-l -CM-/

CH (^) :1 — CH..—^ 6—^ CH^2 — CH(CH^ M^ ) 2

  • (^102)
CH :1 -CH,— 0 +=CH 2

CH (^3) CH 3 -CH 2 -0-C-CH 3 —±i±^^ CH.^2 =

  • (^) -C(CH 3 ) 3 I CH (^3) lII.M+ 102

1- CH 3 -CH 2 -0+^ =C(CH^3 ) 2 -A!A^^ HO+^ =C(CH,)^2 mle 59 Scheme 7-C o-Cleavage^ patterns^ of several^ ethyl-butyl^ ethers.

Example (^205)

assigned signals (^) multiplied by 0.75 for each multiplet. The lower the score, (^) the higher the (^) priority for any structure. The recorded^ N.MR spectrum^ (3^ hydrogens, triplet

at 3 1.09; 9 hydrogens, singlet at 8 1.13; and 2 hydro-

gens, quartet^ at 8 3.33)^ of the unknown^ compound (ethyl /-butyl ether)^ is already (^) available in the literature (17). (^) It was presented (^) to the program (^) as {( (^1) .09 3 T) (^) ( (^1). 1 3 9 S) (3.33 2 Q))

and output^ from the program^ given in Fig.^ 7-5 appear- ed at (^) the teletype. (^) t I) C..C.C.CO.C.C ((0. 0)(29. (^) 30) (3 (^) I. (^) 1001(57 .60(59. 33) (87. 66) (102. (^) 5))

C..C..CCO.C.C ((0.0) (29. 37) (3 I. 1001(57.75)159. 18) (87. 81 ) ( 102. 6))

C... ccco.c.c ((0.0)(29.8)(3I .251(57. (^) 5)(59. 75)(87. 100,(102. (^) 1))

LIST OF RANKED (^) MOLECULES:

P -((31 .3) (^) (87. 3) (59. (^) 3) (^) (87. 3) (59. 3) (87. (^) 3) (59. 3) (37.2))

2

I. N MEANS THE FIRST RANKED MOLECULE IS THE NTH IN THE ORIGINAL NUMBERED LIST ABOVE. S =THE SCORE (HIGHEST =^ BEST) BASED ON THE NUMBER OF (^) SIGNIFICANT PREDICTED PEAKS IN THE (^) ORIGINAL GRAPH. P -THE (^) LIST OF SIGNIFICANT PREDICTED PEAKS. U--THE POSSIBLY (^) SIGNIFICANT PEAKS USED TO (^) RESOLVE SCORING TIES (THE FEWER IN DOUBT THE BETTER). DONE Figure (^) 7-4. tThe siring (^) notation used for candidates I. 2. and 3 is repre- sented in an alternative format in which I designates (^) a single bond. (^) These three candidates translate to 1. 11. and 111. respectively.

PREDICTED NMR-SPECTRA: CANDIDATE NUMBER: (^) I STRING-NOTATION: Ol ICICCICICIC NUMBER OF DELTA-VALUE HYDROGENS 0.90 3

MULTIPLICITY T T M M

1.30 3 1.40 2 1.90 2 3.40 2 T 3.40 2 Q CANDIDATE (^) NUMBER: 2 STRING-NOTATION: Ol^ IC^ ICCICI^ ICC

NUMBER OF DELTA-VALUE HYDROGENS 0.90 6

MULTIPLICITY D I M I)

1.30 3 2.00 1 3.40 2 3.40 2 Q CANDIDATE NUMBER: 3 STRING-NOTATION: Ol ICICCI (^) I ICCC

NUMBER OF DELTA-VALUE (^) HYDROGENS 1.30 9 1.30 3

MULTIPLICITY S 1

LIST OF RANKED MOLECULES:

CANDIDATE: (^) RANK: NON-ASSIGNED SIGNALS:

DONE

Figure (^) 7-

The program predicted chemical shifts (^) for the protons (^) of candidates 1,2, (^) and 3 according to (^) the values in parentheses in (^) structures I, (^) IL and 111. Heuristic dendral (^) correctly identified the unknown from its mass and NMR spectra (^) as ethyl f-butyl ether. Table (^) 7-1 1 records other examples in which dendral examined (^) known spectra (^) as (^) "unknown" utilizing solely the MS information or combining^ it with an NMR spectrum. (1.3) (3.4) (3.4) (1.4) (1.9) (0.9) CH (^3) — CH (^2) — O— (^) Ct-L— CH (^2) — CH (^3) 1 (1.3) (3.4) (3.4) (2.0) (0.9) CH (^3) — O— CH,—CH(CH ; ,). II (1.3) (3.4) (0.9) CH (^) : (^) — CH,—O— C— ICH,)., IM

3

I # S = (^23)

U (^) = N I L

S =^ II P =^ ((31 .3)^ (59. 3) (31 (^). 31(87.2)) U =^ N I L

S =^ II P =^ ((3 1. 3) (^) (59. 31(3 1. (^) 31(87.2)) U = NIL

3.40 2

3 1 NIL 2 2 ((1.1299999 9 S» I 3 ((1.1299999 9 S))

*.

References 207 Although we recognize (^) that the assignment (^) of the correct structure to an unknown aliphatic^ ether is a fairly simple problem, it (^) nonetheless represents a starting point for demonstrating the potential power inherent in computer^ interpretation of experimental data. F.ven when no^ unambiguous^ answers can be obtained, (^) it is impressive to note that the (^) number of possible (^) candidates is reduced drastically (e.g., 10 candidates out (^) of 989 theoretical possibilities (^) in examples (^15) and 16 in (^) Table 7-11). In (^) the case (^) of mass spectra (^) taken directly (^) from GC effluents,^ the program (^) would not (^) be able to (^) utilize NMR input data. Thus (^) multiple solutions would be possible for a (^) parti- cular problem. However,^ as stated previously, a signi- ficant degree of truncation considering all possible aliphatic (^) ethers would be achieved. Clearly one can program (^) other physical data (for instance, (^) infrared and ultraviolet spectral parameters) to supplement the MS and NMR data currently used. (^) With added experimental (^) data and sophisticated programming the computer (^) should be able to (^) solve more complex problems (^) and it is to this end that future research in our laboratories is being^ directed.

REFERENCES

  1. (^) Duffield. A. (^) M.. Robertson. A. V., (^) Djerassi, (^) C. Buchanan. B. G.. G. 1... Feigenbaum, (^) E. A., and Lederberg. (^) L.J. Amer. Chem. (^) Soc. 91, 2977 (1969).
  2. Schroll. G.. Duffield. A. (^) M.. Djerassi. (^) C. Buchanan, B. (^) CL. Sutherland. CL (^) L.. Feigenbaum, (^) E. A., (^) and Lederberg. J.. (^) J. Amer. Chem. (^) Soc. 91. 7440 (1969).
  3. Pettersson, (^) B. and Ryhage. (^) R.. Ark. Kemi. (^) 26. 293 (1967).
  4. (^) Crawford. (^) L. R.. and Morrison. (^) J. D.Anal. Chem. (^) 40. 1 469 (1^ 968).^ 41; 994 (1969).
  5. Venkataraghavan. R.. McLafFerty, F. Wk.and VanLear, G. E.,^ Org.^ Mass Spectrom.^ 2. ( 1 ) ( 1 969).
  6. (^) SasOki. S.. Abe. (^) H.. and Ouki.T.. Anal. Chem. 40, (1968).
  7. Biemann,^ K., and Fennessey, P. V., (^) Abstr. papers, 14th

Ann. Conf. Mass Spectrom.^ Dallas, Tex., 322 ( 1 966).

  1. Mandelbaum, A., (^) Fennessey. P. V., and Biemann, (^) K..

Abstr. papers, 15th Ann. Conf. Mass Spectrom.

Denver, Colo.. I 11 (1967).

  1. (^) Buchanan, B. (^) G.. G. L., (^) and Feigenbaum, E. (^) A., "HEURISTIC (^) DENDRAL: A Program for Generating (^) Explanatory Hypotheses in Organic Chem- istry," in (^) Meltzer. 8.. and Michie, D. (Eds.).^ Machine Intelligence 4. Edinburgh University^ Press. 1969 (also (^) Stanford Artificial Intelligence Project (^) Memo No. 62).
  2. G.,^ "HEURISTIC DENDRAL;^ A Family of LISP Programs," (^) to appear in (^) Bobrow, D. (Ed.), LISP Applications^ (also^ Stanford Artificial Intelligence Project (^) Memo No. 80).
  3. Lederberg. J., (^) and Feigenbaum. (^) E. A., "Mechanization of Inductive Inference (^) in Organic Chemistry." (^) in

Kleinmuntz, B. (Ed.), Formal Representations for

Human Judgment. (^) Wiley, 1968 (also (^) Stanford Artificial Intelligence Project (^) Memo No. 54).

  1. (^) Buchanan. (^) B. G.. Sutherland. G. L., (^) and Feigenbaum, E. (^) A., "Rediscovering Some Problems of Artificial intelligence (^) in the Context (^) of Organic (^) Chemistry," in Meltzer.^ 8.,^ and^ Michie,^ D. (Eds.),^ Machine Intel- ligence 5, Edinburgh University (^) Press (1970) (also Stanford Artificial Intelligence^ Project (^) Memo No. 99).
  2. Lederberg.^ J.. "DENDRAL-64- (^) A System for Com- puter (^) Construction. Enumeration and Notation of Organic (^) Molecules as Tree Structures and Cyclic Graphs," (^) technical report (^) to NASA. CR 57029 (1964): also available from the author and summarized (^) in ( 1 1 ). (14). (^) and (15).
  3. Lederberg.^ J.. Sutherland. G. L.,^ Buchanan. (^) B. CL. Feigenbaum. E. A.. Robertson. A. V.,^ Duffield,^ A. M.. and Djerassi.^ C.J. Amer. Chem. (^) Soc. 91, 11 (1969).
  4. Lederberg. J.,^ "Topology of Molecules" The (^) Mathe- matical (^) Sciences. A (^) Collection of Essays, M.I.T. Press, Cambridge, (^) Mass.. 1 969. p. (^) 37.
  5. Paquette. L. A.. Kirschner. S.. (^) and Malpass. J. R..J. Amer. Chem. Soc. 92. 4330 (1970).
  6. (^) Brune. H. A., (^) and Schulte. (^) D.. Chem. Ber. 100. 3438 (1967).
  7. McLafFerty.^ F. W..Anal. (^) Chem. 29, 1782 (1957).