generate per sample summary