"""General utilities for processing R/qtl(2)-related data.""" def parse_missing_values_symbols(value: str) -> list[str]: """Parse a whitespace- and/or comma-separated list of unique symbols.""" return list(dict.fromkeys(value.replace(",", " ").split()))