A spectrometer isn't particularly large or difficult to run, so that would be a possibility. Gas/Liquid Chromatography takes a little bit more effort and space, but I'm sure it could be done.
It would probably need to be solve somehow, yes.Also isn't space radiation one of the major drawbacks of colonizing mars?
--
Mats