In my bioinformatics course we studied the BLAST agorithm. After finding the HSP's and joining the HSPs together that are close enough and in a correct diagonal trend, we perform a next step: namely a Smith-Waterman alignment. Why do we do this? Didn't BLAST already find the alignment by joinging the HSPs?
I also have a second question about BLAST. When calculating the E-value with the formula:
$E=K \times m \times n \times e ^{\lambda S}$
Which score is this S exactly? Is it the score found for the HSP with the used substitution matrix? What is the score if we have multiple HSPs in one database entry? Is the E-value, and thus the S-score, calculated seperatly for every HSP or is it a value for the entry in total?