Previous  TOC  NextPyMOLConvertLigandFileFormat.pyCode | PDF | PDFA4

NAME - Convert between ligand file formats

SYNOPSIS [--overwrite] [-w <dir>] -i <infile> -o <outfile> -h | --help | -e | --examples


Convert between ligand file formats.

The supported input and output file formats are: MDLMOL (.mol), MOL2 (.mol2), and PDB (.pdb).


-e, --examples

Print examples.

-h, --help

Print this help message.

-i, --infile <infile>

Input file name.

-o, --outfile <outfile>

Output file name.


Overwrite existing files.

-w, --workingdir <dir>

Location of working directory which defaults to the current directory.


To convert MDLMOL file format to MOL2 file format, type:

% -i caffeine.mol -o caffeine.mol2

To convert MDLMOL file format to PDB file format, type:

% -i caffeine.mol -o caffeine.pdb


Manish Sud



Copyright (C) 2024 Manish Sud. All rights reserved.

The functionality available in this script is implemented using PyMOL, a molecular visualization system on an open source foundation originally developed by Warren DeLano.

This file is part of MayaChemTools.

MayaChemTools is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.



Previous  TOC  NextMarch 27,