import mdtraj as md
import numpy as np
'''
Render a picture of lysozyme protein with nglview
1. import packages
2. Download 1GWD protein
3. Render it
4. Embed in jupyter notebook
'''
import mdtraj as md
import numpy as np
'''
Render a picture of lysozyme protein with nglview
1. import packages
2. Download 1GWD protein
3. Render it
4. Embed in jupyter notebook
'''
# 1. import packages
import nglview as nv
# 2. Download 1GWD protein
view = nv.show_pdbid("1GWD")
# 3. Render it
view.add_representation('cartoon', color='residueindex')
view.add_representation('licorice')
view.add_representation('ball+stick', selection='hetero')
view.add_representation('ball+stick', selection='not water')
# 4. Embed in jupyter notebook
view
'''
Render a picture of lysozyme protein with nglview
1. import packages
2. Download 1GWD protein
3. Render it
4. Embed in jupyter notebook
'''
# 1. import packages
import nglview as nv
# 2. Download 1GWD protein
view = nv.show_pdbid("1GWD")
# 3. Render it
view.add_representation('cartoon', color='residueindex')
view.add_representation('licorice')
view.add_representation('ball+stick', selection='hetero')
view.add_representation('ball+stick', selection='not water')
# 4. Embed in jupyter notebook
view
'''
Render a picture of lysozyme protein with nglview
1. import packages
2. Download 1GWD protein
3. Render it
4. Embed in jupyter notebook
'''
# 1. import packages
import nglview as nv
# 2. Download 1GWD protein
view = nv.show_pdbid("1GWD")
# 3. Render it
view.add_representation('cartoon', color='residueindex')
view.add_representation('licorice')
view.add_representation('ball+stick', selection='hetero')
view.add_representation('ball+stick', selection='not water')
# 4. Embed in jupyter notebook
view
'''
Render a picture of lysozyme protein with nglview
1. import packages
2. Download 1GWD protein
3. Render it
4. Embed in jupyter notebook
'''
# 1. import packages
import nglview as nv
# 2. Download 1GWD protein
view = nv.show_pdbid("1GWD")
# 3. Render it
view.add_representation('cartoon', color='residueindex')
view.add_representation('licorice')
view.add_representation('ball+stick', selection='hetero')
view.add_representation('ball+stick', selection='not water')
# 4. Embed in jupyter notebook
view
'''
Render a picture of lysozyme protein with nglview
1. import packages
2. Download 1GWD protein
3. Render it
4. Embed in jupyter notebook
'''
# 1. import packages
import nglview as nv
# 2. Download 1GWD protein
view = nv.show_pdbid("1GWD")
# 3. Render it
view.add_representation('cartoon', color='residueindex')
view.add_representation('licorice')
view.add_representation('ball+stick', selection='hetero')
view.add_representation('ball+stick', selection='not water')
# 4. Embed in jupyter notebook
view
'''
Render a picture of lysozyme protein with nglview
1. import packages
2. Download 1GWD protein
3. Render it
4. Embed in jupyter notebook
'''
# 1. import packages
import
invalid syntax (<string>, line 134)
Go to Google Form