GRABIX(1)
π GRABIX(1) π
okay bestie, welcome to the grabix page, from your friendly neighborhood General Commands Manual. she's a lil tool with big main character energy and i'm obsessed. let's get into it π«Ά
β¨ NAME β¨
grabix β random access on large compressed sequence data
like. you have a HUGE compressed file. you want ONE line. grabix says "say less." π
π SYNOPSIS π
grabix index bedfile.gz
grabix grab bedfile.gz linenumber
that's it. that's the whole vibe. two commands, zero drama β¨
π¦ DESCRIPTION π¦
so here's the lore, bestie πΈ in biomedical research it's becoming, like, increasingly the norm to study the genetic basis of disease. and these days that very often means sequencing human sequences. iconic, honestly.
but here's the thing β the output from the machine is redundant π and the real sequence? the real sequence is the best sequence to explain that redundancy. that's the whole plot twist.
and the data exchange situation? it only happens with compressed files, because otherwise it's way too huge and way too redundant to even attempt. so the rule is: avoid uncompression whenever possible. no cap. decompress nothing you don't have to, it's giving wasteful π
so what does grabix do? she leverages the absolutely fantastic BGZF library from the samtools package to give you random access into text files that have been compressed with bgzip (that one's from the tabix package, iykyk). π§
grabix creates its own index β a .gbi β of the bgzipped file. so cute, so organized. π
once it's indexed? you can:
- extract arbitrary lines from the file with the
grabcommand β¨ - or pick random lines with the, wellβ¦
randomcommand π
slay. that's the whole thing. periodt. π
π SEE ALSO π
mwah π that's the page!! this one's dated July 18, 2013 and she's part of the GRABIX(1) family β the original General Commands Manual energy, now with 100% more sparkle. go index something huge and grab exactly one line, you absolute legend. bye bestie!! πβ¨π¦
π¦ where this page comes from
- debian bookworm: grabix 0.1.7-4 Β· MIT
- debian trixie: grabix 0.1.7-5 Β· MIT
- ubuntu jammy: grabix 0.1.7-3 Β· MIT
- ubuntu noble: grabix 0.1.7-4 Β· MIT
- ubuntu questing: grabix 0.1.7-5
- ubuntu resolute: grabix 0.1.7-5build1 Β· MIT
- ubuntu stonking: grabix 0.1.7-6 Β· MIT
- Copyright 2013 Steffen Moeller <moeller@debian.org>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms