gnomad_qc.v4.resources.meta

Script containing metadata related resources.

Module Functions

gnomad_qc.v4.resources.meta.meta_tsv_path([...])

Get the path to the finalized sample metadata information after sample QC.

gnomad_qc.v4.resources.meta.meta([version, ...])

Get the gnomAD v4 sample QC meta VersionedTableResource.

Script containing metadata related resources.

gnomad_qc.v4.resources.meta.meta_tsv_path(version='4.0', data_type='exomes')[source]

Get the path to the finalized sample metadata information after sample QC.

Parameters:
  • version (str) – gnomAD version.

  • data_type (str) – Data type (“exomes” or “genomes”). Default is “exomes”.

Return type:

str

Returns:

String path to the finalized metadata TSV.

gnomad_qc.v4.resources.meta.meta(version='4.0', data_type='exomes')[source]

Get the gnomAD v4 sample QC meta VersionedTableResource.

Function will check that metadata exists for the requested gnomAD version and data type and will throw an error if it doesn’t exist.

Parameters:
  • version (str) – gnomAD version.

  • data_type (str) – Data type (“exomes” or “genomes”). Default is “exomes”.

Return type:

TableResource

Returns:

gnomAD v4 sample meta VersionedTableResource.