Skip to content

Commit 3cdf621

Browse files
committed
fixed image + added code tags to PyMOL commands
1 parent 6cf35e7 commit 3cdf621

File tree

2 files changed

+15
-13
lines changed

2 files changed

+15
-13
lines changed

images/4I8N.png

599 KB
Loading

submodule_1_Intro_to_PyMOL.ipynb

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@
4343
"id": "acd1fbfe-9b1c-44a5-af58-1ab689e68d10",
4444
"metadata": {},
4545
"source": [
46-
"PyMOL> pwd \n",
47-
"PyMOL> ls \n"
46+
"<code>PyMOL> pwd </code><br>\n",
47+
"<code>PyMOL> ls </code>\n"
4848
]
4949
},
5050
{
@@ -108,7 +108,7 @@
108108
"id": "51f4bb95-4003-4534-83b4-d697c17adbe0",
109109
"metadata": {},
110110
"source": [
111-
"PyMOL> fetch 1AKI."
111+
"<code>PyMOL> fetch 1AKI</code>"
112112
]
113113
},
114114
{
@@ -130,8 +130,8 @@
130130
"id": "6ec55c64-17a7-439f-87cf-704a92e00712",
131131
"metadata": {},
132132
"source": [
133-
"PyMOL> ray 1000,1000 <br>\n",
134-
"PyMOL> png lysozyme.png"
133+
"<code><PyMOL> ray 1000,1000</code> <br>\n",
134+
"<code>PyMOL> png lysozyme.png<code>"
135135
]
136136
},
137137
{
@@ -277,7 +277,7 @@
277277
"\n",
278278
"Create a new PyMOL window (or delete everything in your current session). In the PyMOL command line, type\n",
279279
"\n",
280-
"PyMOL> fetch 4I8N"
280+
"<code>PyMOL> fetch 4I8N</code>"
281281
]
282282
},
283283
{
@@ -286,16 +286,18 @@
286286
"id": "23bbcd64-7b83-40ba-8c1b-56f1a27a8a1d",
287287
"metadata": {},
288288
"source": [
289-
"![GTQBioS-Tutorial1-May15-4.jpg](attachment:9bb5711d-4517-4fcc-a056-fffe7f6e8df4.jpg)\n",
290-
"Figure 4: PTP1B protein (PDBID: 4I8N).\n",
289+
"<p align=\"center\">\n",
290+
" <img src=\"images/4I8N.png\" width=\"800\" />\n",
291+
"</p>\n",
292+
"Figure 4: PTP1B protein (PDBID: 4I8N).<br><br>\n",
291293
"\n",
292294
"Color by secondary structure and observe your protein, which should look like Figure 4 (note: the colors used here are different from the default; feel free to explore different color palettes for your protein structure). This protein is called protein tyrosine phosphatase 1B (PTP1B), and functions to remove phosphate groups from molecules. For the sake of this tutorial, it is important only to know that this protein can be inhibited,\n",
293295
"and that an inhibitor molecule is also found within this pdb file. Typically, when loading in a pdb file containing both a protein and a ligand, the protein will be automatically visualized in ‘cartoon’ format and\n",
294296
"the ligand in ‘licorice’ format. This makes it easy to identify the ligand upon first loading of the molecule. PTP1B is an interesting protein because we can directly compare it to other proteins within the same PTP\n",
295297
"family. For instance, type into the command line\n",
296298
"\n",
297-
"PyMOL> fetch 1L8K<br>\n",
298-
"PyMOL> align 4I8N, 1L8K"
299+
"<code>PyMOL> fetch 1L8K</code><br>\n",
300+
"<code>PyMOL> align 4I8N, 1L8K</code>"
299301
]
300302
},
301303
{
@@ -455,9 +457,9 @@
455457
],
456458
"metadata": {
457459
"kernelspec": {
458-
"display_name": "Python 3 (ipykernel) (Local) (Local)",
460+
"display_name": "conda_python3",
459461
"language": "python",
460-
"name": "conda-base-py"
462+
"name": "conda_python3"
461463
},
462464
"language_info": {
463465
"codemirror_mode": {
@@ -469,7 +471,7 @@
469471
"name": "python",
470472
"nbconvert_exporter": "python",
471473
"pygments_lexer": "ipython3",
472-
"version": "3.10.16"
474+
"version": "3.10.18"
473475
}
474476
},
475477
"nbformat": 4,

0 commit comments

Comments
 (0)