haddocking / pdb-tools

A dependency-free cross-platform swiss army knife for PDB files.
https://haddocking.github.io/pdb-tools/
Apache License 2.0
372 stars 113 forks source link

Chain selection should be case-sensitive #88

Closed JoaoRodrigues closed 3 years ago

JoaoRodrigues commented 3 years ago

Describe the bug pdb_selchain (and maybe others, did not check) use str.upper when validating input and as such cannot be used to operate on lowercase chain names. Should be a simple fix.

To Reproduce

pdb_fetch.py 6zoj | pdb_selchain -e > model.pdb
cat result  # result is empty!
JoaoRodrigues commented 3 years ago

Nevermind, was working with an old version...