[go: up one dir, main page]

JPH09138811A - Storage medium for molecule structure figure display - Google Patents

Storage medium for molecule structure figure display

Info

Publication number
JPH09138811A
JPH09138811A JP7296874A JP29687495A JPH09138811A JP H09138811 A JPH09138811 A JP H09138811A JP 7296874 A JP7296874 A JP 7296874A JP 29687495 A JP29687495 A JP 29687495A JP H09138811 A JPH09138811 A JP H09138811A
Authority
JP
Japan
Prior art keywords
molecular structure
atom
structure diagram
bond
routine
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP7296874A
Other languages
Japanese (ja)
Inventor
Atsushi Tomonaga
惇 朝永
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kureha Corp
Original Assignee
Kureha Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kureha Corp filed Critical Kureha Corp
Priority to JP7296874A priority Critical patent/JPH09138811A/en
Priority to CA002224240A priority patent/CA2224240A1/en
Priority to US08/981,311 priority patent/US6073080A/en
Priority to EP96914429A priority patent/EP0851370A4/en
Priority to PCT/JP1996/001393 priority patent/WO1997001144A1/en
Publication of JPH09138811A publication Critical patent/JPH09138811A/en
Withdrawn legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To generate a molecule structure figure at high speed by extracting bonding atom pair data showing the bonding relation of atoms constituting a compound and generating the molecule structure figure where connection length is specified based on the data. SOLUTION: The atom pair data extraction routine 12 of a molecule structure figure display program 10 stored in a program area A extracts bonded atom pair data showing the bonding relation of the atoms constituting the compound. A molecule structure figure generation routeine 13 generates the molecule structure figure of the compound based on the bonded atom pair data. The molecule structure figure generation routine 13 generates the molecule structure figure of the compound so that the length of all bondings become the same when external bonded atom pair data is data of the compound constituted only by a condensation ring, the set of the necessary minimum number of rings required for expressing the bonding of all the atoms constituting the condensation ring is constituted by only one five-membered ring and one six-membered ring, and the both rings share the three atoms.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、視覚による構造の
把握が容易であり、且つ美的に優れた分子構造図をディ
スプレイに表示させる分子構造図表示プログラムが記憶
された分子構造図表示用記憶媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a storage medium for displaying a molecular structure diagram, in which a program for displaying a molecular structure diagram, which allows a structure to be visually recognized easily and which has an aesthetically superior molecular structure diagram, is stored. Regarding

【0002】[0002]

【従来の技術】従来、化合物の分子構造図をディスプレ
イに表示させるには、人間がマウス等を用いてディスプ
レイに手書きした分子構造図を、そのまま用いるのが一
般的であった。また、構造が単純な分子構造図について
は、演算により自動的に分子構造図を作成して、作成し
た分子構造図をディスプレイに表示させることも可能で
あった。
2. Description of the Related Art Conventionally, in order to display a molecular structure diagram of a compound on a display, it has been general to use the molecular structure diagram handwritten on the display by a human being as it is. Further, for a molecular structure diagram having a simple structure, it was possible to automatically create a molecular structure diagram by calculation and display the created molecular structure diagram on a display.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上述し
た従来のいずれの方法を用いても、縮合環、特に3個以
上の原子を共有する縮合環のように構造が複雑な場合に
は、美的に優れ、とりわけ対称性の高い分子構造図をデ
ィスプレイに表示させることは困難であった。
However, even if any of the above-mentioned conventional methods is used, when the structure is complicated such as a condensed ring, in particular, a condensed ring having three or more atoms in common, it is aesthetically pleasing. It has been difficult to display an excellent, particularly highly symmetrical molecular structure diagram on a display.

【0004】すなわち、構造が複雑な分子構造図を手書
きによって作成すると、形が歪になることが多く問題で
あった。また、構造が複雑な分子構造図を自動的に作成
すると、処理時間がかかったり、また時として形が歪に
なることが問題であった。
That is, when a molecular structure diagram having a complicated structure is created by handwriting, the shape is often distorted. In addition, when a molecular structure diagram having a complicated structure is automatically created, it takes a long processing time and sometimes the shape is distorted.

【0005】本発明は、このような問題を解決し、縮合
環のように構造が複雑な分子構造図であっても、美的に
優れ、特に対称性の高い分子構造図を高速に自動作成し
て表示できる分子構造図表示プログラムが記憶された分
子構造図表示用記憶媒体を提供することを目的とする。
The present invention solves such a problem, and automatically creates a molecular structure diagram which is aesthetically excellent and particularly has high symmetry even at a high speed even for a molecular structure diagram having a complicated structure such as a condensed ring. It is an object of the present invention to provide a storage medium for displaying a molecular structure diagram in which a program for displaying a molecular structure diagram that can be displayed as a program is stored.

【0006】[0006]

【課題を解決するための手段】上記課題を解決するため
に、本発明の第1の分子構造図表示用記憶媒体は、プロ
グラムを格納するプログラムエリアを有し、所定の情報
処理装置を用いてプログラムエリアに格納されたプログ
ラムを読み取ることにより、このプログラムを情報処理
装置で実行させることのできる記憶媒体であって、プロ
グラムエリアには、化合物を構成する各原子の結合関係
を示す結合原子対データを抽出する原子対データ抽出ル
ーチンと、原子対データ抽出ルーチンで抽出された結合
原子対データに基づいて、化合物の分子構造図を作成す
る分子構造図作成ルーチンと、分子構造図作成ルーチン
で作成された化合物の分子構造図を情報処理装置のディ
スプレイに表示させる分子構造図表示ルーチンとを有す
る分子構造図表示プログラムが格納され、分子構造図作
成ルーチンでは、原子対データ抽出ルーチンで抽出され
た結合原子対データが、縮合環のみからなる化合物のデ
ータであって、縮合環を構成するすべての原子と結合を
表現するのに必要最小限な最小環員数の環の集合が1つ
の5員環と1つの6員環のみからなり、且つ5員環と6
員環とが3個の原子を共有して縮合している場合には、
全ての結合の長さが同一となるように化合物の分子構造
図を作成していることを特徴とする。
In order to solve the above problems, the first storage medium for displaying a molecular structure diagram of the present invention has a program area for storing a program and uses a predetermined information processing apparatus. A storage medium that allows the information processing device to execute the program by reading the program stored in the program area. In the program area, the bond atom pair data indicating the bond relation of each atom constituting the compound. Atom pair data extraction routine to extract a compound structure drawing routine that creates a molecular structure diagram of a compound based on the bond atom pair data extracted in the atom pair data extraction routine. Molecular structure diagram display routine for displaying the molecular structure diagram of the compound on the display of the information processing device In the molecular structure drawing creation routine, the bond atom pair data extracted in the atom pair data extraction routine is the data of the compound consisting of the condensed ring only, and the bond with all atoms forming the condensed ring is stored. The set of rings with the minimum number of ring members necessary for expression consists of only one 5-membered ring and one 6-membered ring, and
When the member ring is condensed by sharing 3 atoms,
It is characterized in that a molecular structure diagram of a compound is prepared so that all bonds have the same length.

【0007】このため、化合物を構成する各原子の結合
関係を示す結合原子対データが原子対データ抽出ルーチ
ンで抽出され、この結合原子対データに基づいて、化合
物の分子構造図が分子構造図作成ルーチンで作成され
る。特に、結合原子対データが、縮合環のみからなる化
合物のデータであって、縮合環を構成するすべての原子
と結合を表現するのに必要最小限な最小環員数の環の集
合が1つの5員環と1つの6員環のみからなり、且つ5
員環と6員環とが3個の原子を共有して縮合している場
合には、全ての結合の長さが同一となるように分子構造
図が作成される。そして、分子構造図作成ルーチンで作
成された化合物の分子構造図が分子構造図表示ルーチン
によってディスプレイに表示される。
Therefore, the bond atom pair data indicating the bond relationship of each atom constituting the compound is extracted by the atom pair data extraction routine, and the molecular structure diagram of the compound is created based on the bond atom pair data. Created by routine. In particular, the bond atom pair data is data of a compound consisting of only condensed rings, and a set of rings having a minimum number of ring members necessary for expressing all atoms and bonds forming the condensed ring is one. Consists of a member ring and one 6-membered ring, and 5
When the member ring and the 6-membered ring share three atoms and are condensed, the molecular structure diagram is prepared so that all the bond lengths are the same. Then, the molecular structure diagram of the compound created by the molecular structure diagram creation routine is displayed on the display by the molecular structure view display routine.

【0008】また、本発明の第2の分子構造図表示用記
憶媒体は、プログラムを格納するプログラムエリアを有
し、所定の情報処理装置を用いてプログラムエリアに格
納されたプログラムを読み取ることにより、このプログ
ラムを情報処理装置で実行させることのできる記憶媒体
であって、プログラムエリアには、化合物を構成する各
原子の結合関係を示す結合原子対データを抽出する原子
対データ抽出ルーチンと、原子対データ抽出ルーチンで
抽出された結合原子対データに基づいて、化合物の分子
構造図を作成する分子構造図作成ルーチンと、分子構造
図作成ルーチンで作成された化合物の分子構造図を情報
処理装置のディスプレイに表示させる分子構造図表示ル
ーチンとを有する分子構造図表示プログラムが格納さ
れ、分子構造図作成ルーチンでは、原子対データ抽出ル
ーチンで抽出された結合原子対データが、いずれの原子
から延びる結合の本数も3本以下である縮合環について
のデータである場合には、全ての結合の長さが同一とな
るように化合物の分子構造図を作成していることを特徴
とする。
The second storage medium for displaying a molecular structure of the present invention has a program area for storing the program, and by reading the program stored in the program area by using a predetermined information processing device, This program is a storage medium that can be executed by an information processing device, and in the program area, an atom pair data extraction routine for extracting bond atom pair data indicating the bond relationship between atoms constituting a compound, and an atom pair data extraction routine. A molecular structure diagram creation routine that creates a molecular structure diagram of a compound based on the bond atom pair data extracted by the data extraction routine, and a molecular structure diagram of the compound created by the molecular structure diagram creation routine are displayed on the information processing device display. A molecular structure diagram display program that has a molecular structure diagram display routine to be displayed in In the Martin, when the bond atom pair data extracted by the atom pair data extraction routine is data for a condensed ring in which the number of bonds extending from any atom is 3 or less, all bond lengths are It is characterized in that a molecular structure diagram of the compound is prepared so as to be the same.

【0009】このため、化合物を構成する各原子の結合
関係を示す結合原子対データが原子対データ抽出ルーチ
ンで抽出され、この結合原子対データに基づいて、化合
物の分子構造図が分子構造図作成ルーチンで作成され
る。特に、結合原子対データが、各原子から延びる結合
の本数がいずれも3本以下の縮合環についてのデータで
ある場合には、全ての結合の長さが同一となるように分
子構造図が作成される。そして、分子構造図作成ルーチ
ンで作成された化合物の分子構造図が分子構造図表示ル
ーチンによってディスプレイに表示される。
Therefore, the bond atom pair data indicating the bond relation of each atom constituting the compound is extracted by the atom pair data extraction routine, and the molecular structure diagram of the compound is created based on the bond atom pair data. Created by routine. In particular, when the bond atom pair data is data for a condensed ring in which the number of bonds extending from each atom is 3 or less, a molecular structure diagram is created so that all bond lengths are the same. To be done. Then, the molecular structure diagram of the compound created by the molecular structure diagram creation routine is displayed on the display by the molecular structure view display routine.

【0010】さらに、本発明の第3の分子構造図表示用
記憶媒体は、プログラムを格納するプログラムエリアを
有し、所定の情報処理装置を用いてプログラムエリアに
格納されたプログラムを読み取ることにより、このプロ
グラムを情報処理装置で実行させることのできる記憶媒
体であって、プログラムエリアには、化合物を構成する
各原子の結合関係を示す結合原子対データを抽出する原
子対データ抽出ルーチンと、原子対データ抽出ルーチン
で抽出された結合原子対データに基づいて、化合物の分
子構造図を作成する分子構造図作成ルーチンと、分子構
造図作成ルーチンで作成された化合物の分子構造図を情
報処理装置のディスプレイに表示させる分子構造図表示
ルーチンとを有する分子構造図表示プログラムが格納さ
れ、分子構造図作成ルーチンでは、原子対データ抽出ル
ーチンで抽出された結合原子対データが、縮合環のみか
らなる化合物のデータであって、縮合環を構成するすべ
ての原子と結合を表現するのに必要最小限な最小環員数
の環の集合に含まれる環の組合せにおいて、任意の一対
の環が3個以上の原子を共有して互いに縮合している場
合には、一対の環における各結合を、原子が一対の環で
共有されている結合Aと共有されていない結合Bとに分
けて、結合Bの長さと結合B間の角度とが環ごとにそれ
ぞれ等しくなるように化合物の分子構造図を作成してい
ることを特徴とする。
Further, the third storage medium for displaying a molecular structure of the present invention has a program area for storing the program, and by reading the program stored in the program area by using a predetermined information processing device, This program is a storage medium that can be executed by an information processing device, and in the program area, an atom pair data extraction routine for extracting bond atom pair data indicating the bond relationship between atoms constituting a compound, and an atom pair data extraction routine. A molecular structure diagram creation routine that creates a molecular structure diagram of a compound based on the bond atom pair data extracted by the data extraction routine, and a molecular structure diagram of the compound created by the molecular structure diagram creation routine are displayed on the information processing device display. A molecular structure diagram display program having a molecular structure diagram display routine to be displayed in In the routine, the bond atom pair data extracted by the atom pair data extraction routine is the data of the compound consisting of only the condensed ring, and it is the minimum necessary minimum to express all atoms and bonds that compose the condensed ring. In a combination of rings included in a set of rings having a number of ring members, when any pair of rings share 3 or more atoms and are condensed with each other, each bond in the pair of rings has a pair of atoms. The molecular structure diagram of the compound is prepared so that the bond A shared by the ring and the non-shared bond B are divided and the length of the bond B and the angle between the bonds B are equal for each ring. It is characterized by

