def name2id(name):
    """
    convert header to id (check gene #)
    """
    try:
        return '%s_%s' % (name.split()[0], name.split('seq=', 1)[1].split()[0])
    except:
        print('name error:', name)
