is_susceptible_rrl

Function is_susceptible_rrl 

Source
pub fn is_susceptible_rrl(
    pos_opt: Option<&RrlPosition2058_2059>,
    snp_calls: &[RrlSnpCall],
) -> Option<bool>
Expand description

Returns Some(true) for wildtype (susceptible), Some(false) for a resistance-conferring mutation, and None when the call is undetermined.

If any snp_calls entry shows a resistance-conferring alt base, returns Some(false) regardless of pos_opt. Otherwise delegates to the position-based call. pos_opt: None (anchor not found) still allows SNP calls to return Some(false).