The invention discloses a directed acyclic generic
genome graph construction method based on a fragment topology sequence in the technical field of
genome graph construction, which comprises the following steps: giving a target graph, taking out a
complete sequence to be added, generating a sequence path, taking the weight of a
graph node as a basis, carrying out
anchor point search on the nodes of the sequence path, traversing a matching node set in the sequence path, and constructing a directed acyclic generic
genome graph. The method comprises the following steps of: dividing nodes of which the topology sequence coordinates are continuously increased into one group to form a node group
list, and then calculating node group sub-lists of which the topology sequences are strictly increased and which contain the most nodes by using
dynamic programming; and then deleting the matching nodes which do not exist in the sub-
list and the anchor nodes in the target graph corresponding to the matching nodes to obtain a weight-based final anchor node-matching node pair set, and the like. According to the directed acyclic generic genome graph construction method disclosed by the invention, by introducing a topology sequence and constructing a potential ring detection and exclusion technology, the
rapid construction of the directed acyclic generic genome graph is realized.