【0011】このため、まず、化合物を構成する各原子
の結合関係を示す結合原子対データが原子対データ抽出
ルーチンで抽出され、この結合原子対データに基づい
て、化合物の分子構造図が分子構造図作成ルーチンで作
成される。特に、結合原子対データが、縮合環のみから
なる化合物のデータであって、縮合環を構成するすべて
の原子と結合を表現するのに必要最小限な最小環員数の
環の集合に含まれる環の組合せにおいて、任意の一対の
環が3個以上の原子を共有して互いに縮合している場合
には、一対の環における各結合を、原子が一対の環で共
有されている結合Aと共有されていない結合Bとに分け
て、結合Bの長さと結合B間の角度とが環ごとにそれぞ
れ等しくなるように分子構造図が作成される。そして、
分子構造図作成ルーチンで作成された化合物の分子構造
図が分子構造図表示ルーチンによってディスプレイに表
示される。
Therefore, first, bond atom pair data indicating the bond relation of each atom constituting the compound is extracted by an atom pair data extraction routine, and based on this bond atom pair data, a molecular structure diagram of the compound is drawn. It is created in the drawing creation routine. In particular, the bond atom pair data is data for a compound consisting of only condensed rings, and the rings included in the set of rings having the minimum number of ring members necessary for expressing all atoms and bonds forming the condensed ring. In the combination of, when any pair of rings share three or more atoms and are condensed with each other, each bond in the pair of rings is shared with the bond A in which the atoms are shared by the pair of rings. The molecular structure diagram is prepared so that the length of the bond B and the angle between the bonds B are the same for each ring. And
The molecular structure diagram of the compound created by the molecular structure diagram creation routine is displayed on the display by the molecular structure view display routine.

【0012】[0012]

【実施例】以下、本発明の好適な実施例について添付図
面を参照して説明する。図1は、本発明の実施形態に係
る分子構造図表示用記憶媒体1のデータ構成を示すブロ
ック図である。分子構造図表示用記憶媒体1は、プログ
ラムを格納するプログラムエリアAと、プログラムエリ
アAのブロック数やプログラムエリアAのエリア管理デ
ータなどを格納するヘッダエリアBとを備えている。そ
して、プログラムエリアAには、化合物の結合原子対デ
ータから分子構造図を作成し、ディスプレイに表示させ
る分子構造図表示プログラム10が格納されている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT A preferred embodiment of the present invention will be described below with reference to the accompanying drawings. FIG. 1 is a block diagram showing the data structure of a storage medium 1 for displaying a molecular structure diagram according to an embodiment of the present invention. The storage medium 1 for displaying a molecular structure diagram is provided with a program area A for storing programs, and a header area B for storing the number of blocks in the program area A, area management data of the program area A, and the like. The program area A stores a molecular structure diagram display program 10 for creating a molecular structure diagram from the bond atom pair data of the compound and displaying it on the display.

【0013】この分子構造図表示プログラム10は、処
理を統括するメインルーチン11と、化合物を構成する
各原子の結合関係を示す結合原子対データを抽出する原
子対データ抽出ルーチン12と、原子対データ抽出ルー
チン12で抽出された結合原子対データに基づいて、化
合物の分子構造図を作成する分子構造図作成ルーチン1
3と、分子構造図作成ルーチン13で作成された化合物
の分子構造図をディスプレイに表示させる分子構造図表
示ルーチン14とを備えている。
This molecular structure diagram display program 10 includes a main routine 11 for supervising the processing, an atom pair data extraction routine 12 for extracting bond atom pair data indicating bond relations between atoms constituting a compound, and atom pair data. A molecular structure diagram creation routine 1 for creating a molecular structure diagram of a compound based on the bond atom pair data extracted in the extraction routine 12
3 and a molecular structure diagram display routine 14 for displaying the molecular structure diagram of the compound created in the molecular structure diagram creation routine 13 on the display.

【0014】また、分子構造図作成ルーチン13は、化
合物を構成する各原子を環状部と鎖状部とに分類する分
類ルーチン13aと、環状部に分類された各原子の二次
元座標データを求める環状部座標演算ルーチン13b
と、鎖状部に分類された各原子の二次元座標データを求
める鎖状部座標演算ルーチン13cと、分子構造図を作
成する構造図作成処理ルーチン13dとを備えている。
さらに、分子構造図作成ルーチン13は、各原子対デー
タが環状部と鎖状部とのいずれに属するか判定する環鎖
判定ルーチン13eと、環状部を検出する環状部検出ル
ーチン13fと、鎖状部を検出する鎖状部検出ルーチン
13gとを備えている。
Further, the molecular structure diagram creation routine 13 obtains the classification routine 13a for classifying each atom constituting the compound into a ring part and a chain part, and two-dimensional coordinate data of each atom classified into the ring part. Annular coordinate calculation routine 13b
And a chain portion coordinate calculation routine 13c for obtaining two-dimensional coordinate data of each atom classified into a chain portion, and a structure diagram creation processing routine 13d for creating a molecular structure diagram.
Furthermore, the molecular structure diagram creation routine 13 includes a ring chain determination routine 13e that determines whether each atom pair data belongs to a ring portion or a chain portion, a ring portion detection routine 13f that detects a ring portion, and a chain portion. And a chain portion detection routine 13g for detecting a portion.

【0015】ここで、分子構造図表示用記憶媒体1とし
ては、フレキシブルディスク、CD−ROM、MDなど
の光学的又は磁気的に情報を記録することが可能ないず
れの情報媒体であってもよい。
Here, the storage medium 1 for displaying the molecular structure diagram may be any information medium capable of optically or magnetically recording information such as a flexible disk, a CD-ROM and an MD. .

【0016】分子構造図表示用記憶媒体1に格納された
分子構造図表示プログラム10は、所定の情報処理装置
で実行させることができる。この情報処理装置の例を図
2に示す。
The molecular structure diagram display program 10 stored in the molecular structure diagram display storage medium 1 can be executed by a predetermined information processing device. An example of this information processing apparatus is shown in FIG.

【0017】図2は、情報処理装置20の構成を示すブ
ロック図である。図2に示すように、情報処理装置20
は、分子構造図の画像データ30aを記憶する画像メモ
リ30と、記号データ31aなどを一時的に記憶する作
業用メモリ31と、分子構造図表示用記憶媒体1に格納
された分子構造図表示プログラム10を読み取る記憶媒
体読取器40とを備えている。また、情報処理装置20
は、オペレーティングシステム(OS)51が記憶され
た主記憶装置50と、結合表ファイル61が記憶された
ハードディスク装置60と、分子構造図を表示するディ
スプレイ70とを備えている。
FIG. 2 is a block diagram showing the configuration of the information processing device 20. As shown in FIG. 2, the information processing device 20
Is an image memory 30 for storing image data 30a of a molecular structure diagram, a working memory 31 for temporarily storing symbol data 31a and the like, and a molecular structure diagram display program stored in the molecular structure diagram display storage medium 1. A storage medium reader 40 for reading 10 is provided. In addition, the information processing device 20
Includes a main storage device 50 in which an operating system (OS) 51 is stored, a hard disk device 60 in which a binding table file 61 is stored, and a display 70 for displaying a molecular structure diagram.

【0018】さらに、情報処理装置20は、手書き図形
の入力を受け付けるポインティングデバイスであるマウ
ス71と、化学式等の記号データの入力を受け付けるキ
ーボード72と、分子構造図を出力するプリンタ73
と、分子構造図表示プログラム10の実行等を制御する
CPU80とを備えている。なお、ポインティングデバ
イスには、マウス71以外にタブレット、ディジタイ
ザ、ライトペンなどがあり、これらのいずれの装置をマ
ウス71の代わりに備えてもよい。
Further, the information processing apparatus 20 has a mouse 71 which is a pointing device for accepting input of handwritten figures, a keyboard 72 for accepting input of symbol data such as chemical formulas, and a printer 73 for outputting a molecular structure diagram.
And a CPU 80 for controlling execution of the molecular structure diagram display program 10 and the like. In addition to the mouse 71, the pointing device includes a tablet, a digitizer, and a light pen, and any of these devices may be provided instead of the mouse 71.

【0019】ハードディスク装置60に記憶された結合
表ファイル61には、複数の結合表62が登録されてい
る。図3(a)及び図3(b)に示すように、結合表6
2は、原子テーブル62aと、原子対テーブル62bと
を備えている。そして、原子テーブル62aには、原子
の番号、原子の二次元座標(X座標・Y座標)、元素名
(一般に、元素記号が用いられる)、及び属性を書き込
む欄が設けられており(図3(a)参照)、原子対テー
ブル62bには、結合原子対データ、結合種(例えば、
単結合は1、二重結合は2とする)、及び構造を書き込
む欄が設けられている(図3(b)参照)。ここで、原
子の番号は、化合物を構成する各原子をコンピュータで
識別するための番号である。なお、図3の例では原子の
番号として数字が用いられているが、記号であっても良
い。また、結合原子対データは、原子の番号の組合せと
して表現されるのが良い。
A plurality of connection tables 62 are registered in the connection table file 61 stored in the hard disk device 60. As shown in FIGS. 3A and 3B, the binding table 6
2 includes an atom table 62a and an atom pair table 62b. The atom table 62a is provided with columns for writing atom numbers, atom two-dimensional coordinates (X coordinates / Y coordinates), element names (generally, element symbols are used), and attributes (FIG. 3). (See (a)), the atom pair table 62b contains bond atom pair data, bond species (for example,
A single bond is 1, a double bond is 2, and a column for writing the structure is provided (see FIG. 3B). Here, the atom number is a number for identifying each atom constituting the compound by a computer. Although numbers are used as atomic numbers in the example of FIG. 3, they may be symbols. Further, the bond atom pair data is preferably expressed as a combination of atom numbers.

【0020】次に、分子構造図表示用記憶媒体1に格納
された分子構造図表示プログラム10を情報処理装置2
0で実行させた場合の処理の概要について説明する。図
4に示すように、操作者がマウス71又はキーボード7
2を操作して、分子構造図の情報を入力すると、この分
子構造図の作成対象となる化合物の結合表62が主記憶
装置50内に作成される。
Next, the molecular structure diagram display program 10 stored in the molecular structure diagram display storage medium 1 is loaded into the information processing device 2.
The outline of the processing when it is executed at 0 will be described. As shown in FIG. 4, the operator operates the mouse 71 or the keyboard 7
When the user operates 2 to input the information of the molecular structure diagram, the bond table 62 of the compound for which the molecular structure diagram is created is created in the main storage device 50.

【0021】マウス71による入力は、マウス71を用
いて、ディスプレイ70上に化合物の分子構造図を手書
き入力するもので、手書きされた分子構造図Cの各原子
の番号が、主記憶装置50内に作成された結合表62の
原子の番号の欄に書き込まれる。さらに、この分子構造
図Cの各原子の結合関係を示す結合原子対データが、結
合表62の結合原子対の欄に書き込まれる。このよう
に、マウス71による入力では、化合物を特定する結合
表62が、手書きされた分子構造図Cから作成される。
但し、この段階では、手書きの分子構造図Cから原子の
結合状態を示すデータ(結合原子対、結合種、元素名の
各データ)が抽出され結合表62に書き込まれるが、結
合表62の二次元座標の欄には、まだ何も書き込まれて
いない。
The mouse 71 is used to input the molecular structure diagram of the compound by handwriting on the display 70 by using the mouse 71. The numbers of the atoms of the handwritten molecular structure diagram C are stored in the main storage device 50. It is written in the column of the atom number of the bond table 62 created in. Further, bond atom pair data indicating the bond relationship of each atom in the molecular structure diagram C is written in the bond atom pair column of the bond table 62. In this way, with the input by the mouse 71, the binding table 62 for identifying the compound is created from the handwritten molecular structure diagram C.
However, at this stage, data (bonding atom pair, bond species, element name data) indicating the bond state of atoms is extracted from the handwritten molecular structure diagram C and written in the bond table 62. Nothing is written in the dimensional coordinate field.

【0022】また、キーボード72による入力は、キー
ボード72を用いて、所定の化合物に対応する結合表名
を特定する記号列を入力するもので、入力された記号デ
ータ31aに基づいて、この結合表名によって特定され
る結合表62が、結合表ファイル61から読み出され、
結合原子対データ等が抽出される(情報処理装置20に
より認識される)。
The keyboard 72 is used to input a symbol string that specifies the name of a binding table corresponding to a predetermined compound using the keyboard 72. Based on the entered symbol data 31a, this binding table is entered. The binding table 62 specified by the name is read from the binding table file 61,
Bonding atom pair data and the like are extracted (recognized by the information processing device 20).

【0023】このように、マウス71とキーボード72
とのいずれを用いても、結合表62が得られ、この結合
表62の各データに基づいて、後述する演算(環状部座
標演算ルーチン13b、鎖状部座標演算ルーチン13c
等による演算)が行われる。なお、後述のように、原子
の二次元座標を求める上記演算は、結合原子対データに
基づいて行われ、結合種及び元素名データは分子構造図
の画像データ作成時に主に用いられる。
In this way, the mouse 71 and the keyboard 72 are
Whichever is used, a connection table 62 is obtained, and based on each data of the connection table 62, the calculation (annular portion coordinate calculation routine 13b, chained portion coordinate calculation routine 13c, which will be described later) is performed.
Etc.) is performed. As will be described later, the above calculation for obtaining the two-dimensional coordinates of atoms is performed based on the bond atom pair data, and the bond species and element name data are mainly used when creating image data of the molecular structure diagram.

【0024】そして、この演算によって得られた二次元
座標データは、結合表62の二次元座標の欄に書き込ま
れ、書き込まれた二次元座標データに基づいて、美的に
優れた分子構造図Dが作成される。作成された分子構造
図Dは、CPU80の指示によってディスプレイ70に
表示される。
The two-dimensional coordinate data obtained by this operation is written in the two-dimensional coordinate column of the binding table 62, and an aesthetically superior molecular structure diagram D is obtained based on the written two-dimensional coordinate data. Created. The created molecular structure diagram D is displayed on the display 70 according to an instruction from the CPU 80.

