INNER CODE UNIT · Python
compare_detailed
TimoLassmann/kalign · python-kalign/__init__.py:594
def compare_detailed(
reference_file: str,
test_file: str,
max_gap_frac: float = 0.2,
column_mask: Optional[List[int]] = None,
) -> dict:
"""
Compare two MSAs returning detailed POAR scores (recall, precision, F1, TC).
Parameters
----------
reference_file : str
Path to reference alignment file
test_file : str
Path to test alignment file
max_gap_frac : float, optional
Max gap fraction for scored columns (default: 0.2).
column_mask : list of int, optional