pdb-tools
pdb-tools copied to clipboard
pdb_selaltloc removes residues with (only) alternate locations
Describe the bug pdb_selaltloc removes residues in which all atoms show alternate locations
To Reproduce
grep -rn pdb4xoj.pdb -e "SER A 85"
pdb_selaltloc pdb4xoj.pdb > pdb4xoj-occ.pdb
grep -rn pdb4xoj-occ.pdb -e "SER A 85"
Expected behavior
pdb_selaltloc
should not delete the residue but rather pick one of the two available alternate locations
Desktop (please complete the following information):
- OS: Linux
- Python Version 3.9