| 1 | <?xml version="1.0"?>
|
|---|
| 2 | <ChimeraPuppet type="std_webdata">
|
|---|
| 3 | <web_files>
|
|---|
| 4 | <file name="target.pdb" format="text" loc="http://www.swissdock.ch/files/tmp/swissdockd_4XoPmK_TKSF3JFR2EHS9GLJAV0K/target.pdb" />
|
|---|
| 5 | </web_files>
|
|---|
| 6 | <commands>
|
|---|
| 7 | <py_cmd>
|
|---|
| 8 | import urllib
|
|---|
| 9 | import tempfile
|
|---|
| 10 | from chimera import runCommand
|
|---|
| 11 | tmpDirectory = tempfile.mkdtemp()
|
|---|
| 12 | urllib.urlretrieve ("http://www.swissdock.ch/files/tmp/swissdockd_4XoPmK_TKSF3JFR2EHS9GLJAV0K/clusters.dock4.pdb", "%s/clusters.dock4.pdb"%tmpDirectory)
|
|---|
| 13 | runCommand("viewdock %s/clusters.dock4.pdb \"Dock 4, 5 or 6\""%tmpDirectory)
|
|---|
| 14 | </py_cmd>
|
|---|
| 15 | <mid_cmd>color byatom #0</mid_cmd>
|
|---|
| 16 | <mid_cmd>ribbon #0</mid_cmd>
|
|---|
| 17 | <mid_cmd>repr stick :LIG</mid_cmd>
|
|---|
| 18 | <mid_cmd>~disp element.H</mid_cmd>
|
|---|
| 19 | <mid_cmd>hbonds intramodel false lineWidth 5 color green</mid_cmd>
|
|---|
| 20 | </commands>
|
|---|
| 21 | </ChimeraPuppet>
|
|---|