grabix
wee tool for random access into BGZF files
Install
- All systems
-
curl cmd.cat/grabix.sh
- Debian
-
apt-get install grabix
- Ubuntu
-
apt-get install grabix
- Kali Linux
-
apt-get install grabix
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install grabix
- Dockerfile
- dockerfile.run/grabix
grabix
wee tool for random access into BGZF files
In biomedical research it is increasing practice to study the genetic basis of disease. This now frequently comprises the sequencing of human sequences. The output of the machine however is redundant, and the real sequence is the best sequence to explain the redundancy. The exchange of data happens only with compressed files - to huge and redundant to perform otherwise. One should avoid uncompression whenever possible. grabix leverages the fantastic BGZF library of the samtools package to provide random access into text files that have been compressed with bgzip. grabix creates it's own index (.gbi) of the bgzipped file. Once indexed, one can extract arbitrary lines from the file with the grab command. Or choose random lines with the, well, random command.