Skip to contents

Defines and validates the first approved real-data source used by popgenVCF. Staged files are verified against the archive-published MD5 inventory before being promoted into the package's SHA-256 canonical dataset contract.

Usage

canonical_1000g_chrY_source()

validate_canonical_source(source)

verify_canonical_source(source, directory)

canonical_dataset_from_source(source, directory)

approved_1000g_chrY_registry(
  directory,
  source = canonical_1000g_chrY_source()
)

write_approved_canonical_source_evidence(source, directory, output_dir)

Arguments

source

Canonical source specification containing dataset identity, review provenance, source URLs, and the upstream MD5 inventory.

directory

Directory containing the complete locally staged source file inventory.

output_dir

Directory where deterministic verification, registry, and canonical dataset evidence is written.

Value

canonical_1000g_chrY_source() returns a named source specification. validate_canonical_source() returns source invisibly. verify_canonical_source() returns a deterministic verification data frame. canonical_dataset_from_source() returns a PopgenVCFCanonicalDataset. approved_1000g_chrY_registry() returns a registry containing one approved descriptor. write_approved_canonical_source_evidence() returns named evidence paths.