Hi! I calculated like this for my program (you blast against your own primer stock database and get % match per primers to your query sequence): percent = float(100) * float(hsp.score) / float(alignment.length) Regards Stefanie