【0025】かくして得られた結合表62は、必要に応
じてハードディスク装置60内の結合表ファイル61に
結合表名を指定して保存される。なお、キーボード72
による入力は、原子の結合状態を示す前記データ等を主
記憶装置50内に作成された結合表に直接書き込んで行
っても良い。また、イメージスキャナーやオプティカル
カードリーダー(OCR)などの光学的に図形や文字を
読み取る装置を入力装置として用いて、結合表データの
入力の受付けを行っても良い。
The joining table 62 thus obtained is saved by designating the joining table name in the joining table file 61 in the hard disk device 60 as needed. The keyboard 72
The input may be performed by directly writing the data indicating the bond state of atoms into the bond table created in the main storage device 50. Further, an input device such as an image scanner or an optical card reader (OCR) for optically reading figures or characters may be used as the input device to accept the input of the binding table data.

【0026】特に、マウス71を用いて分子構造図Cを
手書き入力し、さらに、演算によって得られた分子構造
図Dをディスプレイ70に表示させる場合には、ディス
プレイ70には、まず分子構造図Cが表示され、次に分
子構造図Dが表示されることになる。このように、手書
きによる歪んだ分子構造図Cが、美的に優れた歪みのな
い分子構造図Dに置き代わり、手書き図形の整形(リシ
ェープ)が行われる。
In particular, when the molecular structure diagram C is input by hand using the mouse 71 and the molecular structure diagram D obtained by calculation is displayed on the display 70, the molecular structure diagram C is first displayed on the display 70. Is displayed, and then the molecular structure diagram D is displayed. As described above, the distorted molecular structure diagram C by handwriting is replaced with the aesthetically excellent distorted molecular structure diagram D, and the handwritten figure is reshaped.

【0027】次に、分子構造図表示用記憶媒体1に格納
された分子構造図表示プログラム10を情報処理装置2
0で実行させた場合の処理の流れについて詳細に説明す
る。図2に示すように、分子構造図表示用記憶媒体1が
記憶媒体読取器40に挿入されると、分子構造図表示用
記憶媒体1のプログラムエリアAに格納された分子構造
図表示プログラム10が、記憶媒体読取器40によって
読み出される。そして、記憶媒体読取器40で読み出さ
れた分子構造図表示プログラム10は、主記憶装置50
に転送され、主記憶装置50に記憶される。その後に、
キーボードを用いて操作者が動作開始の命令を入力する
と、OS51の制御の下で分子構造図表示プログラム1
0のメインルーチン11が起動される。
Next, the molecular structure diagram display program 10 stored in the molecular structure diagram display storage medium 1 is loaded into the information processing device 2.
The flow of processing when it is executed at 0 will be described in detail. As shown in FIG. 2, when the molecular structure diagram display storage medium 1 is inserted into the storage medium reader 40, the molecular structure diagram display program 10 stored in the program area A of the molecular structure diagram display storage medium 1 is displayed. , Read by the storage medium reader 40. The molecular structure diagram display program 10 read by the storage medium reader 40 is stored in the main storage device 50.
And is stored in the main storage device 50. Then,
When the operator inputs an operation start command using the keyboard, the molecular structure diagram display program 1 under the control of the OS 51.
The main routine 11 of 0 is started.

【0028】図5のフローチャートに示すように、メイ
ンルーチン11は、まず、結合表62の原子対テーブル
62bに記録された結合原子対データを抽出する(S1
0)。この抽出は、原子対データ抽出ルーチン12を呼
び出して行う。次に、抽出された複数の結合原子対デー
タを、環状部を構成する結合原子対データと、鎖状部を
構成する結合原子対データとに分類する(S20)。こ
の分類は、分類ルーチン13aを呼び出して行う。さら
に、環状部を構成する結合原子対データに基づいて、環
状部の各原子の二次元座標を計算する(S30)。この
計算は、環状部座標演算ルーチン13bを呼び出して行
う。
As shown in the flow chart of FIG. 5, the main routine 11 first extracts bond atom pair data recorded in the atom pair table 62b of the bond table 62 (S1).
0). This extraction is performed by calling the atom pair data extraction routine 12. Next, the plurality of extracted bond atom pair data are classified into bond atom pair data that forms the ring portion and bond atom pair data that forms the chain portion (S20). This classification is performed by calling the classification routine 13a. Further, the two-dimensional coordinates of each atom in the ring portion are calculated based on the bond atom pair data forming the ring portion (S30). This calculation is performed by calling the annular portion coordinate calculation routine 13b.

【0029】次に、鎖状部を構成する結合原子対データ
に基づいて、鎖状部の各原子の二次元座標を計算する
(S40)。この計算は、鎖状部座標演算ルーチン13
cを呼び出して行う。そして、鎖状部を移動・回転させ
て、環状部と鎖状部とを結合させる(S50)。具体的
には、図6(a)〜図6(c)に示すように、環状部1
00の所定の結合101と鎖状部110の所定の結合1
11とが一致するように、S40の処理で求めた鎖状部
110の各原子の二次元座標データを座標変換して行
う。特に、結合部分の原子112から延びる各結合11
1,113,114の分岐角度θ1 〜θ3 が等しくなる
(θ1 =θ2 =θ3 )ように調整しながら、鎖状部11
0を回転させる。
Next, the two-dimensional coordinates of each atom in the chain portion are calculated based on the bond atom pair data forming the chain portion (S40). This calculation is performed by the chain coordinate calculation routine 13
Call c. Then, the chain portion is moved / rotated to couple the annular portion and the chain portion (S50). Specifically, as shown in FIGS. 6A to 6C, the annular portion 1
00 predetermined bond 101 and chain 110 predetermined bond 1
The coordinate conversion is performed on the two-dimensional coordinate data of each atom of the chain portion 110 obtained by the processing of S40 so that 11 and 11 are matched. In particular, each bond 11 extending from the atom 112 of the bond
While adjusting so that the branch angles θ 1 to θ 3 of 1, 113 and 114 are equal (θ 1 = θ 2 = θ 3 ), the chain portion 11
Rotate 0.

【0030】S30〜S50の処理で得られた各原子の
二次元座標データは、主記憶装置50に作成された結合
表62のX座標及びY座標の欄に書き込まれる。
The two-dimensional coordinate data of each atom obtained by the processing of S30 to S50 is written in the X-coordinate and Y-coordinate columns of the binding table 62 created in the main storage device 50.

【0031】次に、結合表62のX座標、及びY座標の
欄に書き込まれた各原子の二次元座標データに基づい
て、分子構造を示す画像データ30aを作成する(S6
0)。この画像データの作成は、構造図作成処理ルーチ
ン13dを呼び出して行う。そして、作成された分子構
造図の画像データ30aを、ディスプレイ70に表示さ
せる(S70)。この画像データの表示は、分子構造図
表示ルーチン14を呼び出して行う。
Next, based on the two-dimensional coordinate data of each atom written in the X-coordinate and Y-coordinate columns of the bond table 62, the image data 30a showing the molecular structure is created (S6).
0). The image data is created by calling the structure diagram creation processing routine 13d. Then, the image data 30a of the created molecular structure diagram is displayed on the display 70 (S70). The display of this image data is performed by calling the molecular structure diagram display routine 14.

【0032】次に、原子対データ抽出ルーチン12につ
いて説明する。原子対データ抽出ルーチン12は、メイ
ンルーチン11のS10の処理によって呼び出されるサ
ブルーチンである。図7のフローチャートに示すよう
に、原子対データ抽出ルーチン12は、まず、入力方法
の選択画面をディスプレイ70に表示させる(S10
1)。この表示画面に従って、操作者がマウス71によ
る入力を選択すると(S102)、ディスプレイ70に
分子構造図作画用の画面が表示される。次に、操作者が
マウス71を用いて、所定の化合物の構造を示す分子構
造図を手書き入力すると、この手書き図形データの入力
が受け付けられる(S103)。そして、この手書き図
形データに基づいて、結合表62が主記憶装置50内に
作成される(S104)。
Next, the atom pair data extraction routine 12 will be described. The atom pair data extraction routine 12 is a subroutine called by the processing of S10 of the main routine 11. As shown in the flowchart of FIG. 7, the atom pair data extraction routine 12 first displays the input method selection screen on the display 70 (S10).
1). When the operator selects input with the mouse 71 according to this display screen (S102), a screen for molecular structure drawing is displayed on the display 70. Next, when the operator uses the mouse 71 to manually input a molecular structure diagram showing the structure of a predetermined compound, the input of the handwritten graphic data is accepted (S103). Then, the combination table 62 is created in the main storage device 50 based on the handwritten graphic data (S104).

【0033】次に、マウス71による手書き図形データ
の入力について、具体的に説明する。まず、操作者がマ
ウス71をクリックすると、結合原子対を構成する一方
の原子についてのデータが入力される。次に、操作者が
マウス71を移動させて、マウス71をクリックする
と、一方の原子と結合原子対を構成する他方の原子につ
いてのデータが入力される。そして、この他方の原子に
ついてのデータを入力するためのクリックは、続いて次
のクリックがなされた時には、次の結合原子対の一方の
原子を指定するクリックと見なされる。このように、連
続した2回のマウス71のクリックによって、一組の結
合原子対を指定することができる。即ち、操作者が原子
を一つずつずらしながら、結合原子対の指定を続けるこ
とにより、化合物を構成する全ての結合原子対が入力さ
れる。
Next, the input of handwritten graphic data with the mouse 71 will be specifically described. First, when the operator clicks the mouse 71, data on one atom forming the bond atom pair is input. Next, when the operator moves the mouse 71 and clicks the mouse 71, data on one atom and the other atom forming a bond atom pair is input. Then, the click for inputting the data for the other atom is regarded as a click for designating one atom of the next bond atom pair when the next click is subsequently made. In this way, a pair of bond atom pairs can be designated by two consecutive clicks of the mouse 71. That is, the operator continues to specify the bond atom pairs while shifting the atoms one by one, whereby all the bond atom pairs constituting the compound are input.

【0034】入力された原子についてのデータに対応さ
せて、原子テーブル62aの原子の番号の欄に原子の番
号が書き込まれる。また、入力された原子の結合関係に
ついてのデータは、原子対テーブル62bの結合原子対
の欄に書き込まれる。さらに、操作者が各原子の元素名
を入力した場合には、原子テーブル62aの元素名の欄
に元素名が書き込まれる。同様に、操作者が結合原子対
を結ぶ結合の多重度を入力した場合には、原子対テーブ
ル62bの結合種の欄に結合の多重度が書き込まれる。
The atom number is written in the atom number column of the atom table 62a in correspondence with the input atom data. Further, the input data regarding the bond relation of the atoms is written in the column of the bond atom pair of the atom pair table 62b. Furthermore, when the operator inputs the element name of each atom, the element name is written in the element name column of the atom table 62a. Similarly, when the operator inputs the bond multiplicity connecting the bond atom pairs, the bond multiplicity is written in the bond type column of the atom pair table 62b.

【0035】S102の処理で、操作者がキーボード7
2による入力を選択すると、ディスプレイ70に記号列
入力画面が表示される。操作者がキーボード72を用い
て、所定の化合物を特定する結合表名の記号列を入力す
ると、この記号データ31aの入力が受け付けられる
(S105)。そして、この記号データ31aで特定さ
れる結合表のデータが、結合表ファイル61から読み出
され(S106)、主記憶装置50内に結合表62が抽
出される(S107)。
In the processing of S102, the operator operates the keyboard 7
When the input by 2 is selected, the symbol string input screen is displayed on the display 70. When the operator uses the keyboard 72 to input a symbol string of a binding table name that specifies a predetermined compound, the input of the symbol data 31a is accepted (S105). Then, the data of the joining table specified by this symbol data 31a is read from the joining table file 61 (S106), and the joining table 62 is extracted into the main storage device 50 (S107).

【0036】さらに、S104とS107との処理終了
後、これらの処理で作成された結合表62の原子対テー
ブル62bより結合原子対データが抽出される(S10
8)。そして、S108の処理終了後、原子対データ抽
出ルーチン12を終了して、メインルーチン11のS2
0に処理を戻す。
After the processing of S104 and S107 is completed, bond atom pair data is extracted from the atom pair table 62b of the bond table 62 created by these processings (S10).
8). Then, after the processing of S108 is completed, the atomic pair data extraction routine 12 is completed, and S2 of the main routine 11 is completed.
Return processing to 0.

【0037】次に、分類ルーチン13aについて説明す
る。分類ルーチン13aは、メインルーチン11のS2
0の処理によって呼び出されるサブルーチンである。図
8のフローチャートに示すように、分類ルーチン13a
では、まず、原子対データ抽出ルーチン12で作成され
た各結合原子対データを環状構造と鎖状構造とのいずれ
に属するか判定する(S201)。この判定は、環鎖判
定ルーチン13eを呼び出して行う。そして、判定結果
は、後述のように主記憶装置50に記憶された結合表6
2の原子対テーブルの構造データとして設定される。
Next, the classification routine 13a will be described. The classification routine 13a is S2 of the main routine 11.
It is a subroutine called by the processing of 0. As shown in the flowchart of FIG. 8, the classification routine 13a
Then, first, it is determined whether each bond atom pair data created by the atom pair data extraction routine 12 belongs to a ring structure or a chain structure (S201). This determination is made by calling the ring chain determination routine 13e. Then, the determination result is the combination table 6 stored in the main storage device 50 as described later.
It is set as the structure data of the atom pair table of 2.

【0038】次に、環状部を検出する(S202)。こ
の検出は、環状部検出ルーチン13fを呼び出して行
う。さらに、鎖状部を検出する(S203)。この検出
は、鎖状部検出ルーチン13gを呼び出して行う。S2
02及びS203の処理によって、各結合原子対データ
は、後述するように、環状部と鎖状部とに分類される。
例えば、図9に示すように、各結合原子対データ(1,
2)、(2,3)、…(40,41)は、2組の環状部
120,130と、2組の鎖状部140,150とに分
類される。そして、S203の処理終了後、分類ルーチ
ン13aを終了して、メインルーチン11のS30に処
理を戻す。
Next, the annular portion is detected (S202). This detection is performed by calling the annular portion detection routine 13f. Further, a chain portion is detected (S203). This detection is performed by calling the chain portion detection routine 13g. S2
By the processing of 02 and S203, each bond atom pair data is classified into a ring portion and a chain portion, as described later.
For example, as shown in FIG. 9, each bond atom pair data (1,
2), (2, 3), ... (40, 41) are classified into two sets of annular parts 120 and 130 and two sets of chain-like parts 140 and 150. Then, after the processing of S203 ends, the classification routine 13a ends, and the processing returns to S30 of the main routine 11.

