Build the metadata files required in the MetaHQ data package.

Attributes:
  • db_path (Path) –

    Path to OmicIDX DuckDB database.

  • sample_table (str) –

    Name of the samples metadata table in OmicIDX.

  • series_table (str) –

    Name of the series metadata table in OmicIDX.

build_from_db(sample_db=SAMPLE_COMBINED_BSON, series_db=SERIES_COMBINED_BSON)

Build the metadata files.

save(sample_outfile=SAMPLE_METADATA, series_outfile=SERIES_METADATA)

Save sample and series metadata for the MetaHQ data package.