I had the same think happen to me after I had a sural nerve graft to fix a severed phrenic nerve. The shocks in my ankle are driving me crazy! Is yours still happening? What helped, if anything?
It does sound like there is some nerve irritation where they did the biopsy. It's quite possible that this could follow the pattern of phantom limb in that the remaining part of the nerve end could still be firing spotaneously and sending messages to the spinal cord and then brain. As the biopsy was recent, the symptoms will probably get better over time, but you'll just have to wait and see. In the meantime, a medication called neurontin can be helpful. I have phantom limb patients who respond also to elavil, an antidepressant that helps with nerve pain. Tell your neurologist what you are experiencing and see what they suggest. Good luck.