The biopsy of the eye is usually done under local anesthesia. First, a thin needle is used to remove the tissue samples. Next, the doctor inserts the needle in the eye, and the suspicious tissue sample is taken for a biopsy test. Then, a biopsy test is done in the laboratory to diagnose eye melanomas