def parse_ref_db_list(ref_file_list):
    """
    Parses a file list of reference database files (in fasta format). 
    """
    with open(ref_file_list) as x: files = x.readlines()
    return [x.strip() for x in files if x.endswith('.fasta\n')]