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

推荐订阅源

酷 壳 – CoolShell
酷 壳 – CoolShell
H
Hacker News: Front Page
P
Palo Alto Networks Blog
T
ThreatConnect
Apple Machine Learning Research
Apple Machine Learning Research
博客园_首页
T
True Tiger Recordings
P
Privacy & Cybersecurity Law Blog
B
Blog
IT之家
IT之家
Last Week in AI
Last Week in AI
F
Full Disclosure
Hacker News: Ask HN
Hacker News: Ask HN
C
Comments on: Blog
Microsoft Azure Blog
Microsoft Azure Blog
C
Cybersecurity and Infrastructure Security Agency CISA
Microsoft Security Blog
Microsoft Security Blog
博客园 - 【当耐特】
N
News and Events Feed by Topic
NISL@THU
NISL@THU
腾讯CDC
雷峰网
雷峰网
Security Latest
Security Latest
李成银的技术随笔
M
Microsoft Research Blog - Microsoft Research
L
LangChain Blog
L
Lohrmann on Cybersecurity
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
C
Check Point Blog
Y
Y Combinator Blog
Recent Announcements
Recent Announcements
博客园 - Franky
N
News | PayPal Newsroom
V
V2EX
A
About on SuperTechFans
The Register - Security
The Register - Security
月光博客
月光博客
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Google Online Security Blog
Google Online Security Blog
MyScale Blog
MyScale Blog
Cisco Talos Blog
Cisco Talos Blog
Vercel News
Vercel News
WordPress大学
WordPress大学
C
Cyber Attacks, Cyber Crime and Cyber Security
The Hacker News
The Hacker News
IntelliJ IDEA : IntelliJ IDEA – the Leading IDE for Professional Development in Java and Kotlin | The JetBrains Blog
IntelliJ IDEA : IntelliJ IDEA – the Leading IDE for Professional Development in Java and Kotlin | The JetBrains Blog
爱范儿
爱范儿
A
Arctic Wolf
L
LINUX DO - 最新话题
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More

博客园 - Life·Intelligence

SSHFS + VS Code 挂载集群代码目录(macOS)| 集群vibe coding - Life·Intelligence 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 - Life·Intelligence Linux下载zenodo数据 共定位 | colocalization 分析 | 表观因子 findOverlappingPeaks | peak取交集操作 根据基因名批量查询下载PDB蛋白结构数据库 R小技巧汇总 Signac处理bulk ATAC-seq数据 - Life·Intelligence Differential motif enrichment | CentriMo | meme 亚马逊云 | AWS S3 | 基本操作 ATAC-seq | TOBIAS | footprint分析 TCGA+GTEx基因表达数据合并 | 多癌种表达分析
全栈生信 | PyMol使用教程
Life·Intelli · 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