Skip to content

Instantly share code, notes, and snippets.

@JonasR
Created July 29, 2012 21:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JonasR/3201874 to your computer and use it in GitHub Desktop.
Save JonasR/3201874 to your computer and use it in GitHub Desktop.
Creates the final animations from the PNGs
#!/bin/bash
for dir in 7 8 9 10 11
do
echo "Currently doing $dir"
cd $dir
pymol -c createPNGs.pml
rm mov0001.png
convert -delay 10 -dispose Background -resize 50% -loop 0 *.png animation.gif
cd ../
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment