RATIONALE: Doctors use a swab to collect cell samples when testing for anal cancer and human papillomavirus. It is not yet known which type of swab is more effective in collecting cell samples for anal Pap tests and human papillomavirus tests in men who have sex with men.