Function noLZSS::prepare_ref_target_dna_w_rc_from_fasta

Function Documentation

FastaReferenceTargetResult noLZSS::prepare_ref_target_dna_w_rc_from_fasta(const std::string &reference_fasta_path, const std::string &target_fasta_path, FastaDnaSanitizationMode sanitization_mode)

Prepares reference and target DNA sequences from FASTA files with reverse complement.

Reads reference and target FASTA files, parses DNA sequences from each, and prepares them using prepare_multiple_dna_sequences_w_rc which concatenates sequences with sentinels and appends reverse complements. Reference sequences come first, followed by target sequences. Only nucleotides A, C, T, G are allowed.

Reads reference and target FASTA files, parses DNA sequences from each, and prepares them using prepare_multiple_dna_sequences_w_rc which concatenates sequences with sentinels and appends reverse complements. Reference sequences come first, followed by target sequences. Only nucleotides A, C, T, G are allowed.

Parameters:
  • reference_fasta_path – Path to the reference FASTA file

  • target_fasta_path – Path to the target FASTA file

  • reference_fasta_path – Path to the reference FASTA file

  • target_fasta_path – Path to the target FASTA file

Returns:

FastaReferenceTargetResult containing the prepared sequence data, sequence IDs, and counts of reference and target sequences

Returns:

FastaReferenceTargetResult containing the prepared sequence data and sequence IDs