From: Bennion, Brian (
Date: Fri Jun 15 2018 - 10:08:50 CDT


I have a couple thousand pdb files that I need to analyze with a script that VMD calls.

These files are however, bundled in a tar zip archive file.

I may have missed something but tcl has a package tar that allows one to

package require tar
set chan [open myfile.tar.gz]
zlib push gunzip $chan

set data [::tar::get $chan Com_min.pdb -chan]

now the pdb file is in a the data variable and not a file pointer if I am correct.

Can vmd "stream" pdb file data this way?

Thanks for your thoughts.

Brian Bennion