Function noLZSS::strip_trailing_sentinel(const std::string&)

Function Documentation

static inline std::string noLZSS::strip_trailing_sentinel(const std::string &prepared)

Removes a trailing sentinel from a prepared no-RC string, if there is one.

prepare_multiple_dna_sequences_no_rc() only inserts sentinels between sequences, so a single prepared sequence has no trailing sentinel and must not lose its last nucleotide.