def get_removed_fraction(untrimmed_alignment_size, no_sites_trimmed):
    """Calculate percentage of sites removed given alignment size and number of sites trimmed."""
    removed_fraction = no_sites_trimmed / untrimmed_alignment_size
    return removed_fraction
