def createAlignment(sequences, alphabet):
 return MultipleSeqAlignment((SeqRecord(Seq(s, alphabet), id=('sequence%i' % (i + 1))) for (i, s) in enumerate(sequences)), alphabet)

def createAlignment ( sequences , alphabet ) : return MultipleSeqAlignment ( ( SeqRecord ( Seq ( s , alphabet ) , id = ( 'sequence%i' % ( i + 1 ) ) ) for ( i , s ) in enumerate ( sequences ) ) , alphabet )
create an alignment object from a list of sequences .