pub fn calculate_gather_stats(
    orig_query: &KmerMinHash,
    query: KmerMinHash,
    match_sig: SigStore,
    match_size: usize,
    gather_result_rank: usize,
    sum_weighted_found: usize,
    total_weighted_hashes: usize,
    calc_abund_stats: bool,
    calc_ani_ci: bool,
    confidence: Option<f64>
) -> Result<GatherResult>