Sample preparation for chromatography