Edited to correctly collect the length of the aligned hit, the fraction length of the query sequence and the fraction identity of the hit sequence