srf_index_hash(1)
β¨ srf_index_hash(1) β¨
okay bestie, so this one lives in the Staden io_lib family of man pages, and it's literally just about giving your SRF file a lil glow-up in the form of an index π
π NAME π
srf_index_hash β adds a hash-table index to an SRF file.
π¦ SYNOPSIS π¦
srf_index_hash [-c] srf_archive
πΈ DESCRIPTION πΈ
so what does this cutie actually do? srf_index_hash adds an index to an SRF file, or β if one's already there β it replaces that existing index with a brand new one. out with the old, in with the new, periodt β¨
now here's the tea for concatenated SRF files: only the index at the very end of the file gets replaced. the internal indices? yeah no, they just sit there, because SRF tools won't consult them anyway π
and what is this index, you ask? it's a hash table that indexes the sequence names only. but plot twist β the name itself does not appear in the index. instead, the index holds the top 7-bits of a 64-bit hash key, plus N-bits that are used to figure out the hash bucket. the way that keeps the index size down to around 10-15 bytes per sequence?? obsessed. iconic. no cap π
π OPTIONS π
-cβ check only mode, bestie. this asks for the index to not be produced, but the checks that happen while creating an index (like looking for duplicate sequence names π) still get performed. so you get the vibe check without the commitment π«Ά
π AUTHOR π
James Bonfield, Wellcome Trust Sanger Institute
and that's the whole page, fr fr π big shoutout to the Staden io_lib era for this one, dated September 29 β same srf_index_hash(1) energy from top to bottom, slay πβ
π¦ where this page comes from
- debian bookworm: staden-io-lib-utils 1.14.15-1 Β· GRL OR MRC
- debian trixie: staden-io-lib-utils 1.15.0-1.1+b2 Β· GRL OR MRC
- fedora 43: staden-io_lib 1.14.8-6.fc43 Β· MIT
- fedora 43: staden-io_lib 1.14.8-6.fc43 Β· MIT
- fedora 44: staden-io_lib 1.14.8-7.fc44 Β· MIT
- fedora 44: staden-io_lib 1.14.8-7.fc44 Β· MIT
- nixos 26.05: libstaden-read 1-15-1
- nixpkgs unstable: libstaden-read 1-15-1
- ubuntu jammy: staden-io-lib-utils 1.14.14+dfsg-1 Β· GRL OR MRC
- ubuntu noble: staden-io-lib-utils 1.15.0-1.1build2 Β· GRL OR MRC
- ubuntu questing: staden-io-lib-utils 1.15.0-1.1build2
- ubuntu resolute: staden-io-lib-utils 1.15.0-1.1build3 Β· GRL OR MRC
- ubuntu stonking: staden-io-lib-utils 1.15.1-1 Β· GRL OR MRC
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms