Experimenting with Burrows-Wheeler Compression

Size: px
Start display at page:

Download "Experimenting with Burrows-Wheeler Compression"

Transcription

1 Experimenting with Burrows-Wheeler Compression Juha Kärkkäinen University of Helsinki (Work done mostly as Visiting Scientist at Google Zürich) 3rd Workshop on Compression, Text and Algorithms Melbourne, Australia, 13 November 28 WCTA8 p.1

2 Experimental Burrows-Wheeler Compressor Goals for the project Fast BW transform with large block sizes on repetitive texts Platform for experimenting with different techniques for BW transform compressing BWT Study the effect of block size on compression Compressor with high compression and good speed WCTA8 p.2

3 Burrows-Wheeler Transform Reverse and add sentinels BANANA #ANANAB# Split into prefix and suffix at every position Sort by suffix and take the last symbols of prefix # ANANAB# #A 1 NANAB# #AN 2 ANAB# #ANA 3 NAB# #ANAN 4 AB# #ANANA 5 B# #ANANAB 6 # BWT = BNN#AAA #ANANA B 6 # #ANA N 4 AB# #A N 2 ANAB# # ANANAB# #ANAN A 5 B# #AN A 3 NAB# # A 1 NANAB# WCTA8 p.3

4 Example sprang up, mounted their horses, and gallo self had attempted the ascent. It was alm He then observed that the grass partly h a sound and seized the bird s two feet wit the price, he paid the man in gold, who, s ed." "Good," said the czar. "If you have t your word," said the hunter. He then be "Very well," said the hunter. " You will if they can," said the czar. The hunter wa ome nankeen," said the second. The younge if he could behold the top of the mountain e Unlucky was told that an enormous army o tiful skies." And the apple began to roll es and riders! And this had been the end o WCTA8 p.4

5 Example All characters following th in a 16 KiB block of English. oreeereoeeieeeeaooeeeeeaereeeeeeeeeeeeereee eeeeeeeaaeeaeeeeeeeeeaeeeeeeeeaeieeeeeeeeer eeeeeeeeeeeeeeeeeeeeeeeeaeeieeeeeeaaieeeeee eeeeeeeeeeeeeeeeeeeeeeeeeeaeieeeeeeeeeeeeee eeeeeeeeeeeeeeaeeeeeeeeeeeeeeeeeeeeereeeeee eeeeeieaeeeeieeeeaeeeeeeeeeieeeeeeeeeeeeiee eeeeeeioaaeeaoereeeeeeeeeeaaeaaeeeeieeeeeee ieeeeeeeeaeeeeeeaeeeeeereeeaeeeeeieeeeeeeei ieee. e eeeeiiiiii e, i o oo e eiiiiee,er,,,. iii WCTA8 p.5

6 Burrows Wheeler Compression 1. Divide text into blocks (if necessary) 2. Compute BWT for each block 3. Compress the BWT with an entropy compressor BWT brings characters with similar context together. Easy to compress using simple local models Run-length encoding Move-to-front encoding WCTA8 p.6

7 Compressing Distant Repeats Many compression algorithms need a compression model with a long memory. BW compression survives with short memory entropy compressor. BW compression needs BW transform for large blocks. bzip2 blocksize is only 9 KB WCTA8 p.7

8 Fast BWT for Large Blocks Computing BWT is demanding when blocksize is large text contains lots of repeats, i.e., is highly compressible bzip2 performance suffers Combination of techniques Optimized induced copying Tuned multikey quicksort Difference cover sampling O(n log n) worst case Inverse BWT modified for large blocks WCTA8 p.8

9 Entropy Compressor for BWT Inspired by bbb compressor by Matt Mahoney 1. Run-length encoding aaabbbbb... (a,3)(b,5) Bit encoding: (8 bit code, Elias gamma code) (a,3)(b,5)... (111,11)(111,111) 3. Determine a probability for each bit Complex adaptive model 4. Arithmetic coding WCTA8 p.9

10 Predicting Bits Each bit has a context Character bit context depends on position of bit in the byte preceding bits in the byte last few preceding distinct characters (MTF) + Are the preceding bits same? + If yes, the bit in this position Run length code bit context depends on bit position associated character (first bit) some preceding bits WCTA8 p.1

11 Mapping context to probability Stationary model Each context has its own stored probability Small adjustment with each bit Non-stationary model Each bit causes a state transition in an automaton. Each state has a slowly adapting probability. Neighbour states adjusted too. WCTA8 p.11

12 Wikipedia HTML tar-archive (6 1 GiB) CPU Time (sec) Compression ratio Compression Time Decompression Time Compression ratio (%) bzip2 Blocksize (MiB) WCTA8 p.12

13 Wikipedia XML from LTCB (1 GB) 8 3 CPU Time (sec) Compression ratio bbb durilca Compression Time Decompression Time bzip2 Blocksize (MiB) Compression ratio (%) WCTA8 p.13

14 25 mutated copies of DNA (25 16 MB) 7 3 CPU Time (sec) Compression ratio Compression Time Decompression Time bzip2 Blocksize (MiB) Compression ratio (%) WCTA8 p.14

15 English from Pizza & Chili (2 1 GiB) 9 3 CPU Time (sec) Compression ratio ppmdi -l 9 Compression Time Decompression Time Compression ratio (%) bzip2 Blocksize (MiB) WCTA8 p.15

16 Proteins from Pizza & Chili (1 GiB) CPU Time (sec) Compression ratio ppmdi -l 9 Compression Time Decompression Time Compression ratio (%) bzip2 Blocksize (MiB) WCTA8 p.16

