def get_filt_raref_suffix(p_filt_threshs: str, raref: bool) -> str:
    """Create a suffix based on passed config to denote
     whether the run is for filtered and/or rarefied data.

    Parameters
    ----------
    p_filt_threshs : str
        Minimum sample read abundance to be kept in the sample
    raref : bool
        Whether to repeat all analyses on rarefied datasets (must be
        set for a config passed to `-r` to be used)

    Returns
    -------
    filt_raref : str
        Suffix for output scripts denoting whether the
        run is for filtered and/or rarefied data
    """
    filt_raref = ''
    if p_filt_threshs:
        filt_raref += '_flt'
    if raref:
        filt_raref += '_rrf'
    return filt_raref