There are two kinds of biopsies that are performed to diagnose melanoma: excisional biopsy and sentinel lymph node (SLN) biopsy. An excisional biopsy is done to find out whether a mole is actually melanoma. An SLN biopsy is done after melanoma is diagnosed, to find out whether the cancer has spread beyond the skin.