Pipeline to speciate sample