Ruibin-Liu / MolDF

Super lightweight and fast mmCIF/PDB/MOL2 file parser into Pandas DataFrames and backwards writer.
https://moldf.readthedocs.io/en/latest/
MIT License
8 stars 2 forks source link

Compressed files such as `.gz` should be supported #33

Open kamurani opened 3 months ago

kamurani commented 3 months ago

Oftentimes, PDB files are downloaded in .pdb.gz format. When a filepath is specified to read_pdb, a zipped file should be read correctly and automatically detected using the file extension.

Ruibin-Liu commented 3 months ago

Very good point. It was not supported because my past projects didn't have to deal with such downloaded PDB files.