import re


def filter_file_list(files, targets):
    """
    >>> import re
    >>> files = ['est.tar.gz', 'nr.00.tar.gz', 'wgs.00.tar.gz', 'est_others.tar.gz', 'nt.00.tar.gz']
    >>> targets = ['est', 'nr']
    >>> filter_file_list(files, targets)
    ['est.tar.gz', 'nr.00.tar.gz']
    """
    p = re.compile('^(%s)\..*(tar.gz)$' % "|".join(targets))
    return [f for f in files if p.match(f)]