The present application relates to the field of nanopore sequencing, and in particular, to a method and apparatus for processing a first vectorized representation sequence representing a polymer, a method and apparatus for processing a posterior matrix, a computing device, a computer-readable storage medium, and a computer program product. The method for processing a first vectorized representation sequence representing a polymer comprises: inputting a first vectorized representation sequence into a first machine learning model to obtain a weight vector, wherein the weight vector has the same length as the first vectorized representation sequence and comprises a plurality of predicted translocation values, and each predicted translocation value indicates how many polymer units a polymer has moved at a corresponding time step relative to an observation site of nanopore sequencing; and integrating the first vectorized representation sequence and the weight vector to obtain a second vectorized representation sequence representing the polymer.
Full Text
What is claimed is: