def get_seqs_to_keep_lookup_from_fasta_file(fasta_f):
 return set([seq_id.split()[0] for (seq_id, seq) in parse_fasta(fasta_f)])

def get_seqs_to_keep_lookup_from_fasta_file ( fasta_f ) : return set ( [ seq_id . split ( ) [ 0 ] for ( seq_id , seq ) in parse_fasta ( fasta_f ) ] )
return the sequence ids within the fasta file .