Skip to content

Instantly share code, notes, and snippets.

View felixhandte's full-sized avatar
🚩
-pedantic

Felix Handte felixhandte

🚩
-pedantic
View GitHub Profile
@felixhandte
felixhandte / bam.sddl
Last active October 7, 2025 18:36
BAM SDDL Description (with tag parsing)
# Translation of the table in section 4.2 of the SAM/BAM format spec doc in:
# https://samtools.github.io/hts-specs/SAMv1.pdf
# Instantiate/declare some fields we'll use later:
TextByte = Byte
GenericUInt32 = UInt32LE
GenericUInt8 = UInt8
NullByte = Byte
@felixhandte
felixhandte / bam.sddl
Last active October 7, 2025 17:30
BAM SDDL Description (without tag parsing)
# Translation of the table in section 4.2 of the SAM/BAM format spec doc in
# https://samtools.github.io/hts-specs/SAMv1.pdf
# Instantiate/declare some fields we'll use later:
TextByte = Byte
GenericUInt32 = UInt32LE
GenericUInt8 = UInt8
# Describe the top level structures of the file:
@felixhandte
felixhandte / compression_benchmark_for_blog_post.csv
Created December 19, 2018 22:29
Compression Speed Benchmark Raw Data
algo level size ratio cspeed dspeed
none 0 211957760 1.000 0 0
zstd -5 106181958 1.996 855 2240
zstd -4 102505240 2.068 802 2170
zstd -3 98464526 2.153 749 2094
zstd -2 93583315 2.265 658 1989
zstd -1 87205359 2.431 594 1925
zstd 1 73654175 2.878 510 1500
zstd 2 69867468 3.034 386 1371
zstd 3 66796892 3.173 294 1325

Keybase proof

I hereby claim:

  • I am felixhandte on github.
  • I am felix (https://keybase.io/felix) on keybase.
  • I have a public key whose fingerprint is C96F 1936 875D E78A 205B 1238 A741 5F35 6BD7 E9F3

To claim this, I am signing this object: