Pymol - 图1
© pymol

由於語法渲染問題而影響閱讀體驗, 請移步博客閱讀~
本文GitPage地址

View and Themes

background color

  1. bg_color grey30

Add something

Add Hydrogen bonds

Add Hydrogen bonds: PyMOL tutorial

Action → find → polar contacts → select from menu

Pymol - 图2
© PyMOL tutorial

Remove something

cite: © Jan-Philip Gehrcke; 2011

  1. # removing hydrogens
  2. remove (hydro)
  3. remove hydrogens
  4. # removing water
  5. remove resn hoh
  6. # removing solvent
  7. remove solvent

Strcture align

Pymol - 图3
© Pymol
  1. fetch 1oky 1t46, async=0
  2. # 1) default with outlier rejection
  3. align 1oky, 1t46
  4. # 2) with alignment object, save to clustalw file
  5. align 1oky, 1t46, object=alnobj
  6. save alignment.aln, alnobj
  7. # 3) all-atom RMSD (no outlier rejection) and without superposition
  8. align 1oky, 1t46, cycles=0, transform=0

Partial structure align

Cite: Queen’s University

align 5cha and resi 1-100, 2xxl and resi 300-400
# or in short form:
align structure2 & i. 1-100, structure 1 & i. 300-400

# Furthermore, you may wish to restrict the alignment to just the backbone atoms, so you can say:

align structure2 and resi 1-100 and name n+ca+c+o, structure1 and resi 300-400 and name n+ca+c+o

# or in short form:

align structure2 & i. 1-100 & n. n+ca+c+o, structure1 & i. 300-400 & n. n+ca+c+o

Align chains

align 5cha and chain A+B+C, 2xxl and chain A

Atom

Atom color

## change the whole proteins color
color grey90, 2xxl
color grey80, 2xxl 5cha # 2 proteins

Select Atom

Select Properties

select aas, resn ASP+GLU in 2xxl

Create a variate ass which contain all ASP and GLU residues.


Enjoy~

本文由Python腳本GitHub/語雀自動更新

由於語法渲染問題而影響閱讀體驗, 請移步博客閱讀~
本文GitPage地址

GitHub: Karobben
Blog:Karobben
BiliBili:史上最不正經的生物狗