finished separation of library and sample