17 XML from Pizza & Chili (282 MiB) CPU Time (sec) Compression ratio ppmdi -l 9 Compression Time Decompression Time bzip2 Blocksize (MiB) Compression ratio (%) WCTA8 p.17

18 DNA from Pizza & Chili (385 MiB) 4 3 CPU Time (sec) Compression ratio ppmdi -l Compression Time Decompression Time Compression ratio (%) bzip2 Blocksize (MiB) WCTA8 p.18

19 Sources from Pizza & Chili (21 MiB) 14 2 CPU Time (sec) Compression ratio ppmdi -l 9 Compression Time Decompression Time Compression ratio (%) bzip2 Blocksize (MiB) WCTA8 p.19

20 Pitches from Pizza & Chili (53 MiB) CPU Time (sec) Compression ratio ppmdi -l Compression Time Decompression Time Compression ratio (%) bzip2 Blocksize (MiB) WCTA8 p.2

21 Things to do Computing BWT Faster Use less space larger blocks Faster entropy (de)compression Reduce bits: Huffman? From bits to larger units Better compression? Pre-BWT compression: LZ? Compressed self-indexes WCTA8 p.21

Burrows Wheeler Transform

Burrows Wheeler Transform Burrows Wheeler Transform The Burrows Wheeler transform (BWT) is an important technique for text compression, text indexing, and their combination compressed text indexing. Let T [0..n] be the text with

More information

LCP Array Construction

LCP Array Construction LCP Array Construction The LCP array is easy to compute in linear time using the suffix array SA and its inverse SA 1. The idea is to compute the lcp values by comparing the suffixes, but skip a prefix

More information

LIPT-Derived Transform Methods Used in Lossless Compression of Text Files

LIPT-Derived Transform Methods Used in Lossless Compression of Text Files ROMANIAN JOURNAL OF INFORMATION SCIENCE AND TECHNOLOGY Volume 14, Number 2, 2011, 149 158 LIPT-Derived Transform Methods Used in Lossless Compression of Text Files Radu RĂDESCU Politehnica University of

More information

STUDY OF VARIOUS DATA COMPRESSION TOOLS

STUDY OF VARIOUS DATA COMPRESSION TOOLS STUDY OF VARIOUS DATA COMPRESSION TOOLS Divya Singh [1], Vimal Bibhu [2], Abhishek Anand [3], Kamalesh Maity [4],Bhaskar Joshi [5] Senior Lecturer, Department of Computer Science and Engineering, AMITY

More information

COMPRESSION OF SMALL TEXT FILES

COMPRESSION OF SMALL TEXT FILES COMPRESSION OF SMALL TEXT FILES Jan Platoš, Václav Snášel Department of Computer Science VŠB Technical University of Ostrava, Czech Republic jan.platos.fei@vsb.cz, vaclav.snasel@vsb.cz Eyas El-Qawasmeh

More information

Suffix Array Construction

Suffix Array Construction Suffix Array Construction Suffix array construction means simply sorting the set of all suffixes. Using standard sorting or string sorting the time complexity is Ω(DP (T [0..n] )). Another possibility

More information

Permuted Longest-Common-Prefix Array

Permuted Longest-Common-Prefix Array Permuted Longest-Common-Prefix Array Juha Kärkkäinen University of Helsinki Joint work with Giovanni Manzini and Simon Puglisi CPM 2009 Lille, France, June 2009 CPM 2009 p. 1 Outline 1. Background 2. Description

More information

Experiments in Compressing Wikipedia. A thesis presented to. the faculty of. In partial fulfillment. of the requirements for the degree

Experiments in Compressing Wikipedia. A thesis presented to. the faculty of. In partial fulfillment. of the requirements for the degree Experiments in Compressing Wikipedia A thesis presented to the faculty of the Russ College of Engineering and Technology of Ohio University In partial fulfillment of the requirements for the degree Master

More information

A Fast Block sorting Algorithm for lossless Data Compression

A Fast Block sorting Algorithm for lossless Data Compression A Fast Block sorting Algorithm for lossless Data Compression DI Michael Schindler Vienna University of Technology Karlsplatz 13/1861, A 1040 Wien, Austria, Europe michael@eiunix.tuwien.ac.at if.at is transformed

More information

arxiv: v3 [cs.ds] 29 Jun 2010

arxiv: v3 [cs.ds] 29 Jun 2010 Sampled Longest Common Prefix Array Jouni Sirén Department of Computer Science, University of Helsinki, Finland jltsiren@cs.helsinki.fi arxiv:1001.2101v3 [cs.ds] 29 Jun 2010 Abstract. When augmented with

More information

Succinct Data Structures: Theory and Practice

Succinct Data Structures: Theory and Practice Succinct Data Structures: Theory and Practice March 16, 2012 Succinct Data Structures: Theory and Practice 1/15 Contents 1 Motivation and Context Memory Hierarchy Succinct Data Structures Basics Succinct

More information

COSC431 IR. Compression. Richard A. O'Keefe

COSC431 IR. Compression. Richard A. O'Keefe COSC431 IR Compression Richard A. O'Keefe Shannon/Barnard Entropy = sum p(c).log 2 (p(c)), taken over characters c Measured in bits, is a limit on how many bits per character an encoding would need. Shannon

More information

MIGRATORY COMPRESSION Coarse-grained Data Reordering to Improve Compressibility

