The invention discloses a compression and decompression method based on generic
genome expression, and relates to the technical field of compression and decompression of
DNA next-generation
sequencing data, in particular to the compression and decompression method based on generic
genome expression. The method aims at solving the problems that in the prior art, the capacity of
processing population genetic diversity is insufficient, original sequencing
quality information cannot be effectively restored during decompression, and memory occupation is too high during large-scale
data processing. Obtaining a to-be-compressed sequencing sequence
data file, a
reference genome sequence and a thousand-person
genome variation sample; obtaining a
haplotype list, a variation
list and a
haplotype offset
list corresponding to each window block; storing the window number, the
haplotype number, the haplotype offset, the head and
tail unmatched sequences, the current sequence name and the
quality score character string into a single compression block; carrying out binding storage; completing the compression
processing of the
mass fraction; and obtaining each to-be-compressed sequencing sequence based on the result of the compressed part.