Beta globin or other house keeping genes, such as RNase H, encode proteins that are involved in the basic function of cells, therefore they are used as indication of the quality of swabs collected. That is, if enough cells (quantitative detection of the gene, hence the use of qPCR) were collected. Since HPV is ubiquitous, it is essential to show that a sample of collected swab that is positive for HPV also had enough cells from which the HPV detected had infected. Therefore, a qPCR of a house keeping gene is essential to confirm that the HPV detected was from the sample.
Additionally, a positive house keeping gene amplification but a negative HPV detection will indicate that the sample had no HPV infection, but not due to non- amplification.