in reply to change x coordinate in pdb
Use s// and m/// to identify and change parts of a line.
Use an "if" statement to determine if you are looking for the TER record or have passed it.
The file I/O is explained in any intro, but you might be interested in the -i command line option.
|
|---|