Zenodo Community Setup¶
This guide covers setting up the TSL Structures community on Zenodo and adding datasets to it. Community setup is typically a one-time task, but this reference documents the process.
Overview¶
Zenodo communities provide a curated collection where users can discover all TSL structure datasets in one place. The tslstructures R package queries this community via list_datasets().
User runs list_datasets()
↓
Queries Zenodo API: /communities/tsl-structures/records
↓
Returns all datasets in the community
Creating the Community (One-Time)¶
Note: This only needs to be done once per Zenodo environment (sandbox and production are separate).
Sandbox (Testing)¶
- Go to https://sandbox.zenodo.org and log in (create account if needed - separate from production)
- Navigate to Communities → New Community (or go directly to https://sandbox.zenodo.org/communities/new)
- Fill in the form:
| Field | Value |
|---|---|
| Identifier | tsl-structures (must match R package default) |
| Title | TSL Structure Datasets |
| Description | Protein structure prediction datasets from The Sainsbury Laboratory. Distributed in TSP (TSL Structure Package) format for use with the tslstructures R package. |
- Click Create
Production¶
Same steps at https://zenodo.org. Use identical identifier (tsl-structures) so the R package works without configuration.
Adding a Dataset to the Community¶
After uploading a dataset to Zenodo, submit it to the community for inclusion.
Method 1: From Record Page (Existing Records)¶
- Go to your record page (e.g.,
https://sandbox.zenodo.org/records/415123) - Click the cog-wheel icon (⚙️) near the top of the page
- Select "Submit to community" from the dropdown
- Search for
tsl-structuresand click "Select" - Optionally add a message to curators
- Click "Submit to community"
If you're the community owner, the submission auto-approves. Otherwise, a curator must approve it.
Method 2: During Upload (New Records)¶
When creating a new upload on Zenodo:
- In the upload form, find the Community section
- Click "Select a community"
- Search for
tsl-structuresand select it - Complete the upload and publish
The record will be submitted to the community upon publication.
Approving Submissions (For Curators)¶
If you're a community curator/owner:
- Go to your community page (e.g., https://sandbox.zenodo.org/communities/tsl-structures)
- Click "Requests" or "Review submissions"
- Review pending submissions
- Click "Accept" to add the record to the community
Verifying the Setup¶
Test that discovery works in R:
library(tslstructures)
# List datasets in sandbox community
list_datasets(sandbox = TRUE)
#> # A tibble: 1 x 6
#> record_id title doi version created description
#> <chr> <chr> <chr> <chr> <chr> <chr>
#> 1 415123 TSL Test Structure Da…
10.5072/zenodo.415123 1.0.0 2024-… Test dataset...
# Get details on a specific dataset
dataset_info(415123, sandbox = TRUE)
Troubleshooting¶
"Community not found" message¶
The community hasn't been created yet, or the identifier doesn't match. Create the community with identifier tsl-structures.
Dataset not appearing in list¶
- Check the submission was approved (see curator requests)
- Verify you submitted to the correct community
- Try
refresh = TRUE:list_datasets(sandbox = TRUE, refresh = TRUE)
Sandbox vs Production confusion¶
Sandbox (https://sandbox.zenodo.org) and production (https://zenodo.org) are completely separate:
- Separate user accounts
- Separate communities
- Separate records
- Sandbox DOIs use prefix 10.5072, production uses 10.5281