Scientist Jialing Zhang demonstrates using the MasSpec Pen to analyze a human tissue sample.

A prototype “pen” technology aims to give cancer surgeons a better sense of whether they’ve removed all of a tumour while in the operating room.