.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.2. .TH PDB_SORT "1" "July 2022" "pdb_sort 2.5.0" "User Commands" .SH NAME pdb_sort \- manual page for pdb_sort 2.5.0 .SH DESCRIPTION pdb_sort Sorting key is not valid: '\-' .PP Sorts the ATOM/HETATM/ANISOU/CONECT records in a PDB file. .PP Atoms are always sorted by their serial number, meaning the original ordering of the atoms within each residue are not changed. Alternate locations are sorted by default. .PP Residues are sorted according to their residue sequence number and then by their insertion code (if any). .PP Chains are sorted by their chain identifier. .PP Finally, the file is sorted by all keys, and the records are placed in the following order: .IP \- ATOM/ANISOU, intercalated if the latter exist \- HETATM \- CONECT, sorted by the serial number of the central (first) atom .PP MASTER, TER, END statements are removed. Headers (HEADER, REMARK, etc) are kept and placed first. Does NOT support multi\-model files. Use pdb_splitmodel, then pdb_sort on each model, and then pdb_mkensemble. .SS "Usage:" .IP python pdb_sort.py \-