MIGRATORY COMPRESSION Coarse-grained Data Reordering to Improve Compressibility MIGRATORY COMPRESSION Coarse-grained Data Reordering to Improve Compressibility Xing Lin *, Guanlin Lu, Fred Douglis, Philip Shilane, Grant Wallace * University of Utah EMC Corporation Data Protection

More information

So, what is data compression, and why do we need it?

So, what is data compression, and why do we need it? In the last decade we have been witnessing a revolution in the way we communicate 2 The major contributors in this revolution are: Internet; The explosive development of mobile communications; and The

More information

Evolutionary Lossless Compression with GP-ZIP

Evolutionary Lossless Compression with GP-ZIP Evolutionary Lossless Compression with GP-ZIP Ahmad Kattan and Riccardo Poli Abstract In this paper we propose a new approach for applying Genetic Programming to lossless data compression based on combining

More information

An Asymmetric, Semi-adaptive Text Compression Algorithm

An Asymmetric, Semi-adaptive Text Compression Algorithm An Asymmetric, Semi-adaptive Text Compression Algorithm Harry Plantinga Department of Computer Science University of Pittsburgh Pittsburgh, PA 15260 planting@cs.pitt.edu Abstract A new heuristic for text

More information

Data Compression. Guest lecture, SGDS Fall 2011

Data Compression. Guest lecture, SGDS Fall 2011 Data Compression Guest lecture, SGDS Fall 2011 1 Basics Lossy/lossless Alphabet compaction Compression is impossible Compression is possible RLE Variable-length codes Undecidable Pigeon-holes Patterns

More information

Cache-efficient string sorting for Burrows-Wheeler Transform. Advait D. Karande Sriram Saroop

Cache-efficient string sorting for Burrows-Wheeler Transform. Advait D. Karande Sriram Saroop Cache-efficient string sorting for Burrows-Wheeler Transform Advait D. Karande Sriram Saroop What is Burrows-Wheeler Transform? A pre-processing step for data compression Involves sorting of all rotations

More information

Gipfeli - High Speed Compression Algorithm

Gipfeli - High Speed Compression Algorithm Gipfeli - High Speed Compression Algorithm Rastislav Lenhardt I, II and Jyrki Alakuijala II I University of Oxford United Kingdom rastislav.lenhardt@cs.ox.ac.uk II Google Switzerland GmbH jyrki@google.com

More information

Wavelets, for the Layman. Mike Acton 25 Jan 08

Wavelets, for the Layman. Mike Acton 25 Jan 08 Wavelets, for the Layman Mike Acton 25 Jan 08 Introduction This won t be math-heavy. De-mystify the jargon. Enough understanding to use it yourself. Just an introduction From here you ll know what to look

More information

Data Compression Techniques

Data Compression Techniques Data Compression Techniques Part 2: Text Compression Lecture 6: Dictionary Compression Juha Kärkkäinen 15.11.2017 1 / 17 Dictionary Compression The compression techniques we have seen so far replace individual

More information

1. Introduction %$%&'() *+,(-

