Spaces:
Runtime error
Runtime error
osanseviero
commited on
Commit
•
68c1f50
1
Parent(s):
08837df
Create app.py
Browse files
app.py
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from stmol import showmol
|
2 |
+
import py3Dmol
|
3 |
+
|
4 |
+
# 1A2C
|
5 |
+
# Structure of thrombin inhibited by AERUGINOSIN298-A from a BLUE-GREEN ALGA
|
6 |
+
xyzview = py3Dmol.view(query='pdb:1A2C')
|
7 |
+
xyzview.setStyle({'cartoon':{'color':'spectrum'}})
|
8 |
+
showmol(xyzview, height = 500,width=800)
|