def get_seqs(seq_names, seq_dict):
    """Get list of sequences from list of names."""
    seqs = []
    for name in seq_names:
        if name[-1] == '*':
            name = name[:-1]
            assert name in seq_dict, 'Sequence %s referenced before definition' % name
            seqs.append(seq_dict[name].wc)
        else:
            assert name in seq_dict, 'Sequence %s referenced before definition' % name
            seqs.append(seq_dict[name])
    return seqs
