A Comprehensive Interface for Accessing the Protein Data Bank
Overview
Provides an R interface to the 'RCSB' Protein Data Bank ('PDB') Search and Data APIs (https://www.rcsb.org/). Supports full-text, attribute, sequence, motif, structure, and chemical searches; retrieval of entry-, assembly-, polymer-entity-, and chemical-component-level metadata; and conversion of API responses into analysis-ready tables and typed R objects for reproducible structural bioinformatics workflows.
- Made all help examples that contact RCSB services interactive-only, so package checks no longer depend on network availability or remote-service response times.
- Made live API calls in the structural-bioinformatics vignette opt-in through
RPDBAPI_RUN_LIVE=true; offline and CRAN vignette builds now retain the code while skipping external requests. - Kept live API tests opt-in and verified the package with networking disabled, including examples,
\donttest{}code, tests, and vignette rebuilding. - Corrected source-build exclusions so the prebuilt vignette index is retained in release tarballs and recognized by CRAN incoming checks.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-23
- ERROR12 OK, 1 ERROR2026-08-12
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-02
- ERROR12 OK, 1 ERROR2026-07-24
Show 9 earlier changesHide 9 earlier changes
- OK13 OK2026-07-23
- ERROR12 OK, 1 ERROR2026-07-20
- OK13 OK2026-07-19
- ERROR11 OK, 2 ERROR2026-07-12
- OK13 OK2026-06-15
- ERROR12 OK, 1 ERROR2026-06-14
- OK12 OK, 1 FAILURE2026-06-08
- ERROR12 OK, 1 ERROR2026-06-07
- OK14 OK2026-03-10
Documentation
- Help pages
- 62 (1 internal)includes a package overview page
- Examples that run
- 85%23 run in a plain check (8 of them under a condition) · 3 only when donttest examples are enabled (R CMD check --as-cran) · 1 never run
- Exported functions with examples
- 46%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Dependencies
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 3.0.2Latest
- 3.0.1
- 3.0.02026-03-07 · diff ↗ ·
added 23 exports
as_rpdb_assembly, as_rpdb_chemical_component, as_rpdb_entry, as_rpdb_polymer_entity, as_rpdb_structure, build_assembly_id, build_entity_id, build_entry_id, build_instance_id, cache_info, clear_rpdbapi_cache, data_fetcher_batch, extract_calpha_coordinates, extract_ligand_table, extract_taxonomy_table, infer_id_type, join_structure_sequence, list_rcsb_fields, parse_rcsb_id, search_rcsb_fields, summarize_assemblies, summarize_entries, validate_properties - 2.1.22025-10-29 · diff ↗
- RR 4.5.0 released · 2025-04-11
- 2.1.12024-10-19 · diff ↗
- 2.12024-09-06 · diff ↗ ·
added 4 exports
get_pdb_api_url, handle_api_errors, parse_response, send_api_request - unarchivedReturned to CRAN2024-09-04
- 2.02024-09-04 · diff ↗ ·
removed 2 exports
FastaSequence, parse_fasta_text_to_listadded 2 exports
ChemicalOperator, return_data_as_dataframe - archivedRemoved from CRAN2024-08-21policy violation On Internet access
- 1.32024-06-06 · diff ↗
- 1.22024-05-16 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 1.1
- 1.02024-01-17
Show 1 earlier eventHide 1 earlier event
- RR 4.3.0 released · 2023-04-21
Package metadata
- First published
- 2024-01-17
- Total releases
- 11 / 2 yrs
- License
- MIT + file LICENSE OSI · relicensed from GPL (>= 2) in 3.0.0
- Download size
- 450 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("rPDBapi")The package provides a citation file, so citation() returns the authors' own entry.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.