【0039】次に、環状部座標演算ルーチン13bにつ
いて説明する。環状部座標演算ルーチン13bは、メイ
ンルーチン11のS30の処理によって呼び出されるサ
ブルーチンである。図10のフローチャートに示すよう
に、環状部座標演算ルーチン13bは、まず、分類ルー
チン13aで分類された環状部が単環構造であるか判定
する(S301)。この処理は、原子の数をNa、結合
の数をNbとして、 N=Nb−Na+1 で、Nが1であれば単環と判定し、Nが1を越える数
(整数)であれば縮合環と判定するものである。因み
に、鎖状部であればNは0である。
Next, the annular portion coordinate calculation routine 13b will be described. The annular portion coordinate calculation routine 13b is a subroutine called by the processing of S30 of the main routine 11. As shown in the flowchart of FIG. 10, the annular part coordinate calculation routine 13b first determines whether the annular part classified by the classification routine 13a has a single ring structure (S301). In this treatment, the number of atoms is Na, the number of bonds is Nb, N = Nb-Na + 1, N is determined to be a single ring, and N is a number (integer) that is a condensed ring. Is determined. Incidentally, N is 0 in the case of a chain portion.

【0040】ここで、本発明で用いられる用語について
説明する。まず「環」または「単環」は、任意の出発結
合の一方の原子から出発して、結合を次々に辿るという
操作を行って、出発結合並びに一度辿った結合およびそ
の原子を辿ることなく、出発結合の他方の原子に到達で
きるとき、出発結合と辿った結合とで形成されるループ
として捉えられるべきものである。例えば、図3におい
て結合原子対(1,2)の原子1を出発結合の一方の原
子とすると、原子1から辿れる結合は結合(6,1)と
結合(1,7)の2つである。ここで、結合(6,1)
の方を選択すると、結合(5,6)、(4,5)、
(3,4)、(2,3)と次々に結合を辿って、出発結
合並びに一度辿った結合およびその原子を辿ることな
く、出発結合の他方の原子2に到達できる。したがっ
て、図3の化合物は、出発結合(1,2)と辿った結合
とで形成される環構造を有すると言える。
Here, terms used in the present invention will be explained. First, a “ring” or a “monocycle” means starting from one atom of any starting bond and performing the operation of tracing the bonds one after another, without tracing the starting bond and the bond and its atom once traced, When the other atom of the starting bond can be reached, it should be regarded as a loop formed by the starting bond and the traced bond. For example, assuming that atom 1 of the bond atom pair (1, 2) in FIG. 3 is one atom of the starting bond, the bonds that can be traced from atom 1 are bond (6, 1) and bond (1, 7). . Where the join (6,1)
If you select, the bonds (5,6), (4,5),
It is possible to reach the other atom 2 of the starting bond without following the starting bond and the bond which has been once traced and its atom by tracing the bonds in sequence with (3, 4) and (2, 3). Therefore, it can be said that the compound of FIG. 3 has a ring structure formed of the starting bond (1, 2) and the traced bond.

【0041】さらに、「環状部」は、任意の結合を含ん
で形成されるすべての「環」を構成する結合の集まりと
して捉えられるべきものである。「環状部」が、単環
(N=1)と縮合環(N>1)とに分類されることは上
述のとおりである。
Further, the "ring portion" should be regarded as a group of bonds constituting all "rings" formed by including arbitrary bonds. As described above, the “ring portion” is classified into a single ring (N = 1) and a condensed ring (N> 1).

【0042】S301の処理で単環構造と判定された場
合には、正n角形(n員環の場合)として各頂点の二次
元座標を求める(S302)。また、S301の処理で
縮合環構造と判定された場合には、縮合環構造を構成す
る全ての原子と結合を表現するのに必要最小限な最小環
員数の環の集合(SSSR:Smallest Set of Smallest
Rings)を求める(S303)。この必要最小限な最小
環員数の環の集合は、公知技術である排他的論理和法を
用いて行うことができる。この排他的論理和法は、文献
「Journal of Chemical Infomation and Computer Scie
nces,Vol.15,No.3,1975 p140〜p147」に詳細に記載され
ている。
When it is determined in step S301 that the structure is a monocyclic structure, two-dimensional coordinates of each vertex are obtained as a regular n-sided polygon (in the case of n-membered ring) (S302). In addition, when it is determined to be a condensed ring structure in the process of S301, a ring set having a minimum number of ring members (SSSR: Smallest Set of the minimum required to express all atoms and bonds that constitute the condensed ring structure). Smallest
Rings) is calculated (S303). This set of rings with the minimum required minimum ring member number can be performed using the exclusive OR method which is a known technique. This exclusive OR method is based on the document "Journal of Chemical Infomation and Computer Scie
nces, Vol. 15, No. 3, 1975 p140-p147 ”.

【0043】この文献からも判るように、排他的論理和
法の概要は次の通りである。
As can be seen from this document, the outline of the exclusive OR method is as follows.

【0044】(1) 環構造を構成する原子の数をN
a、結合の数をNbとして、N(=Nb−Na+1)個
以上の相互に独立した単環の集合(独立単環集合)を作
る。ここで、「相互に独立した」とは、二つの環におい
て一方にしか含まれない結合が一つ以上存在することで
ある。
(1) The number of atoms constituting the ring structure is N
a, and the number of bonds is Nb, a set of N (= Nb-Na + 1) or more independent monocycles (independent monocycle set) is created. Here, “independently from each other” means that there are one or more bonds contained in only one of the two rings.

【0045】(2) 続いて、独立単環集合から任意の
単環をN以上の任意の数(重複は許されない)選び、選
ばれた単環の部分集合に含まれる結合の中から、一つの
単環にのみ属する結合を選び出す(排他的論理和)と、
選び出された結合を繋いで、部分集合には含まれない別
の単環を得ることができる。
(2) Next, an arbitrary number of monocycles of N or more (duplication is not allowed) is selected from the independent monocycle set, and one of the bonds included in the selected monocycle subset is selected. If you select a bond that belongs to only one single ring (exclusive OR),
By connecting the selected bonds, another monocycle not included in the subset can be obtained.

【0046】(3) (2)で得られた単環が独立単環
集合を構成するいずれの単環とも異なる場合には、それ
を加えて新たな独立単環集合とする。
(3) When the monocycle obtained in (2) is different from any of the monocycles constituting the independent monocycle set, it is added to form a new independent monocycle set.

【0047】(4) (2)へ戻り、N個以上の単環の
すべての組合せについて処理を行い、新たな単環が得ら
れなくなるまで繰り返す。
(4) Returning to (2), processing is performed for all combinations of N or more monocycles, and repeated until no new monocycle is obtained.

【0048】(5) (1)〜(4)により、すべての
相互に独立した単環を求めることができたので、得られ
た独立単環集合の中から環員数の小さいものから順にN
個を選ぶことにより、SSSRが求められる。
(5) Since it is possible to obtain all mutually independent monocycles by (1) to (4), from the obtained independent monocycle set, the ring having the smallest number of ring members is N in order.
The SSSR is obtained by selecting the individual pieces.

【0049】この排他的論理和法により求められるSS
SRを例示すれば、図11(a)に示す縮合環160
は、4つの単環161〜163の集合に分割される。同
様に、図11(b)に示す縮合環170は、3つの単環
171〜173の集合に分割される。すなわち、SSS
Rを求める排他的論理和法は、縮合環の中で辿れるすべ
ての単環を抽出し、その中から環員数の小さい順にN個
を取り出して集合を作る計算法である。
SS obtained by this exclusive OR method
Taking SR as an example, the condensed ring 160 shown in FIG.
Is divided into a set of four single rings 161 to 163. Similarly, the condensed ring 170 shown in FIG. 11B is divided into a set of three single rings 171 to 173. That is, SSS
The exclusive OR method for obtaining R is a calculation method in which all the monocyclic rings that can be traced in the condensed ring are extracted, and N pieces are taken out in order from the smallest number of ring members to form a set.

