Unfortunately some potentially useful compressors are incomplete, in terms of supported input or interface. In order to make them usable for typical biological sequence compression tasks, we had to make special wrappers for many compressors. These wrappers are provided below, along with other required supporting tools.
Using wrappers is not an ideal solution:
- Wrappers are not distributed with the original compressors, which means that those compressors are still incomplete on their own. (Someone planning to use those compressors would need to download our wrapper, or make their own).
- Wrappers are written in Perl, introducing a dependency.
- Wrappers are most probably slower compared to if the required functionality was supported by compressors natively.
- We spent minimal effort developing these wrappers, only doing necessary steps in simplest ways.
- We did not benchmark wrapped compressors without the wrappers. Therefore our results are not representative for compressor on its own.
On the other hand, without wrappers, those compressors are often useless in practical tasks. Only through wrappers they are able to compress and decompress actual relevant sequence datasets, in the required streaming mode.
Functionality added by the wrappers, to those compressors missing it, includes:
- Streaming input for compression
- Streaming decompressed output during decompression
- Supporting RNA input for DNA-only compressors
- Supporting 'N' in DNA/RNA sequences
- Supporting IUPAC's ambiguous nucleotide codes
- Recording and restoring line lengths
- Restoring sequence names intact
- Saving and restoring sequence mask (upper/lower case)
- Supporting FASTA-formatted input
- Supporting input with more than 1 sequence
You are welcome to use the wrappers and utilities from this page, or to adapt them to your needs. However please be aware that they are provided with no guarantees. We made these tools only for making the benchmark possible, they don't have production level quality, features, performance, or safety. Use them entirely on your own risk.
Let us know if you have any questions or suggestions regarding the wrappers.
All wrappers are in public domain.
- ac (AC)
- alapy (ALAPY)
- beetl (BEETL)
- blast (BLAST)
- dcom (DNA-COMPACT)
- dlim (DELIMINATE)
- dnax (dnaX)
- dsrc (DSRC)
- geco (GeCo)
- geco2 (GeCo2)
- geco3 (GeCo3)
- gtz (GTZ)
- harc (HARC)
- jarvis (JARVIS)
- kic (KIC)
- leon (Leon)
- lfastqc (LFastqC)
- lfqc (LFQC)
- mfc (MFCompress)
- nakamichi (Nakamichi)
- nuht (NUHT)
- pfish (Pufferfish)
- quip (Quip)
- spring (SPRING)
- uht (UHT)
- xm (XM)
Utilities written in Perl
This tool is in public domain.
Utilities written in C
All these utilities are in public domain.
LFastqC. Minimal fix which makes it possible to use it (many other problems are worked around in the wrapper). Removes one of the tar steps. Waits for compression and decompression sub-tasks to complete before processing their output.
Shared under the Apache License 2.0, same license used in LFastqC GitHub repository.