Downloads And Schema

UMDB exposes its database as browser-friendly pages and machine-readable public artifacts.

This page documents where the current release lives, what the main files contain, and how collaborators can reuse the public records without reverse-engineering the website.

Primary Public Files

All links below are versioned with the repository and intended to support direct download, inspection, and local scripting.

Schema Guide
Accession anchors SRR, BioProject, and BioSample identifiers function as the main join points across records and external repository lookups.
Run metadata The nested runinfo_row object carries SRA-derived values such as run date, library strategy, center, and platform.
Location metadata The nested geo object stores parsed country and city labels and any raw string retained during enrichment.
Assay metadata The nested assay object stores UMDB’s higher-level assay classification for filtering and analytics.
AI curation metadata The optional nested ai_curation object stores AI-reviewed sufficiency, urban-origin decisions, and corrected final annotations alongside the original metadata.
Reuse Guidance
Prefer manifest-driven loading Scripts should read the manifest first so they can accommodate future chunk-count changes without hardcoding file names.
Expect imperfect location data Downstream analyses that depend on geographic precision should explicitly filter or manually verify unresolved or ambiguous entries.
Retain accession provenance When exporting subsets, keep the original accessions so any study can be traced back to its source repository pages.

Downloading Raw FASTQ Files

UMDB now supports search-derived dataset bundling so filtered results can be converted into raw-read download inputs.

From the main explorer

Use the filters in the main database explorer, then export one of the dataset bundle options: Bundle matched runs (JSON), SRR accession list, or FASTQ download script.

FASTQ script output

The FASTQ script is generated from the current matched search results and uses SRA Toolkit commands prefetch and fasterq-dump to retrieve raw reads for the exported SRR accessions.

Bundle reuse

The JSON bundle preserves the search filters, project summaries, and run-level accessions so a dataset cohort can be archived, shared with collaborators, or re-used later without reconstructing the same search by hand.

Typical Workflow

Search for a cohort in the explorer, export the matched SRR bundle, and then run the generated shell script on a machine with SRA Toolkit installed. This gives UMDB a practical bridge from searchable metadata to raw FASTQ retrieval.

Versioned Releases And Programmatic Access

Every release is an immutable folder with checksums, suitable for a DOI. Query it with DuckDB, Python, R or SQLite; build cohorts from the command line exactly as the Workspace does.

Release layout
releases/<version>/
├── manifest.json          versions, licences, counts, SHA-256
├── schema.json            every column and type
├── checksums.sha256
├── .zenodo.json           deposit metadata (DOI)
├── umdb.sqlite.zst        the query database
├── parquet/               projects, samples, experiments, runs,
│                          locations, studies, curation_evidence,
│                          environmental_metadata, umdb_samples, umdb_runs …
├── tsv/                   umdb_samples.tsv.gz, umdb_runs.tsv.gz
├── indexes/               summary, coverage (per country), projects, geo
├── collections/           curated collections and their run lists
└── documentation/         data dictionary, methods, inclusion criteria
Query it
-- DuckDB: confirmed-urban wastewater metagenomes by country
SELECT country_name, count(*) AS samples
FROM read_parquet('parquet/umdb_samples.parquet')
WHERE urban_status = 'confirmed_urban'
  AND urban_context = 'municipal_wastewater'
  AND assay_classes LIKE '%WGS%'
GROUP BY 1 ORDER BY 2 DESC;

# A reproducible research package from the command line
umdb cohort collection global-wastewater --max-per-cell 25 --seed 20261119
umdb cohort export my_cohort.cohort.json   # saved from the Workspace
Licensing

UMDB's own work (eligibility tiers, habitat annotations, validated locations, collections, derived tables, code and documentation) is licensed CC BY-NC-SA 4.0. The underlying sequence data and submitter metadata are not UMDB's: they remain governed by the INSDC policies of their source archives (NCBI SRA, BioSample and BioProject; ENA; DDBJ). Place names and identifiers come from GeoNames (CC BY 4.0).

Suggested Citation And Use Statement

The exact manuscript citation can be added later, but the site can still provide a reviewer-friendly placeholder now.

Users of UMDB should cite both the UMDB resource and the original repositories or studies associated with any reused BioProject, BioSample, or SRR accessions. UMDB reorganizes public metadata for discovery and comparison; it does not replace the need to cite primary data generators.