$ global name=fitting1
$ scene1 visualization=../TransAtlas.vmd

# scene1

! trajectories can be aligned to a chosen selection,
! either instantaneously or over time

animate         frames=0
fit_trajectory  selection='not (resid 105 to 235 or resid 265 to 275)'
animate         frames=0:17 t=2s
fit_trajectory  selection='resid 105 to 235 or resid 265 to 275'
animate         frames=17:0 t=2s
do_nothing      t=1s
