HMP_2012

4 samples in cmgd_mpa4.2-2.3.0 release 2026-10-20.

Metadata coverage

FieldSamples with a value
age_years4 / 4
sex4 / 4
country4 / 4
bmi4 / 4
antibiotics_current_use0 / 4
health_condition4 / 4

Where the values come from

FieldSourceSource releaseSamples
age_yearscmd6828fb9abdfc27a91b02e20568d27332eaf19ca44
bmicmd6828fb9abdfc27a91b02e20568d27332eaf19ca44
countrycmd6828fb9abdfc27a91b02e20568d27332eaf19ca44
health_conditioncmd6828fb9abdfc27a91b02e20568d27332eaf19ca44
sexcmd6828fb9abdfc27a91b02e20568d27332eaf19ca44

Downloads

FileSizesha256
bracken.parquet177.8 KB68d5b34f2ad50304352ad77ec5fb729807d773b8517733434df1f22897f9f575
metadata.parquet2.1 KB62c1cb385ea4c5977c31530a469a3463faaf11073615533f84d3b529307d753a
metaphlan.parquet32.2 KB2ac4fa69aade2e3862fc793f05120d991490cae89c5433396fe5af497cebfbb6
metaphlan_species.tsv.gz5.7 KBcfde827fa0fcb8d9b5b8e3ec82dcde6511875c1ec7abbbadf25dd649fa7a6db9
qc.tsv1.5 KB17a3325c50560d8ae45f8bf3d18fd9d8f728571dc13a1740ab56196643a42c1f
resistome.parquet11.1 KB42983c9bcf9b423fbe0fade6e918bef6581eb2b954f40e0ec3a392f93964937e

Query this study

-- DuckDB 1.5+: attach the whole release (read-only, fetches only what a query needs)
INSTALL ducklake; LOAD ducklake; INSTALL httpfs; LOAD httpfs;
ATTACH 'https://cmgd-public.cancerdatasci.org/cmgd_mpa4.2-2.3.0/2026-10-20/catalog.ducklake' AS cmgd (
  TYPE DUCKLAKE, DATA_PATH 'https://cmgd-public.cancerdatasci.org/cmgd_mpa4.2-2.3.0/2026-10-20/', OVERRIDE_DATA_PATH, READ_ONLY);
SELECT study_name, count(*) AS n_samples FROM cmgd.samples GROUP BY 1 ORDER BY 1;
-- Top 5 MetaPhlAn species of the sample holding a run accession, straight from Parquet.
-- run_ids / run_accessions are ';'-joined text: split them to match one run.
SELECT q.sample_key, m.clade_name, m.relative_abundance
FROM read_parquet('https://cmgd-public.cancerdatasci.org/cmgd_mpa4.2-2.3.0/2026-10-20/tables/taxonomic_profile_metaphlan/data/part-00000.parquet') m
JOIN read_parquet('https://cmgd-public.cancerdatasci.org/cmgd_mpa4.2-2.3.0/2026-10-20/tables/qc_metrics/data/part-00000.parquet') q USING (sample_key)
WHERE list_contains(string_split(q.run_ids, ';'), 'SRR061736')
  AND m.rank = 'species' AND m.data_type = 'full_data' AND m.humann_bundle IS NULL
ORDER BY m.relative_abundance DESC LIMIT 5;
-- A study's samples: readset id, runs, BioSample, BioProject
SELECT sample_key, run_accessions, biosample, bioproject
FROM read_parquet('https://cmgd-public.cancerdatasci.org/cmgd_mpa4.2-2.3.0/2026-10-20/tables/samples/data/part-00000.parquet')
WHERE study_name = 'HMP_2012';
-- A study's harmonized metadata, with the source and source release of each value
SELECT sample_key, field, value, source, release, route, confidence
FROM read_parquet('https://cmgd-public.cancerdatasci.org/cmgd_mpa4.2-2.3.0/2026-10-20/tables/sample_metadata_harmonized/data/part-00000.parquet')
WHERE study_name = 'HMP_2012' ORDER BY sample_key, field;

Samples

ReadsetRunsBioSampleBioProjectCompleted
RS.TmT0Eyq_hVxQIEG6-QaeInLC6JSJBOWISRR061736; SRR061737; SRR064530; SRR064531SAMN00088364PRJNA484792026-10-10
RS.Tsrqvf5AWZdYcDsclyngZmoLsUaQVXEzSRR062284; SRR062312; SRR346665; SRR346695; SRR353629SAMN00036858PRJNA484792026-10-10
RS.doEGGChEsTvKhv8k6-mvWi6aUbnTHY_GSRR062318; SRR062319; SRR346674; SRR346690; SRR353622SAMN00039803PRJNA484792026-10-10
RS.tCa7ObnFLXG3P1uaUUSsAuBTrz1L_h_WSRR061206; SRR061207; SRR346658; SRR346685; SRR346709SAMN00064751PRJNA484792026-10-10