Function noLZSS::factorize_dna_rc_w_ref_fasta_files
Defined in File fasta_processor.cpp
Function Documentation
-
FastaFactorizationResult noLZSS::factorize_dna_rc_w_ref_fasta_files(const std::string &reference_fasta_path, const std::string &target_fasta_path, FastaDnaSanitizationMode sanitization_mode)
Factorizes DNA sequences from reference and target FASTA files with reverse complement awareness.
Reads two FASTA files (reference and target), concatenates their sequences with sentinels, prepares them for factorization using prepare_multiple_dna_sequences_w_rc(), and then performs noLZSS factorization starting from the target sequences.
Reads two FASTA files (reference and target), concatenates their sequences with sentinels, prepares them using prepare_multiple_dna_sequences_w_rc(), and performs factorization starting from the target sequence region. Returns factors alongside sentinel metadata and sequence IDs.
- 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:
FastaFactorizationResult containing the factors, sentinel factor indices, and sequence IDs
- Returns:
FastaFactorizationResult containing factors, sentinel indices, and sequence IDs