def get_seqs_to_keep_lookup_from_seq_id_file(id_to_keep_f):
 return set([l.split()[0].strip() for l in id_to_keep_f if (l.strip() and (not l.startswith('#')))])

def get_seqs_to_keep_lookup_from_seq_id_file ( id_to_keep_f ) : return set ( [ l . split ( ) [ 0 ] . strip ( ) for l in id_to_keep_f if ( l . strip ( ) and ( not l . startswith ( '#' ) ) ) ] )
generate a lookup dict of chimeras in chimera file .