【0050】次に、求められたSSSRの中で最も優先
順位(単環には環員数にしたがって予め、例えば、6員
環>5員環>3員環>4員環>7員環、…のように優先
順位を付けておく)の高い単環(所定の単環)を選ぶ
(S304)。そして、選ばれた単環がm員環(mは、
3以上の自然数)の場合、正m角形として各頂点の二次
元座標を求める(S305)。さらに、既に二次元座標
が求められている単環(特定の単環)に縮合する環の中
で、最も優先順位の高い単環を選ぶ(S306)。
Next, the highest priority among the obtained SSSRs (for example, 6-membered ring> 5-membered ring> 3-membered ring> 4-membered ring> 7-membered ring, ... A single ring (predetermined single ring) having a high priority is selected (S304). And the selected monocycle is an m-membered ring (m is
In the case of a natural number of 3 or more), a two-dimensional coordinate of each vertex is obtained as a regular m-gon (S305). Further, among the rings condensed to the single ring (specific single ring) for which the two-dimensional coordinates have already been obtained, the single ring with the highest priority is selected (S306).

【0051】S304及びS306の処理での単環の選
択は、基本的には環の員数に対応して規定された優先順
位に従って行われるのが好ましい。さらに、同じ環員数
の単環において、例えば窒素原子を含む環は下位にする
とか、または二重結合を含む環は上位にするとかという
ように、構成原子種および/または結合種に従って、同
じ基本順位の中をさらに細分化して順位付けしておくこ
とも好ましい。なお、本願発明者の知見によれば、6員
環を基本順位の最上位として選択すると、特に美的に優
れた分子構造図が得られる。
Basically, the selection of a single ring in the processing of S304 and S306 is preferably performed in accordance with the priority order defined corresponding to the number of ring members. Further, in a monocycle having the same number of ring members, for example, a ring containing a nitrogen atom is in a lower rank, or a ring containing a double bond is in a higher rank. It is also preferable to further divide the rank into ranks. According to the knowledge of the inventor of the present application, when a 6-membered ring is selected as the highest basic order, a particularly aesthetically superior molecular structure diagram can be obtained.

【0052】次に、図12に示すように、既に二次元座
標が求められている単環(特定の単環)180に縮合す
る単環181を選び、この単環181がn員環(nは、
3以上の自然数)の場合に、単環180とk個の辺(図
12ではk=3)を共有するn角形として、各原子の二
次元座標を求める(S307)。具体的には、単環18
1を構成するn角形の各辺のうち、単環180と共有す
るk個の辺を共有辺182と、その他の各辺を非共有辺
183とする。そして、全ての共有辺182からなる線
分の両端184,185を結ぶ補助直線186の長さ
を、L(Lは既知の値)とおくと共に、各非共有辺18
3の長さをr(rは一定の値)とおく。
Next, as shown in FIG. 12, a monocycle 181 fused to a monocycle (specific monocycle) 180 whose two-dimensional coordinates have already been obtained is selected, and this monocycle 181 is an n-membered ring (n Is
In the case of a natural number of 3 or more), the two-dimensional coordinates of each atom are obtained as an n-gon that shares k sides (k = 3 in FIG. 12) with the monocycle 180 (S307). Specifically, a single ring 18
Among the sides of the n-sided polygon that form one, k sides shared with the single ring 180 are the shared sides 182, and the other sides are the non-shared sides 183. Then, the length of the auxiliary straight line 186 connecting both ends 184 and 185 of the line segment composed of all the shared edges 182 is set to L (L is a known value), and each non-shared edge 18 is set.
Let the length of 3 be r (r is a constant value).

【0053】なお、この段階では既に単環180を構成
する各原子の二次元座標は求められており、補助直線1
86の長さLは、両端184,185に位置する原子の
二次元座標から得られる既知の値である。これに対し
て、長さrは、後述の例外処理を行う場合などを除い
て、通常は単環180と単環181とで統一的に決めら
れた一定の値である。このように、単環180,181
の全ての辺を一定の値rとすることにより、各原子の二
次元座標を求める演算を高速に行うことができる。
At this stage, the two-dimensional coordinates of each atom constituting the monocycle 180 have already been obtained, and the auxiliary straight line 1
The length L of 86 is a known value obtained from the two-dimensional coordinates of the atoms located at both ends 184 and 185. On the other hand, the length r is usually a fixed value that is uniformly determined by the single ring 180 and the single ring 181 except when performing exception processing described later. Thus, the single ring 180,181
By setting a constant value r on all sides of, the calculation for obtaining the two-dimensional coordinates of each atom can be performed at high speed.

【0054】さらに、補助直線186と全ての非共有辺
183とからなる(n−k+1)角形の各内角のうち、
補助直線186と非共有辺183との内角をα(ラジア
ン)と、非共有辺183同士の内角をβ(ラジアン)と
おく。そして、r・cos{((n−k−1)π−(n
−k)β)/2}=L・cos(β/2)を満たすβを
計算すると共に、α=(n−k−1)(π−β)/2と
を計算することにより(πは円周率)、各原子の二次元
座標が求められる。その後、S306の処理で、まだ選
ばれていない単環がある場合には、S306に処理を戻
し、S306とS307との処理を繰り返す(S30
8)。
Further, among the interior angles of the (n−k + 1) polygon which is composed of the auxiliary straight line 186 and all the non-shared edges 183,
The interior angle between the auxiliary straight line 186 and the non-shared side 183 is α (radian), and the interior angle between the non-shared sides 183 is β (radian). Then, r · cos {((n−k−1) π− (n
By calculating β that satisfies −k) β) / 2} = L · cos (β / 2), and by calculating α = (n−k−1) (π−β) / 2 (where π is Circularity), two-dimensional coordinates of each atom are obtained. Then, in the process of S306, if there is a single ring that has not been selected, the process returns to S306, and the processes of S306 and S307 are repeated (S30
8).

【0055】すなわち、S307の処理では、二次元座
標が既知の特定の環に縮合する単環を構成する原子のう
ち、二次元座標が未知のすべての原子について、結合の
長さrと結合の角度βがそれぞれ等しくなるように、未
知原子を配してその二次元座標が求められる。S307
で採用された上述のアルゴリズムは、縮合環を特徴づけ
るSSSRに含まれる環の組合せにおいて、連続した3
個以上の原子を共有して互いに縮合する環の組合せが存
在する縮合環、又は該縮合環を含む分子構造図のよう
に、構造が特に複雑なケースで優れて有効である。なぜ
ならば、上述の座標演算法を用いれば、原子の二次元座
標を高速で計算することができ、また原子の配置が補助
直線186の垂直2等分線に対して対称であるので、作
成された分子構造図は、視覚により構造の把握が容易で
あり、且つ美的に優れたものとなる。
That is, in the processing of S307, among the atoms constituting the monocycle fused to a specific ring whose two-dimensional coordinates are known, all the atoms whose two-dimensional coordinates are unknown have bond length r and bond The unknown atoms are arranged so that the angles β are equal to each other, and the two-dimensional coordinates thereof are obtained. S307
The algorithm described above is used in the combination of rings included in the SSSR that characterizes fused rings,
It is excellent and effective in cases where the structure is particularly complicated, such as a condensed ring having a combination of rings that share one or more atoms and are condensed with each other, or a molecular structure diagram including the condensed ring. This is because the two-dimensional coordinates of atoms can be calculated at high speed by using the above-described coordinate calculation method, and the arrangement of atoms is symmetric with respect to the perpendicular bisector of the auxiliary straight line 186. The molecular structure diagram makes it easy to visually grasp the structure and is aesthetically superior.

【0056】なお、共有辺182は本発明の結合Aに、
非共有辺183は本発明の結合Bに対応する。したがっ
て、結合Bは、一方の原子は2つの環に共有されている
が、他方の原子は共有されていない結合を含むものであ
る。さらに、図10(a)に示す縮合環160には、連
続した2個の原子を共有して互いに縮合する環の組合せ
が3つ、図10(b)に示す縮合環170には、連続し
た3個の原子を共有して互いに縮合する環の組合せが2
つ存在する。
The shared edge 182 is the connection A of the present invention,
The non-shared edge 183 corresponds to the bond B of the present invention. Thus, bond B includes a bond in which one atom is shared by the two rings but the other atom is not. Furthermore, in the condensed ring 160 shown in FIG. 10 (a), there are three combinations of rings that share two consecutive atoms and are condensed with each other, and in the condensed ring 170 shown in FIG. 10 (b), there are consecutive combinations. There are 2 combinations of rings that share 3 atoms and are fused together.
Exist.

【0057】S308の処理で、全ての単環の二次元座
標が既に求められたと判断した場合、及びS302の処
理が終了した場合に、環状部座標演算ルーチン13bを
終了して、メインルーチン11のS40に処理を戻す。
When it is judged in the processing of S308 that the two-dimensional coordinates of all the single rings have already been obtained, and when the processing of S302 is completed, the annular part coordinate calculation routine 13b is terminated and the main routine 11 The process is returned to S40.

【0058】一般的に、各原子から延びる結合の本数が
増加するに伴って、S307の処理で二次元座標を計算
された原子が、既に座標が決定されている原子に重なる
又は極めて近接する頻度が大きくなる。そして、このよ
うな不都合に対する対策として、一方の結合の長さを変
えて、原子の位置をずらすことが必要となる。従って、
環状部座標演算ルーチン13bには、結合の長さを変え
る例外処理が組み込まれており(詳細は説明せず)、こ
のような例外処理を行った場合には、結合の長さはr以
外となる。
Generally, as the number of bonds extending from each atom increases, the frequency at which the atom whose two-dimensional coordinate is calculated in the processing of S307 overlaps or is extremely close to the atom whose coordinate has already been determined. Grows larger. Then, as a measure against such inconvenience, it is necessary to change the length of one bond to shift the position of the atom. Therefore,
The annular part coordinate calculation routine 13b incorporates an exception process for changing the bond length (details will not be described). When such an exception process is performed, the bond length is other than r. Become.

【0059】しかし、上述した結合の数と近接頻度の関
係を考慮すれば、環状部座標演算ルーチン13bでは、
処理対象となる縮合環の各原子から延びる結合の本数が
いずれも3本以下のときには、全ての結合の長さが一定
の値rとなるように処理されるのが好ましい。これによ
り、二次元座標を求める演算は高速化され、また、環状
部座標演算ルーチン13bのステップ数を減少させるこ
とができる。
However, in consideration of the relationship between the number of connections and the proximity frequency described above, in the annular part coordinate calculation routine 13b,
When the number of bonds extending from each atom of the condensed ring to be treated is 3 or less, it is preferable that the treatment is performed so that the lengths of all the bonds have a constant value r. As a result, the calculation for obtaining the two-dimensional coordinates is speeded up, and the number of steps of the annular portion coordinate calculation routine 13b can be reduced.

【0060】次に、鎖状部座標演算ルーチン13cにつ
いて説明する。鎖状部座標演算ルーチン13cは、メイ
ンルーチン11のS40の処理によって呼び出されるサ
ブルーチンである。図13のフローチャートに示すよう
に、鎖状部座標演算ルーチン13cでは、まず、鎖状部
に分類された各原子の中から、鎖状構造の端部となる末
端原子を全て抽出し、抽出された末端原子の対の中か
ら、その間に含まれる結合の数が最も多い末端原子対を
選ぶ(S401)。
Next, the chain portion coordinate calculation routine 13c will be described. The chain portion coordinate calculation routine 13c is a subroutine called by the processing of S40 of the main routine 11. As shown in the flowchart of FIG. 13, in the chain portion coordinate calculation routine 13c, first, all the terminal atoms that are the end portions of the chain structure are extracted and extracted from each atom classified into the chain portion. The terminal atom pair having the largest number of bonds contained therein is selected from the pair of terminal atoms (S401).

【0061】図14に示すように、末端原子とは、鎖状
に結合された複数の原子の中で、鎖状構造の端部となる
原子a〜cをいう。また、末端原子対とは、これら末端
原子a〜cの組み合わせ(a,b)、(a,c)、
(b,c)をいう。ここでは、末端原子対(a,b)、
(a,c)、(b,c)の間に含まれる結合の数が、そ
れぞれ3,10,11である。従って、S401の処理
では、末端原子対(b,c)が選ばれる。
As shown in FIG. 14, the term “terminal atom” means, among a plurality of atoms bonded in a chain, atoms a to c that are the end of the chain structure. The term “terminal atom pair” means a combination of these terminal atoms a to c (a, b), (a, c),
Refers to (b, c). Here, the terminal atom pair (a, b),
The numbers of bonds included between (a, c) and (b, c) are 3, 10 and 11, respectively. Therefore, in the processing of S401, the terminal atom pair (b, c) is selected.

【0062】そして、選ばれた末端原子対の間の、各原
子の二次元座標を求める(S402)。図15に示すよ
うに、末端原子対(末端原子190と末端原子197と
の対)の間の各原子190〜197の二次元座標は、隣
接する結合種の組み合わせに応じた角度(例えば、3重
結合が隣接する場合、或いは、2重結合と2重結合とが
隣接する場合は、θ4 =180度とし、その他の場合
は、θ5 =120度とする。)を用い、さらに、原子間
の長さを一定値rとして、一方の末端原子190から、
他方の末端原子197に向けて、順番に求める。この二
次元座標の決定は、シス配向、トランス配向の指定を満
たすように(指定のない場合は、トランス配向とす
る。)、配慮して行う。シス配向、トランス配向の指定
の受け付けは、原子対データ抽出ルーチン12の処理の
中で、行っておくのがよい。
Then, the two-dimensional coordinates of each atom between the selected terminal atom pair are obtained (S402). As shown in FIG. 15, the two-dimensional coordinates of each atom 190 to 197 between the pair of terminal atoms (the pair of the terminal atom 190 and the terminal atom 197) have an angle (for example, 3 depending on the combination of adjacent bond species). When the heavy bonds are adjacent to each other, or when the double bond and the double bond are adjacent to each other, θ 4 = 180 degrees, and in other cases, θ 5 = 120 degrees) is used. From the one terminal atom 190, the length r is a constant value r,
The other terminal atom 197 is sequentially searched for. This two-dimensional coordinate is determined with consideration so as to satisfy the designation of the cis orientation and the trans orientation (trans orientation if not specified). It is preferable to accept the designation of the cis orientation or the trans orientation in the processing of the atom pair data extraction routine 12.

【0063】次に、二次元座標が求められていない末端
原子と、既に二次元座標が求められた原子(以下、分岐
点原子という。)の間の結合の数が、最も多い末端原子
を選び(S403)、この分岐点原子と末端原子との間
の各原子の二次元座標を求める(S404)。図16に
示すように、分岐点原子192と末端原子200との間
の各原子198〜200の二次元座標は、分岐点原子1
92に結合する原子の数に応じた分岐角度(例えば、3
原子結合ならθ6 =120度とし、4原子結合ならθ7
=90度とする(θ7 は図示せず)。)を用い、さら
に、原子間の長さを一定の値rとして、原子198から
末端原子200に向けて、順番に求める。S403で、
まだ選ばれていない原子がある場合には、S403に処
理を戻し、S403とS404の処理を繰り返す(S4
05)。S405の処理で、全ての原子の位置が求めら
れたと判断した場合に、鎖状部座標演算ルーチン13c
を終了して、メインルーチン11のS50に処理を戻
す。
Next, the terminal atom having the largest number of bonds between the terminal atom for which the two-dimensional coordinate has not been obtained and the atom for which the two-dimensional coordinate has already been obtained (hereinafter referred to as branch point atom) is selected. (S403), two-dimensional coordinates of each atom between the branch point atom and the terminal atom are obtained (S404). As shown in FIG. 16, the two-dimensional coordinates of the atoms 198 to 200 between the branch point atom 192 and the terminal atom 200 are the branch point atom 1
The branching angle depending on the number of atoms bonded to 92 (for example, 3
Θ 6 = 120 degrees for atomic bonds and θ 7 for 4 atomic bonds
= 90 degrees (θ 7 is not shown). ) Is used, and the length between the atoms is set to a constant value r, and the values are sequentially obtained from the atom 198 toward the terminal atom 200. In S403,
If there is an atom that has not been selected, the process returns to S403 and the processes of S403 and S404 are repeated (S4
05). In the processing of S405, when it is determined that the positions of all the atoms have been obtained, the chain portion coordinate calculation routine 13c
Is terminated and the process returns to S50 of the main routine 11.

【0064】次に、分子構造図作成ルーチン13dにつ
いて説明する。分子構造図作成ルーチン13dは、メイ
ンルーチン11のS60の処理によって呼び出されるサ
ブルーチンである。図17のフローチャートに示すよう
に、分子構造図作成ルーチン13dでは、まず、主記憶
装置50に記憶された結合表62の各データが読み出さ
れる(S601)。そして、読み出された二次元座標デ
ータ、元素名データ、結合原子対データ、及び結合種デ
ータに基づいて、分子構造図の画像データの作成が行わ
れる(S602)。
Next, the molecular structure diagram creation routine 13d will be described. The molecular structure diagram creation routine 13d is a subroutine called by the processing of S60 of the main routine 11. As shown in the flowchart of FIG. 17, in the molecular structure drawing creation routine 13d, first, each data of the binding table 62 stored in the main storage device 50 is read (S601). Then, based on the read two-dimensional coordinate data, element name data, bond atom pair data, and bond species data, image data of the molecular structure diagram is created (S602).

【0065】この画像データの作成は、次の手順で行わ
れる。まず、各原子の二次元座標データを画像データ上
にプロットする。次に、結合原子対データに基づいてプ
ロットされた各原子を、直線で接続する。そして、元素
名データに基づいて、各原子の二次元座標位置の側に元
素名を示す記号を記入する。さらに、結合種データに基
づいて、結合の種類を表現するために、原子間に複数
(単結合は1本、二重結合は2本など)の直線を作図す
る。
Creation of this image data is performed in the following procedure. First, the two-dimensional coordinate data of each atom is plotted on the image data. Next, each atom plotted based on the bond atom pair data is connected by a straight line. Then, based on the element name data, a symbol indicating the element name is entered on the side of the two-dimensional coordinate position of each atom. Further, based on the bond type data, a plurality of straight lines (one single bond, two double bonds, etc.) are drawn between the atoms in order to express the type of bond.

【0066】このようにして作成された分子構造図の画
像データ30aは、画像メモリ30に記憶される。そし
て、S602の処理終了後、分子構造図作成ルーチン1
3dを終了して、メインルーチン11のS70に処理を
戻す。
The image data 30a of the molecular structure diagram thus created is stored in the image memory 30. Then, after the processing of S602 ends, the molecular structure diagram creation routine 1
3d is ended, and the process is returned to S70 of the main routine 11.

【0067】次に、環鎖判定ルーチン13eについて説
明する。環鎖判定ルーチン13eは、分類ルーチン13
aのS201の処理によって呼び出されるサブルーチン
である。この環鎖判定ルーチン13eは、結合表62の
結合原子対データの中から選ばれた一つのデータ毎に実
行され、その選ばれた結合原子対データが環状部と鎖状
部のいずれに属しているかを判定するものである。
Next, the ring chain determination routine 13e will be described. The ring chain determination routine 13e is the classification routine 13
This is a subroutine called by the processing of S201 of a. The ring chain determination routine 13e is executed for each data selected from the bond atom pair data in the bond table 62, and the selected bond atom pair data belongs to either the ring portion or the chain portion. It is to determine whether there is.

【0068】図18のフローチャートに沿って説明すれ
ば、環鎖判定ルーチン13eは、まず、結合表62が備
える原子テーブル62aの全ての原子の属性の欄に、
“0”を書き込む(S2011)。そして、選ばれた判
定すべき結合原子対を構成する第1の原子の属性の欄に
“1”を、第2の原子の属性の欄に“2”を、それぞれ
書き込む(S2012)。次に、主記憶装置50内の確
保された所定の領域のフラグに“1”を立てる(S20
13)。さらに、フラグに“1”が立っているか判定を
行う(S2014)。S2014の処理で、フラグに
“1”が立っていないと判定された場合には、原子対テ
ーブル62bの構造の欄に、“鎖”を書き込む(S20
15)。
Explaining along the flowchart of FIG. 18, the ring chain determination routine 13e first sets the attributes of all atoms in the atom table 62a included in the bond table 62 in the column of attributes.
"0" is written (S2011). Then, "1" is written in the attribute column of the first atom constituting the selected bond atom pair to be determined, and "2" is written in the attribute column of the second atom (S2012). Next, "1" is set to the flag of the reserved predetermined area in the main storage device 50 (S20).
13). Further, it is determined whether "1" is set in the flag (S2014). When it is determined in the process of S2014 that "1" is not set in the flag, "chain" is written in the structure column of the atom pair table 62b (S20).
15).