1. Introduction %$%&'() *+,(- ! "#$ %$%&'() *+,(- *./01# The lossless Burrows-Wheeler compression algorithm has received considerable attention over recent years for both its simplicity and effectiveness. It is based on a permutation

More information

Linear-Time Suffix Array Implementation in Haskell

Linear-Time Suffix Array Implementation in Haskell Linear-Time Suffix Array Implementation in Haskell Anna Geiduschek and Ben Isaacs CS240H Final Project GitHub: https://github.com/ageiduschek/dc3 Suffix Array June 5th, 2014 Abstract The purpose of our

More information

Multimedia Networking ECE 599

Multimedia Networking ECE 599 Multimedia Networking ECE 599 Prof. Thinh Nguyen School of Electrical Engineering and Computer Science Based on B. Lee s lecture notes. 1 Outline Compression basics Entropy and information theory basics

More information

ECE 499/599 Data Compression & Information Theory. Thinh Nguyen Oregon State University

ECE 499/599 Data Compression & Information Theory. Thinh Nguyen Oregon State University ECE 499/599 Data Compression & Information Theory Thinh Nguyen Oregon State University Adminstrivia Office Hours TTh: 2-3 PM Kelley Engineering Center 3115 Class homepage http://www.eecs.orst.edu/~thinhq/teaching/ece499/spring06/spring06.html

More information

Data Representation. Types of data: Numbers Text Audio Images & Graphics Video

Data Representation. Types of data: Numbers Text Audio Images & Graphics Video Data Representation Data Representation Types of data: Numbers Text Audio Images & Graphics Video Analog vs Digital data How is data represented? What is a signal? Transmission of data Analog vs Digital

More information

Compression of Concatenated Web Pages Using XBW

Compression of Concatenated Web Pages Using XBW Compression of Concatenated Web Pages Using XBW Radovan Šesták and Jan Lánský Charles University, Faculty of Mathematics and Physics, Department of Software Engineering Malostranské nám. 25, 118 00 Praha

More information

ADVANCED LOSSLESS TEXT COMPRESSION ALGORITHM BASED ON SPLAY TREE ADAPTIVE METHODS

ADVANCED LOSSLESS TEXT COMPRESSION ALGORITHM BASED ON SPLAY TREE ADAPTIVE METHODS ADVANCED LOSSLESS TEXT COMPRESSION ALGORITHM BASED ON SPLAY TREE ADAPTIVE METHODS RADU RĂDESCU, ANDREEA HONCIUC *1 Key words: Data compression, Splay Tree, Prefix, ratio. This paper presents an original

More information

6.338 Final Paper: Parallel Huffman Encoding and Move to Front Encoding in Julia

6.338 Final Paper: Parallel Huffman Encoding and Move to Front Encoding in Julia 6.338 Final Paper: Parallel Huffman Encoding and Move to Front Encoding in Julia Gil Goldshlager December 2015 1 Introduction 1.1 Background The Burrows-Wheeler transform (BWT) is a string transform used

More information

Distributed Suffix Array Construction

Distributed Suffix Array Construction Distributed Suffix Array Construction Huibin Shen Department of Computer Science University of Helsinki String Processing Project April 25, 2012 Huibin Shen (U.H.) Distributed Suffix Array Construction

More information

Data Compression Algorithms

Data Compression Algorithms Data Compression Algorithms Introduction Marcus Hutter (*1967) ANU Canberra 5310.2017 NSWI072-1 Data compression The process of converting an input data stream (the source stream, the original raw data)

More information

CS 493: Algorithms for Massive Data Sets Dictionary-based compression February 14, 2002 Scribe: Tony Wirth LZ77

CS 493: Algorithms for Massive Data Sets Dictionary-based compression February 14, 2002 Scribe: Tony Wirth LZ77 CS 493: Algorithms for Massive Data Sets February 14, 2002 Dictionary-based compression Scribe: Tony Wirth This lecture will explore two adaptive dictionary compression schemes: LZ77 and LZ78. We use the

More information

ISSN (ONLINE): , VOLUME-3, ISSUE-1,

ISSN (ONLINE): , VOLUME-3, ISSUE-1, PERFORMANCE ANALYSIS OF LOSSLESS COMPRESSION TECHNIQUES TO INVESTIGATE THE OPTIMUM IMAGE COMPRESSION TECHNIQUE Dr. S. Swapna Rani Associate Professor, ECE Department M.V.S.R Engineering College, Nadergul,

More information

Lossless Compression Algorithms

Lossless Compression Algorithms Multimedia Data Compression Part I Chapter 7 Lossless Compression Algorithms 1 Chapter 7 Lossless Compression Algorithms 1. Introduction 2. Basics of Information Theory 3. Lossless Compression Algorithms

More information

CMSC423: Bioinformatic Algorithms, Databases and Tools. Exact string matching: Suffix trees Suffix arrays

CMSC423: Bioinformatic Algorithms, Databases and Tools. Exact string matching: Suffix trees Suffix arrays CMSC423: Bioinformatic Algorithms, Databases and Tools Exact string matching: Suffix trees Suffix arrays Searching multiple strings Can we search multiple strings at the same time? Would it help if we

More information

Experimental Evaluation of List Update Algorithms for Data Compression

Experimental Evaluation of List Update Algorithms for Data Compression Experimental Evaluation of List Update Algorithms for Data Compression Reza Dorrigiv 1, Alejandro López-Ortiz 1, and J. Ian Munro 1 Cheriton School of Computer Science, University of Waterloo, Waterloo,

More information

David Rappaport School of Computing Queen s University CANADA. Copyright, 1996 Dale Carnegie & Associates, Inc.

David Rappaport School of Computing Queen s University CANADA. Copyright, 1996 Dale Carnegie & Associates, Inc. David Rappaport School of Computing Queen s University CANADA Copyright, 1996 Dale Carnegie & Associates, Inc. Data Compression There are two broad categories of data compression: Lossless Compression

More information

Incremental Frequency Count A post BWT-stage for the Burrows-Wheeler Compression Algorithm

Incremental Frequency Count A post BWT-stage for the Burrows-Wheeler Compression Algorithm Incremental Frequency Count A post BWT-stage for the Burrows-Wheeler Compression Algorithm Jürgen Abel Ingenieurbüro Dr. Abel GmbH, Lechstrasse 1, 41469 Neuss Germany Telephon: +49 2137 999333 Email: juergen.abel@data-compression.info

More information

Parallel Lightweight Wavelet Tree, Suffix Array and FM-Index Construction

Parallel Lightweight Wavelet Tree, Suffix Array and FM-Index Construction Parallel Lightweight Wavelet Tree, Suffix Array and FM-Index Construction Julian Labeit Julian Shun Guy E. Blelloch Karlsruhe Institute of Technology UC Berkeley Carnegie Mellon University julianlabeit@gmail.com

More information

INTERNATIONAL JOURNAL OF PURE AND APPLIED RESEARCH IN ENGINEERING AND TECHNOLOGY

INTERNATIONAL JOURNAL OF PURE AND APPLIED RESEARCH IN ENGINEERING AND TECHNOLOGY Rashmi Gadbail,, 2013; Volume 1(8): 783-791 INTERNATIONAL JOURNAL OF PURE AND APPLIED RESEARCH IN ENGINEERING AND TECHNOLOGY A PATH FOR HORIZING YOUR INNOVATIVE WORK EFFECTIVE XML DATABASE COMPRESSION

More information

Information Technology Department, PCCOE-Pimpri Chinchwad, College of Engineering, Pune, Maharashtra, India 2

Information Technology Department, PCCOE-Pimpri Chinchwad, College of Engineering, Pune, Maharashtra, India 2 Volume 5, Issue 5, May 2015 ISSN: 2277 128X International Journal of Advanced Research in Computer Science and Software Engineering Research Paper Available online at: www.ijarcsse.com Adaptive Huffman

More information

Multiple-Pattern Matching In LZW Compressed Files Using Aho-Corasick Algorithm ABSTRACT 1 INTRODUCTION

Multiple-Pattern Matching In LZW Compressed Files Using Aho-Corasick Algorithm ABSTRACT 1 INTRODUCTION Multiple-Pattern Matching In LZW Compressed Files Using Aho-Corasick Algorithm Tao Tao, Amar Mukherjee School of Electrical Engineering and Computer Science University of Central Florida, Orlando, Fl.32816

More information

Technical lossless / near lossless data compression

Technical lossless / near lossless data compression Technical lossless / near lossless data compression Nigel Atkinson (Met Office, UK) ECMWF/EUMETSAT NWP SAF Workshop 5-7 Nov 2013 Contents Survey of file compression tools Studies for AVIRIS imager Study

More information

Lossless Audio Coding based on Burrows Wheeler Transform and Run Length Encoding Algorithm

Lossless Audio Coding based on Burrows Wheeler Transform and Run Length Encoding Algorithm Lossless Audio Coding based on Burrows Wheeler Transform and Run Length Encoding Algorithm Pratibha Warkade 1, Agya Mishra 2 M.E. Scholar, Dept. of Electronics and Telecommunication Engineering, Jabalpur

More information

A New Compression Method Strictly for English Textual Data

A New Compression Method Strictly for English Textual Data A New Compression Method Strictly for English Textual Data Sabina Priyadarshini Department of Computer Science and Engineering Birla Institute of Technology Abstract - Data compression is a requirement

More information

CS : Data Structures Michael Schatz. Nov 14, 2016 Lecture 32: BWT

CS : Data Structures Michael Schatz. Nov 14, 2016 Lecture 32: BWT CS 600.226: Data Structures Michael Schatz Nov 14, 2016 Lecture 32: BWT HW8 Assignment 8: Competitive Spelling Bee Out on: November 2, 2018 Due by: November 9, 2018 before 10:00 pm Collaboration: None

More information

G64PMM - Lecture 3.2. Analogue vs Digital. Analogue Media. Graphics & Still Image Representation

G64PMM - Lecture 3.2. Analogue vs Digital. Analogue Media. Graphics & Still Image Representation G64PMM - Lecture 3.2 Graphics & Still Image Representation Analogue vs Digital Analogue information Continuously variable signal Physical phenomena Sound/light/temperature/position/pressure Waveform Electromagnetic

More information

GENBIT COMPRESS TOOL(GBC): A JAVA-BASED TOOL TO COMPRESS DNA SEQUENCES AND COMPUTE COMPRESSION RATIO(BITS/BASE) OF GENOMES.

GENBIT COMPRESS TOOL(GBC): A JAVA-BASED TOOL TO COMPRESS DNA SEQUENCES AND COMPUTE COMPRESSION RATIO(BITS/BASE) OF GENOMES. GENBIT COMPRESS TOOL(GBC): A JAVA-BASED TOOL TO COMPRESS DNA SEQUENCES AND COMPUTE COMPRESSION RATIO(BITS/BASE) OF GENOMES. P.Raja Rajeswari 1 Dr.Allam AppaRao 2 1. Associate Professor, DMSSVH college

More information

Latency Masking Threads on FPGAs

Latency Masking Threads on FPGAs Latency Masking Threads on FPGAs Walid Najjar UC Riverside & Jacquard Computing Inc. Credits } Edward B. Fernandez (UCR) } Dr. Jason Villarreal (Jacquard Computing) } Adrian Park (Jacquard Computing) }

