MDL Molfiles, RGfiles, SDfiles, Rxnfiles, RDfiles

Code names: mol, mol:V3, mol:V3ec, mol:V3ea, rgf, sdf, rxn, rxn:V3, rdf, file extensions: .mol, .sdf, .rxn, .rdf

Marvin imports and exports MDL Molfiles, RGfiles, SDfiles, REACCS Rxnfiles and RDfiles. The following features are supported in V2.0 molfiles:

Extended molfiles (V3.0). If the number of atoms or bonds in a molecule exceeds 999, then the extended format is used. In an extended molfile, the following properties are supported:

Reaction files (V2.0). A reaction file consists of a REACTANT block, a PRODUCT block, and (optionally) an AGENT block. Reaction files containing reaction agents are non-standard.

A reaction agent is a molecule structure that does not take part in the chemical reaction, but is added to the reaction equation for informative purpose only. Agents are normally displayed graphically above the reaction arrow, added to the reaction file after the reactants and the products. The number of agents is displayed in the file header (after the number of reactants and the number of products) if it is non-zero. Reaction files containing agents are non-standard.

Extended reaction files (V3.0). This format is used automatically if a reaction includes Rgroups and/or the number of atoms or bonds exceeds 999. An extended reaction file consists of a REACTANT block, a PRODUCT block, (optionally) an AGENT block, and (optionally) RGROUP blocks.

In SDfiles read by marvin, the name field is special, it overrides the molecule name specified in the molfile part.

A special feature of Marvin RGfiles is that they can contain a reaction as the root structure. This feature is non-standard, such mixed RG/Rxnfiles can only be imported by Marvin.

Molfile compression

MarvinSketch and MarvinView can handle compressed molfiles that are typically five times smaller than their original, uncompressed version. This reduces the download time of HTML pages containing molecule applets.

Compressed molfiles can be created by choosing Edit/Source, then Format/Compressed Molfile in MarvinSketch or MarvinView. If you cannot find the Edit menu, then click on the upper left arrow in MarvinSketch, right click or double click the compound in MarvinView.

Codenames: csmol, csrgf, cssdf, csrxn, csrdf, file extensions: .csmol, .cssdf, .csrxn, .csrdf

Import options

bXXX     Set C-C bond length. The molecule file is supposed to store coordinates in 1.54/XXX Angstrom units. Examples: "caffeine.mol(b1.54)" (bond lengths are in Angstroms), "caffeine.mol(b0.825)" (bond lengths are in ISISDraw's units).
Default: C-C bond length is calculated by averaging in 2D V2 molfiles, Angstrom units are used in any other case.

Export options

V2 or V3     Force writing V2 or V3 (extended) molfiles. The default format is V2 for simple molecules, V3 if the number of atoms or bonds exceeds 999 and in case of reactions with Rgroups. Example: "mol:V3"
P Write floating point numbers with maximum precision. Only meaningful for V3 molfiles. Example: "mol:V3P"
a or +a     Aromatize. Example: "mol:a"
-a Dearomatize. Example: "mol:-a"
H or +H Add explicit Hydrogen atoms. Example: "mol:H"
-H Remove explicit Hydrogen atoms. Example: "mol:-H"
bXXX Set C-C bond length. The exported molecule is scaled in such a way that the C-C bond lengths will be the specified number.
Examples: "mol:b1.54" (bond lengths are in Angstroms), "mol:b1.54a" (set bond length, aromatize).
Default: 0.825 for 2D molecule and V2 format, 1.54 (Angstrom units) in any other case.
ec Convert to enhanced stereo representation, considering the chiral flag. Only meaningful with option V3. (Chiral centers are grouped into ABS or an AND stereo group, depending on the chiral flag. When the input molecule contained any enhanced stereo labels, the unlabeled stereo centers always will form a new AND group.) Example: "mol:V3ec"
ea Convert to enhanced stereo representation, assuming absolute stereochemistry. Only meaningful with option V3. (Chiral centers are grouped into the ABS group. In case the input molecule already contains enhanced stereo labels, the behaviour is similar to the one described at option ec above.) Example: "mol:V3ec"

Reference