Methods, systems, and devices are described for treating diseases of the gastrointestinal tract, including ulcerative colitis, by delivering ablative energy to a tissue surface of the gastrointestinal tract and ablating the tissue to a controlled depth. Ablating the tissue may include removing a biofilm layer or coagulating tissue.