惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Engineering at Meta
Engineering at Meta
T
Threat Research - Cisco Blogs
V
Vulnerabilities – Threatpost
T
Tor Project blog
T
Troy Hunt's Blog
C
CERT Recently Published Vulnerability Notes
C
Cisco Blogs
W
WeLiveSecurity
Cloudbric
Cloudbric
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
爱范儿
爱范儿
Google Online Security Blog
Google Online Security Blog
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Simon Willison's Weblog
Simon Willison's Weblog
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
Martin Fowler
Martin Fowler
Cisco Talos Blog
Cisco Talos Blog
F
Full Disclosure
MongoDB | Blog
MongoDB | Blog
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
I
Intezer
www.infosecurity-magazine.com
www.infosecurity-magazine.com
G
GRAHAM CLULEY
B
Blog RSS Feed
云风的 BLOG
云风的 BLOG
人人都是产品经理
人人都是产品经理
M
MIT News - Artificial intelligence
腾讯CDC
L
LangChain Blog
L
LINUX DO - 热门话题
H
Help Net Security
S
Schneier on Security
N
Netflix TechBlog - Medium
博客园 - Franky
酷 壳 – CoolShell
酷 壳 – CoolShell
Spread Privacy
Spread Privacy
S
Secure Thoughts
T
The Exploit Database - CXSecurity.com
P
Privacy International News Feed
P
Privacy & Cybersecurity Law Blog
Cyberwarzone
Cyberwarzone
A
About on SuperTechFans
NISL@THU
NISL@THU
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
D
DataBreaches.Net
The GitHub Blog
The GitHub Blog
Recorded Future
Recorded Future
雷峰网
雷峰网
AWS News Blog
AWS News Blog
V2EX - 技术
V2EX - 技术

博客园 - Life·Intelligence

SSHFS + VS Code 挂载集群代码目录(macOS)| 集群vibe coding OpenClaw 多 Channel 实战总结(Windows 环境) OpenClaw Windows 安装与 Debug 最终版教程(适用于 MiniPC i3-N305 / 无 GPU) miniconda转miniforge | conda | license LightDock | 蛋白质-多肽对接 | peptide-protein docking 蛋白结构预测 | alphafold | colabfold | docking 细胞通讯推断 | CCI | CellChat | CellphoneDB | iTALK | NicheNet ChromHMM教程 极简 | GRN | SCENIC | pySCENIC | 安装使用最新版scenicplus Linux下载zenodo数据 共定位 | colocalization 分析 | 表观因子 findOverlappingPeaks | peak取交集操作 根据基因名批量查询下载PDB蛋白结构数据库 R小技巧汇总 Signac处理bulk ATAC-seq数据 Differential motif enrichment | CentriMo | meme 亚马逊云 | AWS S3 | 基本操作 ATAC-seq | TOBIAS | footprint分析 TCGA+GTEx基因表达数据合并 | 多癌种表达分析 药物筛选 | drug screen
全栈生信 | PyMol使用教程
Life·Intelligence · 2025-04-19 · via 博客园 - Life·Intelligence

生信全栈,最后一栈肯定就是蛋白了,做到下游离不开蛋白。

  • 机制:大部分机制其实就是PPI,你发现一个表型里重要的一个PPI,就是机制;
  • 功能:定位了核心蛋白,一个最自然的问题就是蛋白的每个domain的功能是什么,想要成药最好知道蛋白结构;
  • 药物:一旦知道蛋白结构,开发和优化药物就变得简单得多了,药物相关的分析就是下一个全栈了;

PyMol的定位是什么,一句话就是:蛋白结构的操作的工具箱,瑞士军刀,但本身没有什么高级的分析。

如果你要做结构预测,那就用alphafold

如果要做docking,就用其他工具

如果要做MD,也要有对应的工具

但做完任何结构的分析,最终都要导入到PyMol里进行分析,因为这个工具就是用来处理蛋白结构文件的。

PyMol提供命令行输入,类似SQL语句,非常适合批量操作,也很geek。

基本的选择,改变颜色

# 改变PyMol里SOX9某个片段的颜色
color red, SOX9 and resi 98-181

# 改变BAF里nuclesome的颜色
select baf_subunits, BAF and chain A+G+D+B+C+E+F+H
color grey, baf_subunits

select SOX9, SOX9_AF and chain A
color orange, SOX9

# 改变DNA颜色
select dna, resn DA+DT+DG+DC
color pink, dna

select B1, BAF and chain M
color green, B1

改变显示方式

# BAF改为surface显示
show surface, BAF

color skyblue, BAF


set surface_quality, 1
set transparency, 0.2  # 让它稍微透明点


hide surface, dna
show cartoon, dna

save SOX9_BAF_B1.pse

提取溶剂暴露区

# 溶剂暴露区
cmd.get_area("B1", load_b=1)
select exposed_residues, B1 and b > 20
color white, exposed_residues

# BAF 复合物表面中“可能用于结合”的区域
cmd.get_area("B1", load_b=1)
select surface_residues, B1 and b > 1
select exposed_protein, surface_residues and polymer.protein
color white, exposed_protein

save exposed_patch.pdb, exposed_protein

hide surface, B1
show cartoon, B1

# 提取保存蛋白序列
save exposed_patch.pdb, exposed_protein

多序列比对

# Clustal Omega

#-------------------------------

select B1_DNA, dna or histones or B1
save B1_DNA.pdb, B1_DNA

alphafold预测结构

-----

util.cbc

load alphafold/SMARCB1_FL_unrelaxed_alphafold2_multimer_v3_model_1_seed_000.pdb, alpha_B1
align B1, alpha_B1
super B1, alpha_B1

color red, alpha_B1
save B1_PDB_AlphaFold.pse

神器的结构对其,非常有用

-------

# select chain
select B1, chain B
select SOX9, chain A

select true_B1, chain M

# aligh two B1 s
super B1, true_B1
align B1, true_B1

color red, SOX9

save first_trial_align_SOX9_B1.pse

select SOX9_HMG, SOX9 and resi 98-181

color blue, SOX9_HMG