Function noLZSS::parse_fasta_sequences_and_ids

Function Documentation

FastaParseResult noLZSS::parse_fasta_sequences_and_ids(const std::string &fasta_path, FastaDnaSanitizationMode sanitization_mode = FastaDnaSanitizationMode::RemoveAmbiguous)

Helper function to parse FASTA file into individual sequences and IDs.

Internal helper function exposed for use by parallel_fasta_processor.

Parameters:
  • fasta_path – Path to the FASTA file

  • sanitization_mode – FASTA DNA sanitization policy

Throws:

std::runtime_error – If file cannot be opened or contains no valid sequences

Returns:

FastaParseResult containing sequences and their IDs