gcell-protein
Protein structure and interaction analysis using gcell. Use this skill when users ask about: - Protein sequences from gene names - AlphaFold2 structure predictions and pLDDT scores - UniProt protein information - 3D protein structure visualization - Protein-protein interactions (STRING database) Triggers: protein structure, AlphaFold, pLDDT, UniProt, protein sequence, 3D structure, protein interaction, STRING
安装与使用
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
查看来源 ↗使用指南技能说明
Protein Structure Analysis
Get Protein Sequences
from gcell.protein.data import (
get_seq_from_gene_name,
get_uniprot_from_gene_name
)
# Get protein sequence from gene name
seq = get_seq_from_gene_name('TP53')
seq = get_seq_from_gene_name('EGFR')
seq = get_seq_from_gene_name('BRCA1')
# Get UniProt accession
uniprot_id = get_uniprot_from_gene_name('TP53')
AlphaFold2 Confidence Scores
from gcell.protein.data import get_lddt_from_gene_name
# Get pLDDT (predicted local distance difference test) scores
# Higher scores = higher confidence in structure prediction
plddt = get_lddt_from_gene_name('TP53')
plddt = get_lddt_from_gene_name('EGFR')
# pLDDT interpretation:
# > 90: Very high confidence
# 70-90: Confident
# 50-70: Low confidence
# < 50: Very low confidence (likely disordered)
Full Protein Analysis
from gcell.protein.protein import Protein
# Load protein from gene name
protein = Protein.from_gene_name('EGFR')
protein = Protein.from_gene_name('TP53')
# Access protein data
print(protein.sequence)
print(protein.length)
print(protein.plddt) # AlphaFold confidence
# 3D structure visualization
protein.plot_structure() # Interactive 3D view
Protein-Protein Interactions
from gcell.protein.string import get_string_interactions
# Get interactions from STRING database
interactions = get_string_interactions('TP53')
# Filter by confidence score
high_conf = interactions[interactions['score'] > 0.7]
Key Classes and Functions
| Name | Purpose |
|---|---|
Protein |
Full protein analysis class |
get_seq_from_gene_name() |
Get amino acid sequence |
get_uniprot_from_gene_name() |
Get UniProt ID |
get_lddt_from_gene_name() |
Get AlphaFold pLDDT scores |
get_string_interactions() |
Get protein interactions |
Data Sources
- Protein sequences: UniProt
- Structures: AlphaFold Database
- Interactions: STRING Database
- Data cached in:
~/.gcell_data/cache/
使用示例
查看来源仓库中的使用示例与配置说明。
查看来源 ↗来源历史
- 收录时间
- 2026-01-20
- 索引更新时间
- 2026-01-26
- Branch
- main
收录与同步日期属于本站记录。源码修改历史请查看来源仓库。
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!