More information

On enhancing variation detection through pan-genome indexing

On enhancing variation detection through pan-genome indexing Standard approach...t......t......t......acgatgctagtgcatgt......t......t......t... reference genome Variation graph reference SNP: A->T...ACGATGCTTGTGCATGT donor genome Can we boost variation detection

More information

S 1. Evaluation of Fast-LZ Compressors for Compacting High-Bandwidth but Redundant Streams from FPGA Data Sources

S 1. Evaluation of Fast-LZ Compressors for Compacting High-Bandwidth but Redundant Streams from FPGA Data Sources Evaluation of Fast-LZ Compressors for Compacting High-Bandwidth but Redundant Streams from FPGA Data Sources Author: Supervisor: Luhao Liu Dr. -Ing. Thomas B. Preußer Dr. -Ing. Steffen Köhler 09.10.2014

More information

7. Archiving and compressing 7.1 Introduction

7. Archiving and compressing 7.1 Introduction 7. Archiving and compressing 7.1 Introduction In this chapter, we discuss how to manage archive files at the command line. File archiving is used when one or more files need to be transmitted or stored

More information

Ch. 2: Compression Basics Multimedia Systems

Ch. 2: Compression Basics Multimedia Systems Ch. 2: Compression Basics Multimedia Systems Prof. Ben Lee School of Electrical Engineering and Computer Science Oregon State University Outline Why compression? Classification Entropy and Information

More information

Hyper Text Transfer Protocol Compression

Hyper Text Transfer Protocol Compression Hyper Text Transfer Protocol Compression Dr.Khalaf Khatatneh, Professor Dr. Ahmed Al-Jaber, and Asma a M. Khtoom Abstract This paper investigates HTTP post request compression approach. The most common

More information

LZ UTF8. LZ UTF8 is a practical text compression library and stream format designed with the following objectives and properties:

LZ UTF8. LZ UTF8 is a practical text compression library and stream format designed with the following objectives and properties: LZ UTF8 LZ UTF8 is a practical text compression library and stream format designed with the following objectives and properties: 1. Compress UTF 8 and 7 bit ASCII strings only. No support for arbitrary

More information

Engineering a Lightweight External Memory Su x Array Construction Algorithm

