I worked with group in project about how we can use hidden Markov model to detect more member of gene family using viterbi algorithm . We construct HMM from DNA aligned sequences and then we used viterbi algorithm to calculate score for query sequence.
My question is how I can use z-score to decide if the results from viterbi are significant or not ? should I calculated the mean and the Standard deviation from aligned sequences ? if yes, how i do that and if no , what I should do ?