extracting consensus sequence for each host