I am trying to parse psiblast reports for the HSPs of the query and the subject sequences. The blast ouptut contains more than one query sequence, with each of them having more than one iteration. The parser reaches the end of file to determine the last_iteration of the last sequence instead of the corresponding last_iteration of each query sequence. Thanks for any help. -Geetha Vasudevan.