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

推荐订阅源

L
LINUX DO - 最新话题
A
Arctic Wolf
I
Intezer
V
Vulnerabilities – Threatpost
C
Cisco Blogs
MyScale Blog
MyScale Blog
NISL@THU
NISL@THU
Y
Y Combinator Blog
C
CERT Recently Published Vulnerability Notes
P
Privacy International News Feed
H
Hackread – Cybersecurity News, Data Breaches, AI and More
酷 壳 – CoolShell
酷 壳 – CoolShell
Recorded Future
Recorded Future
云风的 BLOG
云风的 BLOG
S
SegmentFault 最新的问题
Microsoft Security Blog
Microsoft Security Blog
L
LangChain Blog
博客园 - 聂微东
博客园 - 叶小钗
F
Fortinet All Blogs
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Recent Announcements
Recent Announcements
C
Cyber Attacks, Cyber Crime and Cyber Security
Latest news
Latest news
Simon Willison's Weblog
Simon Willison's Weblog
P
Palo Alto Networks Blog
S
Schneier on Security
C
Cybersecurity and Infrastructure Security Agency CISA
V
V2EX
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
The Hacker News
The Hacker News
博客园 - 司徒正美
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
L
LINUX DO - 热门话题
罗磊的独立博客
K
Kaspersky official blog
Last Week in AI
Last Week in AI
Know Your Adversary
Know Your Adversary
小众软件
小众软件
Stack Overflow Blog
Stack Overflow Blog
T
Threat Research - Cisco Blogs
D
DataBreaches.Net
Scott Helme
Scott Helme
P
Proofpoint News Feed
P
Privacy & Cybersecurity Law Blog
P
Proofpoint News Feed
博客园 - 三生石上(FineUI控件)
Hugging Face - Blog
Hugging Face - Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
F
Full Disclosure

博客园 - 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