Engineering a Lightweight External Memory Su x Array Construction Algorithm Engineering a Lightweight External Memory Su x Array Construction Algorithm Juha Kärkkäinen, Dominik Kempa Department of Computer Science, University of Helsinki, Finland {Juha.Karkkainen Dominik.Kempa}@cs.helsinki.fi

More information

CS : Data Structures

CS : Data Structures CS 600.226: Data Structures Michael Schatz Nov 16, 2016 Lecture 32: Mike Week pt 2: BWT Assignment 9: Due Friday Nov 18 @ 10pm Remember: javac Xlint:all & checkstyle *.java & JUnit Solutions should be

More information

A study in compression algorithms

A study in compression algorithms Master Thesis Computer Science Thesis no: MCS-004:7 January 005 A study in compression algorithms Mattias Håkansson Sjöstrand Department of Interaction and System Design School of Engineering Blekinge

More information

Presented by Thorin Tabor

Presented by Thorin Tabor Pattern Matching in Huffman Encoded Texts Shumel T. Klein and Dana Shapira Presented by Thorin Tabor Pattern Matching in Compressed Text Pattern matching in compressed text is a specialized case of the

More information

An Advanced Text Encryption & Compression System Based on ASCII Values & Arithmetic Encoding to Improve Data Security

An Advanced Text Encryption & Compression System Based on ASCII Values & Arithmetic Encoding to Improve Data Security Available Online at www.ijcsmc.com International Journal of Computer Science and Mobile Computing A Monthly Journal of Computer Science and Information Technology IJCSMC, Vol. 3, Issue. 10, October 2014,

More information

Bits, bytes and digital information. Lecture 2 COMPSCI111/111G

Bits, bytes and digital information. Lecture 2 COMPSCI111/111G Bits, bytes and digital information Lecture 2 COMPSCI111/111G Today s lecture Understand the difference between analogue and digital information Convert between decimal numbers and binary numbers Analogue

More information

Indexing. CS6200: Information Retrieval. Index Construction. Slides by: Jesse Anderton

Indexing. CS6200: Information Retrieval. Index Construction. Slides by: Jesse Anderton Indexing Index Construction CS6200: Information Retrieval Slides by: Jesse Anderton Motivation: Scale Corpus Terms Docs Entries A term incidence matrix with V terms and D documents has O(V x D) entries.

More information

The Effects of Data Compression on Performance of Service-Oriented Architecture (SOA)

The Effects of Data Compression on Performance of Service-Oriented Architecture (SOA) The Effects of Data Compression on Performance of Service-Oriented Architecture (SOA) Hosein Shirazee 1, Hassan Rashidi 2,and Hajar Homayouni 3 1 Department of Computer, Qazvin Branch, Islamic Azad University,

More information

Applications of Suffix Tree

Applications of Suffix Tree Applications of Suffix Tree Let us have a glimpse of the numerous applications of suffix trees. Exact String Matching As already mentioned earlier, given the suffix tree of the text, all occ occurrences

More information

LIPT-DERIVED TRANSFORM METHODS USED IN LOSSLESS COMPRESSION OF TEXT FILES

LIPT-DERIVED TRANSFORM METHODS USED IN LOSSLESS COMPRESSION OF TEXT FILES U.P.B. Sci. Bull., Series C, Vol. 73, Iss. 2, 2011 ISSN 1454-234x LIPT-DERIVED TRANSFORM METHODS USED IN LOSSLESS COMPRESSION OF TEXT FILES Radu RĂDESCU 1 Acest articol se ocupă de avantajele obţinute

More information

CS/COE 1501

CS/COE 1501 CS/COE 1501 www.cs.pitt.edu/~lipschultz/cs1501/ Compression What is compression? Represent the same data using less storage space Can get more use out a disk of a given size Can get more use out of memory

More information