【0069】また、S2014の処理で、フラグに
“1”が立っていると判定された場合には、フラグを
“0”にする(S2016)。そして、属性“1”の原
子に結合する原子(判定すべき結合原子対を構成する属
性“2”の原子を除く)をすべて抽出する(S201
7)。S2017の処理で、属性“1”の原子に結合す
る原子が抽出されない場合(NO)には、S2015の
処理を行う。また、S2017の処理で、属性“1”の
原子に結合する原子が抽出された場合(YES)には、
さらに、抽出されたそれぞれの原子について次の(1)
〜(4)の演算を繰り返す。
If it is determined in the process of S2014 that the flag is set to "1", the flag is set to "0" (S2016). Then, all the atoms (excluding the atom having the attribute "2" forming the bond atom pair to be determined) that are bonded to the atom having the attribute "1" are extracted (S201).
7). In the process of S2017, if the atom bonded to the atom of the attribute “1” is not extracted (NO), the process of S2015 is performed. In addition, in the process of S2017, when the atom that is bonded to the atom of the attribute “1” is extracted (YES),
Furthermore, for each extracted atom, the following (1)
The calculation of (4) is repeated.

【0070】(1) その原子の属性が“0”か判定を
行う(S2018)。
(1) It is determined whether the attribute of the atom is "0" (S2018).

【0071】(2) S2018の処理で、その原子の
属性が“0”の場合には、その原子の属性の欄に“1”
を書き込み、フラグを“1”とする(S2019)。
(2) If the attribute of the atom is "0" in the process of S2018, "1" is entered in the attribute column of the atom.
Is written and the flag is set to "1" (S2019).

【0072】(3) S2018の処理で、その原子の
属性が“0”でない場合には、その原子の属性が“1”
か判定を行う(S201A)。
(3) If the attribute of the atom is not "0" in the process of S2018, the attribute of the atom is "1".
It is determined (S201A).

【0073】(4) S2019の処理が終了した後、
あるいはS201Aの処理で属性が“1”であれば、処
理をS2018に戻して、残りの抽出された原子につい
て繰り返し、抽出された全ての原子について(1)〜
(3)の演算が終了した時には、処理をS2014に戻
す(S201B)。
(4) After the processing of S2019 is completed,
Alternatively, if the attribute is “1” in the process of S201A, the process is returned to S2018, the remaining extracted atoms are repeated, and (1) to
When the calculation of (3) is completed, the process is returned to S2014 (S201B).

【0074】抽出された全ての原子についての(1)〜
(3)のループ演算の途中のS201Aの処理で、その
原子の属性が“1”でない場合には(必然的に、原子の
属性は“2”である)、原子対テーブル62bの構造の
欄に“環”を書き込む(S201C)。さらに、S20
15またはS201Cの処理が終了した後に、残りの判
定すべき結合原子対を選んで、環鎖判定ルーチン13e
を繰り返し実行する。そして、すべての結合原子対につ
いての環鎖判定を終えた後に、環鎖判定ルーチン13e
を終了して、分類ルーチン13aのS202に処理を戻
す。
(1) for all the extracted atoms
In the process of S201A in the middle of the loop operation of (3), if the attribute of the atom is not “1” (inevitably, the attribute of the atom is “2”), the column of the structure of the atom pair table 62b. The "ring" is written in (S201C). Furthermore, S20
15 or after the processing of S201C is completed, the remaining bond atom pairs to be determined are selected, and the ring chain determination routine 13e is selected.
Is repeatedly executed. Then, after the ring chain determination for all bond atom pairs is completed, the ring chain determination routine 13e
Ends and the process returns to S202 of the classification routine 13a.

【0075】次に、環状部検出ルーチン13fについて
説明する。環状部検出ルーチン13fは、分類ルーチン
13aのS202の処理によって呼び出されるサブルー
チンである。図19のフローチャートに示すように、環
状部検出ルーチン13fは、まず、鎖状構造に属する原
子対からなる結合を除いた部分結合表を作成する(S2
021)。次に、この部分結合表の中から任意の原子を
選択する(S2022)。そして、選ばれた原子から、
結合原子対データによって与えられる結合に沿って、た
どれる原子を全て選択する(S2023)。
Next, the annular portion detection routine 13f will be described. The annular portion detection routine 13f is a subroutine called by the processing of S202 of the classification routine 13a. As shown in the flowchart of FIG. 19, the cyclic part detection routine 13f first creates a partial bond table excluding the bonds consisting of the atom pairs belonging to the chain structure (S2).
021). Next, an arbitrary atom is selected from this partial bond table (S2022). And from the selected atoms,
All the traceable atoms are selected along the bond given by the bond atom pair data (S2023).

【0076】このようにして選ばれた原子に、既に使わ
れている部分構造番号(もしあれば)とは異なる部分構
造番号を与える(S2024)。さらに、部分構造番号
が与えられていない原子が存在するか判定する(S20
25)。S2025で、部分構造番号が与えられていな
い原子が存在すると判定した場合には、部分構造番号が
与えられていない原子の中から任意の原子を選択して
(S2026)、S2023に処理を戻す。また、S2
025の処理で、全ての原子に既に部分構造番号が与え
られていたと判定した場合には、環状部検出ルーチン1
3fを終了して、分類ルーチン13aのS203に処理
を戻す。
The atom thus selected is given a partial structure number different from the partial structure number (if any) already used (S2024). Furthermore, it is determined whether there is an atom to which the partial structure number is not given (S20
25). If it is determined in S2025 that an atom having no partial structure number is present, an arbitrary atom is selected from the atoms having no partial structure number (S2026), and the process returns to S2023. Also, S2
In the processing of 025, when it is determined that the partial structure numbers have already been given to all the atoms, the ring portion detection routine 1
After 3f, the process returns to S203 of the classification routine 13a.

【0077】結局、化合物を環状部と鎖状部とに分類す
るにあたり、環状部検出ルーチン13fを実行すれば、
化合物の一つの環状部を、同じ部分構造番号を持つ原子
の集合としてコンピュータで認識することができる。ま
た、化合物に含まれる環状部の種類(数)は、部分構造
番号の種類に対応している。
After all, in classifying the compound into the ring portion and the chain portion, if the ring portion detection routine 13f is executed,
One ring part of a compound can be computer-recognized as a set of atoms having the same partial structure number. Further, the type (number) of the cyclic portion contained in the compound corresponds to the type of partial structure number.

【0078】次に、鎖状部検出ルーチン13gについて
説明する。鎖状部検出ルーチン13gは、分類ルーチン
13aのS203の処理によって呼び出されるサブルー
チンである。図20のフローチャートに示すように、鎖
状部検出ルーチン13gは、まず、環状構造に属する原
子対からなる結合を除いた部分結合表を作成する(S2
031)。次に、この部分結合表の中から任意の原子を
選択する(S2032)。そして、選ばれた原子から、
結合原子対データによって与えられる結合に沿って、た
どれる原子を全て選択する(S2033)。
Next, the chain portion detection routine 13g will be described. The chain portion detection routine 13g is a subroutine called by the processing of S203 of the classification routine 13a. As shown in the flowchart of FIG. 20, the chain portion detection routine 13g first creates a partial bond table excluding the bonds consisting of the atom pairs belonging to the cyclic structure (S2).
031). Next, an arbitrary atom is selected from this partial bond table (S2032). And from the selected atoms,
All the traceable atoms are selected along the bond given by the bond atom pair data (S2033).

【0079】このようにして選ばれた原子に、既に使わ
れている部分構造番号(もしあれば)とは異なる部分構
造番号を与える(S2034)。さらに、部分構造番号
が与えられていない原子が存在するか判定を行う(S2
035)。S2035で、部分構造番号が与えられてい
ない原子が存在すると判定した場合には、部分構造番号
が与えられていない原子の中から任意の原子を選択し
(S2036)、S2033に処理を戻す。また、S2
035の処理で、全ての原子に既に部分構造番号が与え
られていたと判定した場合には、鎖状部検出ルーチン1
3gを終了して、分類ルーチン13aのS203の終り
に処理を戻す。
A partial structure number different from the partial structure number (if any) already used is given to the atom thus selected (S2034). Furthermore, it is determined whether there is an atom to which the partial structure number is not given (S2
035). When it is determined in S2035 that there is an atom to which the partial structure number is not given, an arbitrary atom is selected from the atoms to which the partial structure number is not given (S2036), and the process is returned to S2033. Also, S2
In the processing of 035, when it is determined that the partial structure numbers have already been given to all the atoms, the chain portion detection routine 1
3g is ended, and the process is returned to the end of S203 of the classification routine 13a.

【0080】結局、化合物を環状部と鎖状部とに分類す
るにあたり、鎖状部検出ルーチン13gを実行すれば、
化合物の一つの鎖状部を、同じ部分構造番号を持つ原子
の集合としてコンピュータで認識することができる。ま
た、化合物に含まれる鎖状部の種類(数)は、部分構造
番号の種類に対応している。
After all, in classifying the compound into the cyclic portion and the chain portion, if the chain portion detection routine 13g is executed,
One chain of a compound can be computer-recognized as a set of atoms having the same partial structure number. Further, the type (number) of chain-like portions contained in the compound corresponds to the type of partial structure number.

【0081】次に、メインルーチン11のS70の処理
によって、ディスプレイ70に表示される画像データ3
0a,30bの例を、図21(a)および図21(b)
に示す。図21(a)及び図21(b)の縮合環は、S
10の処理で受け付けられた結合原子対データが、縮合
環のみからなる化合物のデータであって、縮合環を構成
するすべての原子と結合を表現するのに必要最小限な最
小環員数の環の集合が1つの5員環と1つの6員環のみ
からなっており、且つ該5員環と該6員環とが3個の原
子を共有して縮合している縮合環についてのデータであ
る場合の表示例である。画像データ30aは、正6角形
として優先的に描かれた6員環に5員環が縮合している
として作成された分子構造図、画像データ30bは、正
5角形として優先的に描かれた5員環に6員環が縮合し
ているとして作成された分子構造図である。
Next, the image data 3 displayed on the display 70 by the processing of S70 of the main routine 11.
Examples of 0a and 30b are shown in FIGS. 21 (a) and 21 (b).
Shown in The fused ring in FIGS. 21 (a) and 21 (b) is S
The bond atom pair data accepted in the processing of 10 is the data of the compound consisting of only the condensed ring, and is the minimum number of ring members necessary for expressing all the atoms and bonds constituting the condensed ring. The data is for a condensed ring in which the set consists of only one 5-membered ring and one 6-membered ring, and the 5-membered ring and the 6-membered ring are condensed by sharing three atoms. It is a display example in the case. The image data 30a is a molecular structure diagram created by condensing a 5-membered ring to a 6-membered ring preferentially drawn as a regular hexagon, and the image data 30b is preferentially drawn as a regular pentagon. It is a molecular structure figure created as a 6-membered ring condensed to a 5-membered ring.

【0082】これらのデータにおいても、S307とS
309の処理で全ての結合の長さを一定の値rとして演
算しているので、画像データ30a,30bに示す分子
構造図の各結合の長さは全て等しくなる。このように、
分子構造図の各結合の長さを一定の値rに統一して演算
しているので、演算処理が高速化されると共に、演算プ
ログラムのステップ数が減少する。
Also in these data, S307 and S307
Since all bond lengths are calculated with a constant value r in the processing of 309, the bond lengths of the molecular structure diagrams shown in the image data 30a and 30b are all equal. in this way,
Since the length of each bond in the molecular structure diagram is unified to a constant value r for calculation, the calculation process is speeded up and the number of steps of the calculation program is reduced.

【0083】以上のことより、分子構造図表示用記憶媒
体1に格納された分子構造図表示プログラム10は、複
雑な構造の分子構造図を高速で、且つきれいに作成して
表示させるのに最適である。
From the above, the molecular structure diagram display program 10 stored in the molecular structure diagram display storage medium 1 is optimal for creating and displaying a molecular structure diagram of a complicated structure at high speed and neatly. is there.

【0084】なお、本発明は上記実施例に限定されるこ
となく、種々の変形が可能である。例えば、原子の近接
や交差がある場合に、シス配向、トランス配向の指定の
ない鎖状部に含まれる結合については、シス配向からト
ランス配向、或いはトランス配向からシス配向の変更を
行い、近接や交差を避ける処理を付け加えてもよい。ま
た、慣用的に配向が決まった分子構造を含む場合は、そ
れに合うように、分子構造図全体の配向を変更してもよ
い。このように、慣用的に配向が決まった分子には、ス
テロイドやビタミンや糖などがある。
The present invention is not limited to the above embodiment, but various modifications can be made. For example, when atoms are close to each other or intersect with each other, the bond included in the chain portion for which cis orientation or trans orientation is not specified is changed from cis orientation to trans orientation or from trans orientation to cis orientation, and the You may add the processing which avoids an intersection. In addition, when a molecular structure whose orientation is conventionally determined is included, the orientation of the entire molecular structure diagram may be changed to match it. As such, conventionally oriented molecules include steroids, vitamins and sugars.

【0085】[0085]

【発明の効果】以上詳細に説明したように、本発明の第
1の分子構造図表示用記憶媒体であれば、プログラムエ
リアに格納された分子構造図表示プログラムの実行によ
って、分子構造図を自動生成することができる。すなわ
ち、化合物を構成する各原子の結合関係を示す結合原子
対データが原子対データ抽出ルーチンで抽出され、この
結合原子対データに基づいて、化合物の分子構造図が分
子構造図作成ルーチンで作成される。
As described in detail above, the first storage medium for displaying a molecular structure diagram of the present invention automatically executes the molecular structure diagram by executing the molecular structure diagram display program stored in the program area. Can be generated. That is, the bond atom pair data showing the bond relation of each atom constituting the compound is extracted by the atom pair data extraction routine, and the molecular structure diagram of the compound is created by the molecular structure diagram creation routine based on the bond atom pair data. It

