Question on Calculating LGT rates

THANKS for your great work! I just want to know How to get assembled genes from A and B clades, described in paper
"Rates of undirected LGT between a pair of clades (A, B) were defined as the number of A+B events seen across samples normalized to the total number of A and B genes assembled across samples (excluding repeated samples from the same individual and body site).