A pattern-driven Huffman encoding and positional encoding for DNA compression
Downloads
Published
Keywords:
Compression Ratio, Deoxyribonucleic Acid, Huffman Coding, Positional Encoding TechniqueDimensions Badge
Issue
Section
License
Copyright (c) 2025 The Scientific Temper

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
Researchers from bioinformatics, biology, biotechnology, and medical sciences who are engaged in genetic data analysis face significant challenges in the manipulation and storage of large datasets. Compression algorithms are essential for increasing storage capacity and reducing the number of bits required to represent nucleotide bases. The Pattern-driven Huffman Encoding and Positional Encoding for DNA Compression (P2DNAComp) algorithm is designed to compress both non-repetitive and repetitive pattern bases within DNA sequences. This demonstrates the algorithm’s adaptability across various pattern types in genomic data. P2DNAComp employs a systematic approach to efficiently compress DNA sequences. It reads the sequences and constructs a symbol table to maintain the positional values of repeated patterns. Using Huffman coding, the algorithm determines the optimal bit representation for each repeated pattern to maximize storage efficiency. For non-repetitive patterns, a coded table is created to store positional values. Subsequently, a positional encoding technique is applied to minimize the number of bits needed for efficient representation. The maximum positional value is set as the upper limit, and the minimum number of bits required is computed using a binary logarithm function. The final compressed sequence is generated by encoding both repetitive and non-repetitive patterns. Using standard datasets from the GenBank database, the performance of the P2DNAComp algorithm was evaluated based on compression ratio, compression/decompression time, and compression gain. The algorithm achieved an average compression ratio of 1.09 bits per base (bpb), an average compression gain of 86.279%, and average compression and decompression times of 0.547 and 0.563 seconds, respectively.Abstract
How to Cite
Downloads
Similar Articles
- G. C. Sowparnika, D. A. Vijula, Modeling and control of boiler in thermal power plant using model reference adaptive control , The Scientific Temper: Vol. 15 No. 01 (2024): The Scientific Temper
- R. Porselvi, D. Kanchana, Beulah Jackson, L. Vigneash, Dynamic resource management for 6G vehicular networks: CORA-6G offloading and allocation strategies , The Scientific Temper: Vol. 15 No. 02 (2024): The Scientific Temper
- Somalee Mahapatra, Manoranjan Dash, Subhashis Mohanty, Adoption of artificial intelligence and the internet of things in dental biomedical waste management , The Scientific Temper: Vol. 15 No. 03 (2024): The Scientific Temper
You may also start an advanced similarity search for this article.