【0086】特に、結合原子対データが、縮合環のみか
らなる化合物のデータであって、縮合環を構成するすべ
ての原子と結合を表現するのに必要最小限な最小環員数
の環の集合が1つの5員環と1つの6員環のみからな
り、且つ5員環と6員環とが3個の原子を共有して縮合
している場合には、全ての結合の長さが同一となるよう
に作成される。そして、分子構造図作成ルーチンで作成
された化合物の分子構造図が分子構造図表示ルーチンに
よってディスプレイに表示されるのである。
In particular, the bond atom pair data is data of a compound consisting of only condensed rings, and the set of rings having the minimum number of ring members necessary for expressing all atoms and bonds constituting the condensed ring is When the ring consists of only one 5-membered ring and one 6-membered ring and the 5-membered ring and the 6-membered ring share three atoms and are condensed, all the bond lengths are the same. Will be created. Then, the molecular structure diagram of the compound created in the molecular structure diagram creating routine is displayed on the display by the molecular structure diagram displaying routine.

【0087】このように、分子構造図作成ルーチンで
は、全ての結合の長さを同一として演算しているので、
プログラムのサイズ或いは必要データ量を大きくするこ
となく、高速に分子構造図を作成することができる。
As described above, in the molecular structure drawing creation routine, all bond lengths are calculated to be the same.
A molecular structure diagram can be created at high speed without increasing the size of the program or the amount of data required.

【0088】また、本発明の第2の分子構造図表示用記
憶媒体であれば、プログラムエリアに格納された分子構
造図表示プログラムの実行によって、分子構造図を自動
生成することができる。すなわち、化合物を構成する各
原子の結合関係を示す結合原子対データが原子対データ
抽出ルーチンで抽出され、この結合原子対データに基づ
いて、化合物の分子構造図が分子構造図作成ルーチンで
作成される。特に、結合原子対データが、各原子から延
びる結合の本数がいずれも3本以下の縮合環についての
データである場合には、全ての結合の長さが同一となる
ように作成される。そして、分子構造図作成ルーチンで
作成された化合物の分子構造図が分子構造図表示ルーチ
ンによってディスプレイに表示される。
With the second storage medium for displaying a molecular structure diagram of the present invention, the molecular structure diagram can be automatically generated by executing the molecular structure diagram display program stored in the program area. That is, the bond atom pair data showing the bond relation of each atom constituting the compound is extracted by the atom pair data extraction routine, and the molecular structure diagram of the compound is created by the molecular structure diagram creation routine based on the bond atom pair data. It In particular, when the bond atom pair data is data for a condensed ring in which the number of bonds extending from each atom is 3 or less, all bond lengths are created to be the same. Then, the molecular structure diagram of the compound created by the molecular structure diagram creation routine is displayed on the display by the molecular structure view display routine.

【0089】このように、分子構造図作成ルーチンで
は、全ての結合の長さを同一として演算しているので、
プログラムのサイズ或いは必要データ量を大きくするこ
となく、高速に分子構造図を作成することができる。
As described above, in the molecular structure drawing creation routine, since all bond lengths are calculated to be the same,
A molecular structure diagram can be created at high speed without increasing the size of the program or the amount of data required.

【0090】さらに、本発明の第3の分子構造図表示用
記憶媒体であれば、プログラムエリアに格納された分子
構造図表示プログラムの実行によって、分子構造図を自
動生成することができる。すなわち、化合物を構成する
各原子の結合関係を示す結合原子対データが原子対デー
タ抽出ルーチンで抽出され、この結合原子対データに基
づいて、化合物の分子構造図が分子構造図作成ルーチン
で作成される。特に、結合原子対データが、縮合環のみ
からなる化合物のデータであって、縮合環を構成するす
べての原子と結合を表現するのに必要最小限な最小環員
数の環の集合に含まれる環の組合せにおいて、任意の一
対の環が3個以上の原子を共有して互いに縮合している
場合には、一対の環における各結合を、原子が一対の環
で共有されている結合Aと共有されていない結合Bとに
分けて、結合Bの長さと結合B間の角度とが環ごとにそ
れぞれ等しくなるように分子構造図が作成される。そし
て、分子構造図作成ルーチンで作成された化合物の分子
構造図が分子構造図表示ルーチンによってディスプレイ
に表示される。
Further, with the third storage medium for molecular structure diagram display of the present invention, the molecular structure diagram can be automatically generated by executing the molecular structure diagram display program stored in the program area. That is, the bond atom pair data showing the bond relation of each atom constituting the compound is extracted by the atom pair data extraction routine, and the molecular structure diagram of the compound is created by the molecular structure diagram creation routine based on the bond atom pair data. It In particular, the bond atom pair data is data for a compound consisting of only condensed rings, and the rings included in the set of rings having the minimum number of ring members necessary for expressing all atoms and bonds forming the condensed ring. In the combination of, when any pair of rings share three or more atoms and are condensed with each other, each bond in the pair of rings is shared with the bond A in which the atoms are shared by the pair of rings. The molecular structure diagram is prepared so that the length of the bond B and the angle between the bonds B are the same for each ring. Then, the molecular structure diagram of the compound created by the molecular structure diagram creation routine is displayed on the display by the molecular structure view display routine.

【0091】このように、分子構造図作成ルーチンで
は、互いに縮合している一対の環において、原子が一対
の環で共有されていない結合の長さと結合間の角度とを
環ごとに同一として演算しているので、対称性の高い分
子構造図を高速に作成することができる。
As described above, in the molecular structure drawing routine, in a pair of rings that are condensed with each other, the bond length and the angle between the bonds whose atoms are not shared by the pair of rings are calculated to be the same for each ring. Therefore, a molecular structure diagram with high symmetry can be created at high speed.

【0092】本発明の第1〜第3の分子構造図表示用記
憶媒体を用いれば、大量の結合表データの集積が容易で
あり、そのため、本発明は化合物構造データベースの構
築に有用に用いられる。なぜならば、本発明によれば、
手書きによるラフな分子構造図であっても、高速度で、
正確且つきれいな整形処理が行われて、自動的に結合表
が作成されるからである。また、結合表の直接入力を行
えば、さらに大量のデータ集積が可能である。
The use of the first to third molecular structure diagram display storage media of the present invention makes it easy to accumulate a large amount of binding table data. Therefore, the present invention is useful for constructing a compound structure database. . Because, according to the present invention,
Even with a rough handwritten molecular structure diagram, at high speed,
This is because an accurate and clean shaping process is performed and a join table is automatically created. Further, if the join table is directly input, a larger amount of data can be accumulated.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の実施形態に係る分子構造図表示用記憶
媒体のデータ構成を示すブロック図である。
FIG. 1 is a block diagram showing a data structure of a storage medium for displaying a molecular structure diagram according to an embodiment of the present invention.

【図2】情報処理装置の構成を示すブロック図である。FIG. 2 is a block diagram showing a configuration of an information processing device.

【図3】結合表の構成を示す図である。FIG. 3 is a diagram showing a structure of a connection table.

【図4】分子構造図表示プログラムの処理の概略を示す
図である。
FIG. 4 is a diagram showing an outline of processing of a molecular structure diagram display program.

【図5】メインルーチンの処理の流れを示すフローチャ
ートである。
FIG. 5 is a flowchart showing a flow of processing of a main routine.

【図6】(a)〜(c)は、環状部と鎖状部とを結合す
る方法を示す図である。
6 (a) to 6 (c) are diagrams showing a method of connecting a ring portion and a chain portion.

【図7】原子対データ抽出ルーチンの処理の流れを示す
フローチャートである。
FIG. 7 is a flowchart showing a processing flow of an atom pair data extraction routine.

【図8】分類ルーチンの処理の流れを示すフローチャー
トである。
FIG. 8 is a flowchart showing a processing flow of a classification routine.

【図9】各結合原子対データを環状部と鎖状部とに分類
した状態を示す図である。
FIG. 9 is a diagram showing a state in which each bond atom pair data is classified into a ring portion and a chain portion.

【図10】環状部座標演算ルーチンの処理の流れを示す
フローチャートである。
FIG. 10 is a flowchart showing a processing flow of an annular portion coordinate calculation routine.

【図11】(a)(b)は、排他的論理和法により縮合
環を複数に単環に分割した状態を示す図である。
11 (a) and (b) are diagrams showing a state in which a condensed ring is divided into a plurality of single rings by an exclusive OR method.

【図12】特定の単環に縮合する単環を構成する各原子
の二次元座標を示す図である。
FIG. 12 is a diagram showing the two-dimensional coordinates of each atom constituting a monocycle fused to a specific monocycle.

【図13】鎖状部座標演算ルーチンの処理の流れを示す
フローチャートである。
FIG. 13 is a flowchart showing a processing flow of a chain portion coordinate calculation routine.

【図14】鎖状構造の端部となる末端原子対を示す図で
ある。
FIG. 14 is a diagram showing a pair of terminal atoms that are the ends of a chain structure.

【図15】鎖状部を構成する各原子の二次元座標を示す
図である。
FIG. 15 is a diagram showing two-dimensional coordinates of each atom forming a chain portion.

【図16】鎖状部を構成する各原子の二次元座標を示す
図である。
FIG. 16 is a diagram showing two-dimensional coordinates of each atom forming a chain portion.

【図17】分子構造図作成ルーチンの処理の流れを示す
フローチャートである。
FIG. 17 is a flowchart showing a processing flow of a molecular structure diagram creation routine.

【図18】環鎖判定ルーチンの処理の流れを示すフロー
チャートである。
FIG. 18 is a flowchart showing a processing flow of a ring chain determination routine.

【図19】環状部検出ルーチンの処理の流れを示すフロ
ーチャートである。
FIG. 19 is a flowchart showing a processing flow of an annular portion detection routine.

【図20】鎖状部検出ルーチンの処理の流れを示すフロ
ーチャートである。
FIG. 20 is a flowchart showing a processing flow of a chain portion detection routine.

【図21】(a)(b)は、ディスプレイに表示される
画像データの例を示す図である。
21A and 21B are diagrams showing examples of image data displayed on a display.

【符号の説明】[Explanation of symbols]

1…分子構造図表示用記憶媒体、10…分子構造図表示
プログラム、11…メインルーチン、12…原子対デー
タ抽出ルーチン、13…分子構造図作成ルーチン、13
a…分類ルーチン、13b…環状部座標演算ルーチン、
13c…鎖状部座標演算ルーチン、13d…分子構造図
作成ルーチン、13e…環鎖判定ルーチン、13f…環
状部検出ルーチン、13g…鎖状部検出ルーチン、14
…分子構造図表示ルーチン、20…情報処理装置、30
…画像メモリ、31…作業用メモリ、40…記憶媒体読
取器、50…主記憶装置、51…オペレーティングシス
テム、60…ハードディスク装置、61…結合表ファイ
ル、70…ディスプレイ、71…マウス、72…キーボ
ード、73…プリンタ、80…CPU、A…プログラム
エリア、B…ヘッダエリア。
1 ... Molecular structure diagram display storage medium, 10 ... Molecular structure diagram display program, 11 ... Main routine, 12 ... Atomic pair data extraction routine, 13 ... Molecular structure diagram creation routine, 13
a ... Classification routine, 13b ... Annular portion coordinate calculation routine,
13c ... Chain portion coordinate calculation routine, 13d ... Molecular structure diagram creation routine, 13e ... Ring chain determination routine, 13f ... Ring portion detection routine, 13g ... Chain portion detection routine, 14
... Molecular structure diagram display routine, 20 ... Information processing device, 30
... image memory, 31 ... working memory, 40 ... storage medium reader, 50 ... main storage device, 51 ... operating system, 60 ... hard disk device, 61 ... combination table file, 70 ... display, 71 ... mouse, 72 ... keyboard , 73 ... Printer, 80 ... CPU, A ... Program area, B ... Header area.

─────────────────────────────────────────────────────
────────────────────────────────────────────────── ───

【手続補正書】[Procedure amendment]

【提出日】平成8年3月6日[Submission date] March 6, 1996

【手続補正1】[Procedure amendment 1]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0029[Name of item to be corrected] 0029

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0029】次に、鎖状部を構成する結合原子対データ
に基づいて、鎖状部の各原子の二次元座標を計算する
(S40)。この計算は、鎖状部座標演算ルーチン13
cを呼び出して行う。そして、鎖状部を移動・回転させ
て、環状部と鎖状部とを結合させる(S50)。具体的
には、図6(a)〜図6(c)に示すように、環状部1
18の所定の結合119と鎖状部110の所定の結合1
11とが一致するように、S40の処理で求めた鎖状部
110の各原子の二次元座標データを座標変換して行
う。特に、結合部分の原子112から延びる各結合11
1,113,114の分岐角度θ1 〜θ3 が等しくなる
(θ1 =θ2 =θ3 )ように調整しながら、鎖状部11
0を回転させる。
Next, the two-dimensional coordinates of each atom in the chain portion are calculated based on the bond atom pair data forming the chain portion (S40). This calculation is performed by the chain coordinate calculation routine 13
Call c. Then, the chain portion is moved / rotated to couple the annular portion and the chain portion (S50). Specifically, as shown in FIGS. 6A to 6C, the annular portion 1
18 predetermined bonds 119 and chain 110 predetermined bonds 1
The coordinate conversion is performed on the two-dimensional coordinate data of each atom of the chain portion 110 obtained by the processing of S40 so that 11 and 11 are matched. In particular, each bond 11 extending from the atom 112 of the bond
While adjusting so that the branch angles θ 1 to θ 3 of 1, 113 and 114 are equal (θ 1 = θ 2 = θ 3 ), the chain portion 11
Rotate 0.

【手続補正2】[Procedure amendment 2]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0034[Correction target item name] 0034

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0034】入力された原子についてのデータに対応さ
せて(例えば原子の入力順に1,2,3,…というよう
に)、原子テーブル62aの原子の番号の欄に原子の番
号が書き込まれる。また、入力された原子の結合関係に
ついてのデータは、原子対テーブル62bの結合原子対
の欄に書き込まれる。さらに、操作者が各原子の元素名
を入力した場合には、原子テーブル62aの元素名の欄
に元素名が書き込まれる。同様に、操作者が結合原子対
を結ぶ結合の多重度を入力した場合には、原子対テーブ
ル62bの結合種の欄に結合の多重度が書き込まれる。
The atom number is written in the atom number column of the atom table 62a in correspondence with the data about the input atom (for example, 1, 2, 3, ... In the input order of the atom). Further, the input data regarding the bond relation of the atoms is written in the column of the bond atom pair of the atom pair table 62b. Furthermore, when the operator inputs the element name of each atom, the element name is written in the element name column of the atom table 62a. Similarly, when the operator inputs the bond multiplicity connecting the bond atom pairs, the bond multiplicity is written in the bond type column of the atom pair table 62b.

