Laboratory analysis of organic compounds