From: Axel Kohlmeyer (
Date: Tue Mar 09 2004 - 06:19:39 CST

hi folks,

if you run on linux (don't know which other OSs are supported)
you could use zlibc (<

after you installed it, you do

export LD_PRELOAD=/usr/local/lib/uncompress.o
vmd some.pdb

and it will pick up some.pdb.gz if it cannot find some.pdb.
works very nicely.


>>> "JS" == John Stone <> writes:

JS> Diss,
JS> At present VMD can't automatically decompress files, but that's
JS> something I'd like to implement as a new class of plugin sometime soon.
JS> Ideally it'd work for all filetypes then, and would work with Unix,
JS> Windows, etc.

JS> John

JS> On Mon, Mar 08, 2004 at 05:00:49PM +0100, Diss Romain wrote:
>> Hi,
>> Is it possible for VMD to directly read a gziped file (.pdb.gz, .crd.gz, ...)
>> or do i have to gunzip it by hand (or with a script) ?
>> Thanks you

JS> --
JS> NIH Resource for Macromolecular Modeling and Bioinformatics
JS> Beckman Institute for Advanced Science and Technology
JS> University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801
JS> Email: Phone: 217-244-3349
JS> WWW: Fax: 217-244-6078

Axel Kohlmeyer       e-mail:
Lehrstuhl fuer Theoretische Chemie          Phone: ++49 (0)234/32-26673
Ruhr-Universitaet Bochum - NC 03/53         Fax:   ++49 (0)234/32-14045
D-44780 Bochum
If you make something idiot-proof, the universe creates a better idiot.