Full Example

Walk-through example of how to use the python scripts. In this example we will take an AViz file, remove all atom types from it except for "N" atoms, and then keep only those atoms contained in a box of size 5 around an origin point at (1,2,3), but without re-centering the entire file:

$ cat avizfile.xyz | filter_atom.py -a N | extract_box.py -x 1 -y 2 -z 3 -s 5 --no-recenter

The scripts used are filter_atom.py and extract_box.py.

Download scripts