【手続補正3】[Procedure 3]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0057[Name of item to be corrected] 0057

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0057】S308の処理で、SSSRを構成する全
ての環の二次元座標が既に求められたと判断した場合、
及びS302の処理が終了した場合に、環状部座標演算
ルーチン13bを終了して、メインルーチン11のS4
0に処理を戻す。
When it is determined in the processing of S308 that the two-dimensional coordinates of all the rings forming the SSSR have already been obtained,
And when the processing of S302 ends, the annular portion coordinate calculation routine 13b ends and S4 of the main routine 11 ends.
Return processing to 0.

【手続補正4】[Procedure amendment 4]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0063[Correction target item name] 0063

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0063】次に、二次元座標が求められていない末端
原子と、既に二次元座標が求められた原子(以下、分岐
点原子という。)の間の結合の数が、最も多い末端原子
を選び(S403)、この分岐点原子と末端原子との間
の各原子の二次元座標を求める(S404)。図16に
示すように、分岐点原子192と末端原子200との間
の各原子198〜200の二次元座標は、分岐点原子1
92に結合する原子の数に応じた分岐角度(例えば、3
原子結合ならθ6 =120度とし、4原子結合ならθ7
=90度とする(θ7 は図示せず)。)を用い、さら
に、原子間の長さを一定の値rとして、原子198から
末端原子200に向けて、順番に求める。次にS405
の処理を行い、まだ選ばれていない原子がある場合に
は、S403に処理を戻し、S403とS404の処理
を繰り返す。S405の処理で、全ての原子の位置が求
められたと判断した場合に、鎖状部座標演算ルーチン1
3cを終了して、メインルーチン11のS50に処理を
戻す。
Next, the terminal atom having the largest number of bonds between the terminal atom for which the two-dimensional coordinate has not been obtained and the atom for which the two-dimensional coordinate has already been obtained (hereinafter referred to as branch point atom) is selected. (S403), two-dimensional coordinates of each atom between the branch point atom and the terminal atom are obtained (S404). As shown in FIG. 16, the two-dimensional coordinates of the atoms 198 to 200 between the branch point atom 192 and the terminal atom 200 are the branch point atom 1
The branching angle depending on the number of atoms bonded to 92 (for example, 3
Θ 6 = 120 degrees for atomic bonds and θ 7 for 4 atomic bonds
= 90 degrees (θ 7 is not shown). ) Is used, and the length between the atoms is set to a constant value r, and the values are sequentially obtained from the atom 198 toward the terminal atom 200. Then S405
If there is an atom that has not been selected, the process returns to S403 and the processes of S403 and S404 are repeated. In the processing of S405, when it is determined that the positions of all atoms have been obtained, the chain portion coordinate calculation routine 1
3c is ended, and the process is returned to S50 of the main routine 11.

【手続補正5】[Procedure Amendment 5]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0065[Correction target item name] 0065

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0065】この画像データの作成は、次の手順で行わ
れる。まず、各原子の二次元座標データを二次元画面上
にプロットする。次に、結合原子対データに基づいてプ
ロットされた各原子を、直線で接続する。そして、元素
名データに基づいて、各原子の二次元座標位置の側に元
素名を示す記号を記入する。さらに、結合種データに基
づいて、結合を表現する原子間の直線を結合の多重度と
同じ本数(単結合は1本、2重結合は2本など)にす
る。
Creation of this image data is performed in the following procedure. First, the two-dimensional coordinate data of each atom is plotted on a two-dimensional screen. Next, each atom plotted based on the bond atom pair data is connected by a straight line. Then, based on the element name data, a symbol indicating the element name is entered on the side of the two-dimensional coordinate position of each atom. Further, based on the bond species data, the number of straight lines between atoms expressing bonds is equal to the multiplicity of bonds (one for single bond, two for double bond, etc.).

【手続補正6】[Procedure correction 6]

【補正対象書類名】図面[Document name to be amended] Drawing

【補正対象項目名】図6[Correction target item name] Fig. 6

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【図6】 FIG. 6

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 プログラムを格納するプログラムエリア
を有し、所定の情報処理装置を用いて前記プログラムエ
リアに格納された前記プログラムを読み取ることによ
り、前記プログラムを前記情報処理装置で実行させるこ
とのできる記憶媒体であって、 前記プログラムエリアには、 化合物を構成する各原子の結合関係を示す結合原子対デ
ータを抽出する原子対データ抽出ルーチンと、 前記原子対データ抽出ルーチンで抽出された前記結合原
子対データに基づいて、前記化合物の分子構造図を作成
する分子構造図作成ルーチンと、 前記分子構造図作成ルーチンで作成された前記化合物の
分子構造図を前記情報処理装置のディスプレイに表示さ
せる分子構造図表示ルーチンと、を有する分子構造図表
示プログラムが格納され、 前記分子構造図作成ルーチンでは、前記原子対データ抽
出ルーチンで抽出された前記結合原子対データが、縮合
環のみからなる化合物のデータであって、該縮合環を構
成するすべての原子と結合を表現するのに必要最小限な
最小環員数の環の集合が1つの5員環と1つの6員環の
みからなり、且つ該5員環と該6員環とが3個の原子を
共有して縮合している場合には、全ての結合の長さが同
一となるように前記化合物の分子構造図を作成している
ことを特徴とする分子構造図表示用記憶媒体。
1. A program area for storing a program is provided, and the program can be executed by the information processing apparatus by reading the program stored in the program area using a predetermined information processing apparatus. A storage medium, in the program area, an atom pair data extraction routine for extracting bond atom pair data indicating a bond relationship between atoms constituting a compound, and the bond atom extracted by the atom pair data extraction routine. A molecular structure diagram creation routine that creates a molecular structure diagram of the compound based on the paired data, and a molecular structure that displays the molecular structure diagram of the compound created by the molecular structure diagram creation routine on the display of the information processing device. A molecular structure diagram display program having a diagram display routine is stored. In the routine, the bond atom pair data extracted in the atom pair data extraction routine is data of a compound consisting of only a condensed ring, and is the minimum necessary to express bonds with all atoms constituting the condensed ring. A ring having a minimum number of ring members is composed of only one 5-membered ring and one 6-membered ring, and the 5-membered ring and the 6-membered ring are condensed by sharing 3 atoms. In the storage medium for displaying a molecular structure diagram, the molecular structure diagram of the compound is prepared so that all the bonds have the same length.
【請求項2】 プログラムを格納するプログラムエリア
を有し、所定の情報処理装置を用いて前記プログラムエ
リアに格納された前記プログラムを読み取ることによ
り、前記プログラムを前記情報処理装置で実行させるこ
とのできる記憶媒体であって、 前記プログラムエリアには、 化合物を構成する各原子の結合関係を示す結合原子対デ
ータを抽出する原子対データ抽出ルーチンと、 前記原子対データ抽出ルーチンで抽出された前記結合原
子対データに基づいて、前記化合物の分子構造図を作成
する分子構造図作成ルーチンと、 前記分子構造図作成ルーチンで作成された前記化合物の
分子構造図を前記情報処理装置のディスプレイに表示さ
せる分子構造図表示ルーチンと、を有する分子構造図表
示プログラムが格納され、 前記分子構造図作成ルーチンでは、前記原子対データ抽
出ルーチンで抽出された前記結合原子対データが、いず
れの原子から延びる結合の本数も3本以下である縮合環
についてのデータである場合には、全ての結合の長さが
同一となるように前記化合物の分子構造図を作成してい
ることを特徴とする分子構造図表示用記憶媒体。
2. A program area for storing the program is provided, and the program can be executed by the information processing apparatus by reading the program stored in the program area using a predetermined information processing apparatus. A storage medium, in the program area, an atom pair data extraction routine for extracting bond atom pair data indicating a bond relationship between atoms constituting a compound, and the bond atom extracted by the atom pair data extraction routine. A molecular structure diagram creation routine that creates a molecular structure diagram of the compound based on the paired data, and a molecular structure that displays the molecular structure diagram of the compound created by the molecular structure diagram creation routine on the display of the information processing device. A molecular structure diagram display program having a diagram display routine is stored. In the routine, if the bond atom pair data extracted by the atom pair data extraction routine is data for a condensed ring in which the number of bonds extending from any atom is 3 or less, the lengths of all bonds are A storage medium for displaying a molecular structure diagram, characterized in that the molecular structure diagram of the compound is created so that the compounds have the same size.
【請求項3】 プログラムを格納するプログラムエリア
を有し、所定の情報処理装置を用いて前記プログラムエ
リアに格納された前記プログラムを読み取ることによ
り、前記プログラムを前記情報処理装置で実行させるこ
とのできる記憶媒体であって、 前記プログラムエリアには、 化合物を構成する各原子の結合関係を示す結合原子対デ
ータを抽出する原子対データ抽出ルーチンと、 前記原子対データ抽出ルーチンで抽出された前記結合原
子対データに基づいて、前記化合物の分子構造図を作成
する分子構造図作成ルーチンと、 前記分子構造図作成ルーチンで作成された前記化合物の
分子構造図を前記情報処理装置のディスプレイに表示さ
せる分子構造図表示ルーチンと、を有する分子構造図表
示プログラムが格納され、 前記分子構造図作成ルーチンでは、前記原子対データ抽
出ルーチンで抽出された前記結合原子対データが、縮合
環のみからなる化合物のデータであって、該縮合環を構
成するすべての原子と結合を表現するのに必要最小限な
最小環員数の環の集合に含まれる環の組合せにおいて、
任意の一対の環が3個以上の原子を共有して互いに縮合
している場合には、該一対の環における各結合を、原子
が一対の環で共有されている結合Aと共有されていない
結合Bとに分けて、結合Bの長さと結合B間の角度とが
環ごとにそれぞれ等しくなるように前記化合物の分子構
造図を作成していることを特徴とする分子構造図表示用
記憶媒体。
3. A program area for storing the program is provided, and by reading the program stored in the program area using a predetermined information processing apparatus, the program can be executed by the information processing apparatus. A storage medium, in the program area, an atom pair data extraction routine for extracting bond atom pair data indicating a bond relationship between atoms constituting a compound, and the bond atom extracted by the atom pair data extraction routine. A molecular structure diagram creation routine that creates a molecular structure diagram of the compound based on the paired data, and a molecular structure that displays the molecular structure diagram of the compound created by the molecular structure diagram creation routine on the display of the information processing device. A molecular structure diagram display program having a diagram display routine is stored. In the routine, the bond atom pair data extracted in the atom pair data extraction routine is data of a compound consisting of only a condensed ring, and is the minimum necessary to express bonds with all atoms constituting the condensed ring. In the combination of rings included in the set of rings with the minimum number of ring members,
When any pair of rings are fused with each other by sharing three or more atoms, each bond in the pair of rings is not shared with the bond A in which the atom is shared by the pair of rings. A storage medium for displaying a molecular structure diagram, characterized in that a molecular structure diagram of the compound is prepared so that the length of the bond B and the angle between the bonds B are equal for each ring. .
JP7296874A 1995-06-22 1995-11-15 Storage medium for molecule structure figure display Withdrawn JPH09138811A (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP7296874A JPH09138811A (en) 1995-11-15 1995-11-15 Storage medium for molecule structure figure display
CA002224240A CA2224240A1 (en) 1995-06-22 1996-05-24 Producing apparatus, producing method and storage medium for production, of molecular structural diagram
US08/981,311 US6073080A (en) 1995-06-22 1996-05-24 Computer system and method for production of molecular structure diagram
EP96914429A EP0851370A4 (en) 1995-06-22 1996-05-24 EQUIPMENT FOR PRODUCING MOLECULAR STRUCTURE REPRESENTATIONS, METHOD FOR PRODUCING THE SAME, AND STORAGE MEDIUM FOR SAID REPRESENTATION
PCT/JP1996/001393 WO1997001144A1 (en) 1995-06-22 1996-05-24 Apparatus for preparing molecular structure diagram, method for preparation, and storage medium for preparation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7296874A JPH09138811A (en) 1995-11-15 1995-11-15 Storage medium for molecule structure figure display

Publications (1)

Publication Number Publication Date
JPH09138811A true JPH09138811A (en) 1997-05-27

Family

ID=17839292

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7296874A Withdrawn JPH09138811A (en) 1995-06-22 1995-11-15 Storage medium for molecule structure figure display

Country Status (1)

Country Link
JP (1) JPH09138811A (en)

Similar Documents

Publication Publication Date Title
Schulz et al. Visualizing graphs-a generalized view
JP3974196B2 (en) Object-oriented graphic input and display system
JPH09282330A (en) Database creation method
JPH05135121A (en) Diagram recognition system
Chen et al. Visanatomy: An svg chart corpus with fine-grained semantic labels
Gold Three approaches to automated topology, and how computational geometry helps
JP2001014338A (en) Method and system for graphic data management, and storage medium
JPH09138811A (en) Storage medium for molecule structure figure display
JP2878623B2 (en) How to create a molecular structure diagram
JP2878624B2 (en) Display device and display method of molecular structure diagram
US6073080A (en) Computer system and method for production of molecular structure diagram
JPH09244834A (en) Storage medium for displaying molecule structure figure
Richardson et al. Computational processes for map generalization
JPH09138819A (en) Storage medium for molecule structure figure generation
JPH09245148A (en) Method and device for displaying molecular structure chart
JP4114407B2 (en) Relationship display device
JP4585742B2 (en) Image display device, image display method, program, and recording medium
Aeschlimann et al. Drawing orders using less ink
JPH07225851A (en) Graphic character processor
US10877948B1 (en) Method and computer program product for geospatial binning
JP3973868B2 (en) Parametric modeling system
JPH05120358A (en) Picture information processing system
Gray Novel Techniques for Visualization of Graphs and Trees
Shi et al. PiCCL: Data-Driven Composition of Bespoke Pictorial Charts
CN119720304A (en) Automating Mechanical Drawing Workflows with Geometry Quantization

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20030204