Skip to content

Instantly share code, notes, and snippets.

@olas
Created March 16, 2009 10:30
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 olas/79822 to your computer and use it in GitHub Desktop.
Save olas/79822 to your computer and use it in GitHub Desktop.
Downlaod and rotate PDB
//Download PDB
res=ws.downloadPDBAsFile("1d66")
ui.open(res)
//Do some jmol visualization
jmol.run("move 0 0 90 00 0 0 0 0 1;set selectionhalos off; select all; spacefill 0; cartoon on;")
jmol.run("select nucleic; isosurface dna1 solvent; delay 1; color isosurface red;");
jmol.run("delay 1; color isosurface blue; delay 1; color isosurface translucent; move 0 360 90 90 0 0 0 0 4;");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment