Skip to content

emdb

Module dealing with Electron Microscopy Data Bank (EMDB).

fetch(emdb_ids, save_dir, max_parallel_downloads=1) async

Fetches volume files from the EMDB database.

Parameters:

Name Type Description Default
emdb_ids Iterable[str]

A list of EMDB IDs to fetch.

required
save_dir Path

The directory to save the downloaded files.

required
max_parallel_downloads int

The maximum number of parallel downloads.

1

Returns:

Type Description
Mapping[str, Path]

A mapping of EMDB IDs to their downloaded files.