A generalized neural network approach for separation of molecular breaking traces