Biopsy gives the diagnosis. The majority of cancers are squamous cancers, as expected as the lining of the anus is squamous epithelium. Staging follows and a pelvic scan, as well as abdominal scanning and chest x-ray. Viral studies and other blood tests are routinely assessed.