takane
Validators for ArtifactDB file formats
Loading...
Searching...
No Matches
takane::bigwig_file Namespace Reference

Definitions for bigWig files. More...

Functions

void validate (const std::filesystem::path &path, const ObjectMetadata &metadata, Options &options)
 

Detailed Description

Definitions for bigWig files.

Function Documentation

◆ validate()

void takane::bigwig_file::validate ( const std::filesystem::path & path,
const ObjectMetadata & metadata,
Options & options )
inline

If Options::bigwig_file_strict_check is provided, it is used to perform stricter checking of the bigWig file contents. By default, we don't look past the magic number to verify the files as this requires a dependency on heavy-duty libraries like, e.g., HTSlib.

Parameters
pathPath to the directory containing the bigWig file.
metadataMetadata for the object, typically read from its OBJECT file.
optionsValidation options.