Skip to contents

This function downloads PDB files from the RCSB Protein Data Bank using their PDB IDs.

Usage

download_receptor(pdb_ids, output_dir = "./", verify_ssl = TRUE)

Arguments

pdb_ids

Character vector of PDB IDs to download

output_dir

Character, output directory for downloaded files, default "./"

verify_ssl

Logical, whether to verify SSL certificates, default TRUE

Value

List of successfully downloaded file paths

Examples

if (FALSE) { # \dontrun{
files <- download_receptor(c("1iep", "4hg7"), output_dir = "receptors")
} # }