hmmgen generates a hidden Markov model for each alignment in a directory.
Here is a sample session with hmmgen:
% hmmgen
Location of sequence alignment files (input).
Extension of sequence alignment files.
Location of HMM files (output).
Extension of HMM files.