pdb
/pdb
Pobiera i analizuje struktury białek z bazy RCSB PDB: wyszukuje podobne struktury, wycina łańcuchy i podaje metadane.
- Autor
- ekko8600 ↗
- Repozytorium
- enzyme_design_harness ↗
- Licencja
- Apache-2.0
- Ostatnia zmiana repozytorium
- 08.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 4
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 08.11.2026, bez odwołań do wycofanych modeli i API.
Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.
Co robi i kiedy
Pobiera i analizuje struktury białek z bazy RCSB PDB: wyszukuje podobne struktury, wycina łańcuchy i podaje metadane.
Oryginalny opis (EN)
Fetch and analyze protein structures from RCSB PDB. Use this skill when: (1) Need to download a structure by PDB ID, (2) Search for similar structures, (3) Prepare target for binder design, (4) Extract specific chains or domains, (5) Get structure metadata. For sequence lookup, use uniprot. For binder design workflow, use binder-design.
Jak działa
- Fetching a Structure
- Searching PDB
- Metadata
- Local Structure Handling
- Troubleshooting
Podgląd SKILL.md
---
name: pdb
description: 'Fetch and analyze protein structures from RCSB PDB. Use this skill when:
(1) Need to download a structure by PDB ID, (2) Search for similar structures, (3)
Prepare target for binder design, (4) Extract specific chains or domains, (5) Get
structure metadata.
For sequence lookup, use uniprot. For binder design workflow, use binder-design.
'
metadata:
category: data
tags: database, structure, fetch
legacy_category: utilities
taxonomy_version: enzyme-agent/taxonomy/v1
capability_ids:
- data.scientific_database.retrieval
---
# PDB Database Access
**Quick alias**: the canonical implementation is `pdb-database`. Use its
wrapper scripts for every RCSB access — they enforce rate limits, license
notification, and schema-aware queries. Do **not** hand-roll `curl` or
`requests` calls against RCSB APIs; that bypasses the documented wrapper and is
a discipline violation under AGENTS.md.
## Fetching a Structure
```bash
# PDB format
enzyme-core run pdb-database --work-dir ./runs/pdb-database --operation download_coordinate_files -- \
--ids "1ALU" --format "pdb" --output_dir structures/
# mmCIF format
enzyme-core run pdb-database --work-dir ./runs/pdb-database --operation download_coordinate_files -- \
--ids "1ALU" --format "mmcif" --output_dir structures/
```
## Searching PDB
Use `search_pdb.py` for attribute, sequence, structure, motif, chemical, and
full-text search. Fetch the schema first to discover the right attributes:
```bash
enzyme-core run pdb-database --work-dir ./runs/pdb-database --operation fetch_schema -- --api search_structure --output schema.txt
enzyme-core run pdb-database --work-dir ./runs/pdb-database --operation search_pdb -- --query '<JSON query>' --return_type entry --output results.json
```
Sequence-similarity example (no schema fetch needed):
```bash
enzyme-core run pdb-database --work-dir ./runs/pdb-database --operation search_pdb -- --query '{ "query": { "type": "terminal", "service": "sequence", "parameters": { "evalue_cutoff": 1, "identity_cutoff": 0.9, "sequence_type": "protein", "value": "MKTAYIAKQRQISFVK..." } }, "request_options": { "scoring_strategy": "sequence" } }' --return_type polymer_entity --output results.json
```
## Metadata
Prefer metadata queries over downloading full coordinate files when you only
need entry-level facts:
```bash
enzyme-core run pdb-database --work-dir ./runs/pdb-database --operation fetch_pdb_metadata -- \
--query '{ entries(entry_ids:["1ALU"]) { rcsb_id struct { title } exptl { method } } }' --output metadata.json
```
## Local Structure Handling
Once the file is downloaded, local processing with Bio.PDB is fine (no API
calls). Common steps:
### Selecting Chains
```python
from Bio.PDB import PDBParser, PDBIO, Select
class ChainSelect(Select):
def __init__(self, chain_id):
self.chain_id = chain_id
def accept_chain(self, chain):
return chain.id == self.chain_id
parser = PDBParser(QUIET=True)
structure = parser.get_structure("protein", "structures/1ALU.pdb")
io = PDBIO()
io.set_structure(structure)
io.save("chain_A.pdb", ChainSelect("A"))
```
### Common Tasks for Binder Design
1. Download structure via `pdb-database` (see above).
2. Identify target chain.
3. Remove waters and ligands (if needed).
4. Trim to binding region + buffer.
5. Identify potential hotspots.
6. Renumber if needed.
## Troubleshooting
**Structure not found**: Check PDB ID format (4 characters).
**Multiple models**: Select first model for design.
**Missing residues**: Check for gaps in structure.
**Wrapper missing/error**: Read `pdb-database/SKILL.md`; do not fall back to
raw HTTP without recording the wrapper failure first.
---
**Next**: Use structure with `boltz` (recommended) for structure validation, or
`pyrosetta-pose` for modeling.
Pliki w paczce (4)
- SKILL.md 4 KB
- execution_profile.json 2 KB
- scientific_contract.yaml 1 KB
- agents/openai.yaml 1 KB
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · ekko8600/enzyme_design_harness | 100 | Apache-2.0 |
| adaptyvbio/protein-design-skills | 100 | MIT |
Migawka bazy z 13.11.2026 · wersja paczki d2dc7394e93b (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100pdb-structure
Wyszukuje struktury białek 3D w bazie RCSB PDB: metadane eksperymentalne, rozdzielczość i pliki strukturalne do pobrania. - 100uniprot-rcsb
Pobiera sekwencje, adnotacje i struktury białek z UniProtKB, RCSB PDB i AlphaFold DB: FASTA, domeny, wyszukiwanie w PDB, współrzędne mmCIF i modele AlphaFold z pLDDT. - 100tooluniverse-protein-structure-retrieval
Pobiera struktury białek z RCSB PDB, PDBe i AlphaFold, z ujednoznacznieniem białka i opisem jakości danych. - 100pdb-database
Udostępnia dostęp do RCSB Protein Data Bank: wyszukiwanie, pobieranie i programowe pobieranie trójwymiarowych struktur makrocząsteczek i metadanych, także po sekwencji lub podobieństwie 3D. - 100alterlab-pdb
Pobiera eksperymentalnie wyznaczone struktury 3D białek i kwasów nukleinowych z RCSB Protein Data Bank, wyszukując po tekście, sekwencji lub podobieństwie struktury. - 100uniprot
Pobiera sekwencje białek i adnotacje z UniProt po numerze dostępu, z domenami, homologami i odnośnikami do PDB.