0ШШШ J&> ELSEVIER. Lossless. (ompression Handbook KHALID SAYOOD EDITOR ^ 1 R H F A»V. -ашштюшшг

0ШШШ J&> ELSEVIER. Lossless. (ompression Handbook KHALID SAYOOD EDITOR ^ 1 R H F A»V. -ашштюшшг - 0ШШШ J&> ELSEVIER Lossless (ompression Handbook EDITOR KHALID SAYOOD 1 ш 1 Щ: i щ v w... 1 9 ^ 1 W W R H F :: мяш' ж щвшш Яш' ЁИИк ШШШШШ A»V -ашштюшшг 1 % ;! ' > Contents List of Contributors Preface

More information

Data Compression Techniques for Big Data

Data Compression Techniques for Big Data Data Compression Techniques for Big Data 1 Ms.Poonam Bonde, 2 Mr. Sachin Barahate 1 P.G Student, 2 Assistent Professor in I.T. Department 1 Student of YTGOIFOE, Mumbai, India 2 Padmabhushan Vasantdada

More information

The Burrows-Wheeler Transform and Bioinformatics. J. Matthew Holt

The Burrows-Wheeler Transform and Bioinformatics. J. Matthew Holt The Burrows-Wheeler Transform and Bioinformatics J. Matthew Holt holtjma@cs.unc.edu Last Class - Multiple Pattern Matching Problem m - length of text d - max length of pattern x - number of patterns Method

More information

CS 307: UNIX PROGRAMMING ENVIRONMENT WORKING WITH FILES AND COLLECTIONS OF FILES

CS 307: UNIX PROGRAMMING ENVIRONMENT WORKING WITH FILES AND COLLECTIONS OF FILES CS 307: UNIX PROGRAMMING ENVIRONMENT WORKING WITH FILES AND COLLECTIONS OF FILES Prof. Michael J. Reale Fall 2014 Credit Where Credit Is Due Prof. Nick Merante s notes: http://web.cs.sunyit.edu/~merantn/cs307/

More information

Basic Compression Library

Basic Compression Library Basic Compression Library Manual API version 1.2 July 22, 2006 c 2003-2006 Marcus Geelnard Summary This document describes the algorithms used in the Basic Compression Library, and how to use the library

More information

EE67I Multimedia Communication Systems Lecture 4

EE67I Multimedia Communication Systems Lecture 4 EE67I Multimedia Communication Systems Lecture 4 Lossless Compression Basics of Information Theory Compression is either lossless, in which no information is lost, or lossy in which information is lost.

More information

A Tale of Three Algorithms: Linear Time Suffix Array Construction

A Tale of Three Algorithms: Linear Time Suffix Array Construction A Tale of Three Algorithms: Linear Time Suffix Array Construction Juha Kärkkäinen Department of Computer Science University of Helsinki 10 August, 2006 5th Estonian Summer School in Computer and Systems

More information

Quad-Byte Transformation as a Pre-processing to Arithmetic Coding

Quad-Byte Transformation as a Pre-processing to Arithmetic Coding Quad-Byte Transformation as a Pre-processing to Arithmetic Coding Jyotika Doshi GLS Inst.of Computer Technology Opp. Law Garden, Ellisbridge Ahmedabad-380006, INDIA Savita Gandhi Dept. of Computer Science;

More information

1 o Semestre 2007/2008

1 o Semestre 2007/2008 Efficient Departamento de Engenharia Informática Instituto Superior Técnico 1 o Semestre 2007/2008 Outline 1 2 3 4 5 6 7 Outline 1 2 3 4 5 6 7 Text es An index is a mechanism to locate a given term in

More information

Data Compression Techniques

Data Compression Techniques Data Compression Techniques Part 1: Entropy Coding Lecture 1: Introduction and Huffman Coding Juha Kärkkäinen 31.10.2017 1 / 21 Introduction Data compression deals with encoding information in as few bits

More information

Compressed Full-Text Indexes for Highly Repetitive Collections. Lectio praecursoria Jouni Sirén

Compressed Full-Text Indexes for Highly Repetitive Collections. Lectio praecursoria Jouni Sirén Compressed Full-Text Indexes for Highly Repetitive Collections Lectio praecursoria Jouni Sirén 29.6.2012 ALGORITHM Grossi, Vitter: Compressed suffix arrays and suffix trees with Navarro, Mäkinen: Compressed

More information

Lossless Text Compression using Dictionaries

Lossless Text Compression using Dictionaries Lossless Text Compression using Dictionaries Umesh S. Bhadade G.H. Raisoni Institute of Engineering & Management Gat No. 57, Shirsoli Road Jalgaon (MS) India - 425001 ABSTRACT Compression is used just

More information

Material covered. Areas/Topics covered. Logistics. What to focus on. Areas/Topics covered 5/14/2015. COS 226 Final Exam Review Spring 2015

Material covered. Areas/Topics covered. Logistics. What to focus on. Areas/Topics covered 5/14/2015. COS 226 Final Exam Review Spring 2015 COS 226 Final Exam Review Spring 2015 Ananda Gunawardena (guna) guna@cs.princeton.edu guna@princeton.edu Material covered The exam willstressmaterial covered since the midterm, including the following

More information

Dictionary Based Compression for Images

Dictionary Based Compression for Images Dictionary Based Compression for Images Bruno Carpentieri Abstract Lempel-Ziv methods were original introduced to compress one-dimensional data (text, object codes, etc.) but recently they have been successfully

More information

Faster Average Case Low Memory Semi-External Construction of the Burrows-Wheeler Transform

Faster Average Case Low Memory Semi-External Construction of the Burrows-Wheeler Transform Faster Average Case Low Memory Semi-External Construction of the Burrows-Wheeler German Tischler The Wellcome Trust Sanger Institute, Wellcome Trust Genome Campus Hinxton, Cambridge, CB10 1SA, United Kingdom

More information

Higher Compression from the Burrows-Wheeler Transform by

Higher Compression from the Burrows-Wheeler Transform by Higher Compression from the Burrows-Wheeler Transform by Modified Sorting Brenton Chapin Stephen R. Tate Dept. of Computer Science University of North Texas P. O. Box 311366 Denton, TX 76203 1366 Abstract

More information

Compression in Open Source Databases. Peter Zaitsev April 20, 2016

Compression in Open Source Databases. Peter Zaitsev April 20, 2016 Compression in Open Source Databases Peter Zaitsev April 20, 2016 About the Talk 2 A bit of the History Approaches to Data Compression What some of the popular systems implement 2 Lets Define The Term

More information

Data Compression Fundamentals

Data Compression Fundamentals 1 Data Compression Fundamentals Touradj Ebrahimi Touradj.Ebrahimi@epfl.ch 2 Several classifications of compression methods are possible Based on data type :» Generic data compression» Audio compression»

More information

COS 226 Final Exam, Spring 2010

COS 226 Final Exam, Spring 2010 NAME: login ID: precept #: COS 226 Final Exam, Spring 2010 This test is 16 questions, weighted as indicated. The exam is closed book, except that you are allowed to use a one page cheatsheet. No calculators

More information

LOSSLESS IMAGE COMPRESSION METHOD USING REVERSIBLE LOW CONTRAST MAPPING (RLCM)

LOSSLESS IMAGE COMPRESSION METHOD USING REVERSIBLE LOW CONTRAST MAPPING (RLCM) LOSSLESS IMAGE COMPRESSION METHOD USING REVERSIBLE LOW CONTRAST MAPPING (RLCM) 1 HENDRA MESRA, 2 HANDAYANI TJANDRASA, 3 CHASTINE FATICHAH 1 Department of Mathematics, Hasanuddin University, Makassar, Indonesia

More information

Lempel-Ziv Compressed Full-Text Self-Indexes

Lempel-Ziv Compressed Full-Text Self-Indexes Lempel-Ziv Compressed Full-Text Self-Indexes Diego G. Arroyuelo Billiardi Ph.D. Student, Departamento de Ciencias de la Computación Universidad de Chile darroyue@dcc.uchile.cl Advisor: Gonzalo Navarro

More information

CS/COE 1501

CS/COE 1501 CS/COE 1501 www.cs.pitt.edu/~nlf4/cs1501/ Compression What is compression? Represent the same data using less storage space Can get more use out a disk of a given size Can get more use out of memory E.g.,

More information

Indexing and Searching

Indexing and Searching Indexing and Searching Introduction How to retrieval information? A simple alternative is to search the whole text sequentially Another option is to build data structures over the text (called indices)

More information

CS : Data Structures Michael Schatz. Nov 26, 2016 Lecture 34: Advanced Sorting

CS : Data Structures Michael Schatz. Nov 26, 2016 Lecture 34: Advanced Sorting CS 600.226: Data Structures Michael Schatz Nov 26, 2016 Lecture 34: Advanced Sorting Assignment 9: StringOmics Out on: November 16, 2018 Due by: November 30, 2018 before 10:00 pm Collaboration: None Grading:

More information

10 Million Smart Meter Data with Apache HBase

10 Million Smart Meter Data with Apache HBase 10 Million Smart Meter Data with Apache HBase 5/31/2017 OSS Solution Center Hitachi, Ltd. Masahiro Ito OSS Summit Japan 2017 Who am I? Masahiro Ito ( 伊藤雅博 ) Software Engineer at Hitachi, Ltd. Focus on

More information

Lecture 17: Suffix Arrays and Burrows Wheeler Transforms. Not in Book. Recall Suffix Trees

Lecture 17: Suffix Arrays and Burrows Wheeler Transforms. Not in Book. Recall Suffix Trees Lecture 17: Suffix Arrays and Burrows Wheeler Transforms Not in Book 1 Recall Suffix Trees 2 1 Suffix Trees 3 Suffix Tree Summary 4 2 Suffix Arrays 5 Searching Suffix Arrays 6 3 Searching Suffix Arrays

More information

Annual Report:

Annual Report: Annual Report: 9977336 Annual Report for Period:07/2000-06/2001 Submitted on: 06/08/2001 Principal Investigator: Mukherjee, Amar. Award ID: 9977336 Organization: U of Central Florida Title: Algorithms

More information

Mapping Reads to Reference Genome

Mapping Reads to Reference Genome Mapping Reads to Reference Genome DNA carries genetic information DNA is a double helix of two complementary strands formed by four nucleotides (bases): Adenine, Cytosine, Guanine and Thymine 2 of 31 Gene

More information

A fast compact prefix encoding for pattern matching in limited resources devices

A fast compact prefix encoding for pattern matching in limited resources devices A fast compact prefix encoding for pattern matching in limited resources devices S. Harrusi, A. Averbuch, N.Rabin School of Computer Science Tel Aviv University, Tel Aviv 69978, Israel Abstract This paper

More information

arxiv: v1 [cs.it] 29 Feb 2016

arxiv: v1 [cs.it] 29 Feb 2016 Access Time Tradeoffs in Archive Compression Matthias Petri, Alistair Moffat, P. C. Nagesh, Anthony Wirth Department of Computing and Information Systems The University of Melbourne Victoria 3010, Australia

More information

Text Compression. Jayadev Misra The University of Texas at Austin July 1, A Very Incomplete Introduction To Information Theory 2

Text Compression. Jayadev Misra The University of Texas at Austin July 1, A Very Incomplete Introduction To Information Theory 2 Text Compression Jayadev Misra The University of Texas at Austin July 1, 2003 Contents 1 Introduction 1 2 A Very Incomplete Introduction To Information Theory 2 3 Huffman Coding 5 3.1 Uniquely Decodable

More information

Parallel Lossless Data Compression on the GPU

Parallel Lossless Data Compression on the GPU Parallel Lossless Data Compression on the GPU Ritesh A. Patel University of California, Davis ritpatel@ucdavis.edu Andrew Davidson University of California, Davis aaldavidson@ucdavis.edu Yao Zhang University

More information

IMAGE COMPRESSION. Image Compression. Why? Reducing transportation times Reducing file size. A two way event - compression and decompression

IMAGE COMPRESSION. Image Compression. Why? Reducing transportation times Reducing file size. A two way event - compression and decompression IMAGE COMPRESSION Image Compression Why? Reducing transportation times Reducing file size A two way event - compression and decompression 1 Compression categories Compression = Image coding Still-image

More information

Transform Based and Search Aware Text Compression Schemes and Compressed Domain Text Retrieval

Transform Based and Search Aware Text Compression Schemes and Compressed Domain Text Retrieval Transform Based and Search Aware Text Compression Schemes and Compressed Domain Text Retrieval by Nan Zhang B.S. Beijing Colloge of Economics, 1990 M.S. National University of Singapore, 1998 A dissertation

More information