my-server
← Wiki Redirected from Molfile

Chemical table file

Chemical table file (CT file) is a family of text-based chemical file formats that describe molecules and chemical reactions. One format, for example, lists each atom in a molecule, the x-y-z coordinates of that atom, and the bonds among the atoms.

The formats were created by MDL Information Systems (MDL), which was acquired by Symyx Technologies then merged with Accelrys Corp., and now called BIOVIA, a subsidiary of Dassault Systèmes of Dassault Group.

The CT file is an open format. BIOVIA publishes its specification. BIOVIA requires users to register to download the CT file format specifications.

Molfile

An MDL Molfile is a file format for holding information about the atoms, bonds, connectivity and coordinates of a molecule.

The molfile consists of some header information, the Connection Table (CT) containing atom info, then bond connections and types, followed by sections for more complex information.

The molfile is sufficiently common that most, if not all, cheminformatics software systems/applications are able to read the format, though not always to the same degree. It is also supported by some computational software such as Mathematica.

V2000

The current de facto standard version is molfile V2000, although, more recently, the V3000 format has been circulating widely enough to present a potential compatibility issue for those applications that are not yet V3000-capable.

Counts line block specification

Bond block specification

The Bond Block is made up of bond lines, one line per bond, with the following format:

111 222 ttt sss xxx rrr ccc

where the values are described in the following table:

V3000

The extended (V3000) molfile consists of a regular molfile “no structure” followed by a single molfile appendix that contains the body of the connection table (Ctab). The following figure shows both an alanine structure and the extended molfile corresponding to it.

Note that the “no structure” is flagged with the “V3000” instead of the “V2000” version stamp. There are two other changes to the header in addition to the version:

  • The number of appendix lines is always written as 999, regardless of how many there actually are. (All current readers will disregard the count and stop at M END.)
  • The “dimensional code” is maintained more explicitly. Thus “3D” really means 3D, although “2D” will be interpreted as 3D if any non-zero Z-coordinates are found.

Unlike the V2000 molfile, the V3000 Rgroup molfile has the same header format as a non-Rgroup molfile. V3000 format can represent the following things that are out of reach for V2000:

  • number of atoms or bonds exceeding 999
  • reactions with Rgroups
  • enhanced stereochemistry

Counts line

A counts line is required, and must be first. It specifies the number of atoms, bonds, 3D objects, and Sgroups. It also specifies whether or not the CHIRAL flag is set. Optionally, the counts line can specify molregno. This is only used when the regno exceeds 999999 (the limit of the format in the molfile header line). The format of the counts line is:

SDF

SDF (structure-data format, also known as "SD file") is developed by MDL for representing structural information. An SDF file consists of several records delimited by a line consisting of four dollar signs ($$$$). Each record starts like a normal molfile, but includes associated data items after the <code>M END</code> line.

SDF can be built on top of either a V2000 or V3000 molfile. As a result there are two separate formats, V2000 SDF and V3000 SDF.

Associated data items are denoted as follows:

Multiple-line data items are also supported. The MDL SDF-format specification requires that a hard-carriage-return character be inserted if a single line of any text field exceeds 200 characters. This requirement is frequently violated in practice, as many SMILES and InChI strings exceed that length.

Other formats of the family

There are other, less commonly used formats of the family.

RXNFile ()
Has a REACTANT block, a PRODUCT block, and (optionally) an AGENT block. Chemicals mentioned within can be either in an embedded molfile or in a registry. Multiple molfiles can be embedded. Has V2000 and V3000 variants based on the version of the embedded molfile.
RDFile ()
A combination of an RXNfile with SDF-style associated data. Each record can contain chemical structures, reactions, textual and tabular data.
RG File ()
An extension to molfile from Chemaxon, using a reaction as the root structure. Can be used in Marvin's RXNFile dialect.
Alternatively described as: "for representing the Markush structures (deprecated, Molfile V3000 can represent Markush structures)"

There are also alternative encodings derived from the formats:

Compressed versions
Chemaxon provides a compressor for these formats with the extension names , , , .
It is more common to use gzip on these text files, yielding , , , .
XD File ()
A defunct XML version of the above formats from MDL and Accerlrys.

See also

References

External links