fetch
fetch(ids, save_dir, max_parallel_downloads=5)
Fetches mmCIF files from the PDBe database.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
ids
|
Iterable[str]
|
A set of PDB IDs to fetch. |
required |
save_dir
|
Path
|
The directory to save the fetched mmCIF files to. |
required |
max_parallel_downloads
|
int
|
The maximum number of parallel downloads. |
5
|
Returns:
Type | Description |
---|---|
Mapping[str, Path]
|
A dict of id and paths to the downloaded mmCIF files. |