combine pairwise module in Biopython