| name | gcell-protein |
| description | 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
|
Protein Structure Analysis
Get Protein Sequences
from gcell.protein.data import (
get_seq_from_gene_name,
get_uniprot_from_gene_name
)
seq = get_seq_from_gene_name('TP53')
seq = get_seq_from_gene_name('EGFR')
seq = get_seq_from_gene_name('BRCA1')
uniprot_id = get_uniprot_from_gene_name('TP53')
AlphaFold2 Confidence Scores
from gcell.protein.data import get_lddt_from_gene_name
plddt = get_lddt_from_gene_name('TP53')
plddt = get_lddt_from_gene_name('EGFR')
Full Protein Analysis
from gcell.protein.protein import Protein
protein = Protein.from_gene_name('EGFR')
protein = Protein.from_gene_name('TP53')
print(protein.sequence)
print(protein.length)
print(protein.plddt)
protein.plot_structure()
Protein-Protein Interactions
from gcell.protein.string import get_string_interactions
interactions = get_string_interactions('TP53')
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/