OneDep deposition

Doppio uses the wwPDB/onedep_lib OneDep Remote API Library to authenticate and submit depositions.

Quick start

  1. Sign in to OneDep with ORCID and generate a refresh token from the Deposition API panel.

  2. Run doppio-web --configure-one-dep in a terminal and paste the token when prompted.

  3. Open an existing Doppio project and create a OneDep deposition job.

  4. Run the job with Start a OneDep deposition? disabled, inspect the draft, then continue the same job with the option enabled to submit it.

The sections below describe each step in detail.

Credentials

OneDep credentials are stored in your user-level Pipeliner configuration, not in an individual Doppio project. Keep your refresh token private.

You can get your refresh token from the OneDep website by logging in with ORCID, agreeing to the wwPDB privacy policy, and generating the key.

Running a deposition

After creating the config, start Doppio without ONEDEP_ACCESS_TOKEN or ONEDEP_REFRESH_TOKEN in its environment.

A live OneDep submission requires a main map and PNG entry image. The atomic model is optional. SPA, helical, and subtomogram depositions require exactly two half-maps.

Prepare and review

In an existing Doppio project, create a OneDep deposition job and enter the deposition details. Keep Start a OneDep deposition? disabled for the first run. This prepares the files without creating or uploading a remote deposition. Inspect draft_deposition.mmcif in the completed job directory before submitting.

Doppio OneDep preparation job.

Submit to OneDep

Select the completed preparation job, choose Continue, enable Start a OneDep deposition?, and keep Run checks without creating/uploading deposition? disabled. Run the continuation to upload the deposition.

Doppio Continue Deposition screen with OneDep submission enabled. Completed live OneDep deposition in the Doppio Results tab.

The job stores only the optional config path; token values remain absent from commands, project parameter files, result JSON, and upload logs. After an upload completes, use the result link to edit the existing deposition in OneDep rather than overwriting or uploading the job again.

Uploaded files on the OneDep Upload summary page.

Alternative: create the standard config manually

Use this only when the setup command is unavailable. Create the path shown above with the following template and paste a newly generated refresh token:

[default]
hostname = "https://deposit.wwpdb.org/deposition"

[auths.deposit_wwpdb_org]
refresh_token = "<paste production refresh token>"

With the default config location on Linux or macOS:

$ mkdir -p ~/.config/onedep
$ chmod 700 ~/.config/onedep
$ chmod 600 ~/.config/onedep/config.toml

On the first authenticated request, onedep_lib exchanges the supplied refresh token and replaces it with the rotated credentials. The file must stay writable. Do not copy the same refresh token into multiple files: only the first copy to refresh remains valid.

For advanced configuration options, see the OneDep library configuration documentation.