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

Definitions for FASTA files. More...

Functions

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

Detailed Description

Definitions for FASTA files.

Function Documentation

◆ validate()

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

If Options::fasta_file_strict_check is provided, this enables stricter checking of the FASTA file contents and indices. By default, we just look at the first few bytes to verify the files.

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