[BioPython] biopython and compressed PDB files

Iddo idoerg at burnham.org
Mon Sep 20 16:21:05 EDT 2004


Hi Mike,

Which version of Python are you using? Python 2.3 has the bz2 module 
(http://docs.python.org/lib/module-bz2.html).

For zip files, there is the zipfile module:

http://docs.python.org/lib/module-zipfile.html

and the zlib:

http://docs.python.org/lib/module-zlib.html#l2h-2626


That should cover it...


HTH,

./I




Michael Sierk wrote:

> I was wondering if someone can point me to code that uncompresses PDB  
> files in memory (assuming such a thing is possible)?  I found the 
> gzip  python module, but apparently that only does .gz files?
>
> Thanks,
> Mike Sierk
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
> +++++++
> Michael Sierk, Postdoctoral Fellow             email:  
> mls5w<AT>virginia<dot>edu
> Biochemistry & Molecular Genetics Dept.    Phone (W): (434) 924-2821
> University of Virginia                           (H): (434) 970-2268
> ------------------------------------------------------------------------ 
> ------
> "There is something fascinating about science. One gets such wholesome
> returns of conjecture out of such a trifling investment of fact."
> -- Mark Twain.
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
> +++++++
>
> _______________________________________________
> BioPython mailing list  -  BioPython at biopython.org
> http://biopython.org/mailman/listinfo/biopython
>
>


-- 
Iddo Friedberg, Ph.D.
The Burnham Institute
10901 N. Torrey Pines Rd.
La Jolla, CA 92037 USA
Tel: +1 (858) 646 3100 x3516
Fax: +1 (858) 713 9930
http://ffas.ljcrf.edu/~iddo



More information about the BioPython mailing list