From: Axel Kohlmeyer (axel.kohlmeyer_at_theochem.ruhr-uni-bochum.de)
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 (<http://zlibc.linux.lu/).

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.

axel.

>>> "JS" == John Stone <johns_at_ks.uiuc.edu> 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: johns_at_ks.uiuc.edu Phone: 217-244-3349
JS> WWW: http://www.ks.uiuc.edu/~johns/ Fax: 217-244-6078

--
=======================================================================
Axel Kohlmeyer       e-mail: axel.kohlmeyer_at_theochem.ruhr-uni-bochum.de
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  http://www.theochem.ruhr-uni-bochum.de/~axel.kohlmeyer/
=======================================================================
If you make something idiot-proof, the universe creates a better idiot.