srf_info(1)
πΈ srf_info(1) β the Staden io_lib era πΈ
okay bestie, listen up π this one's called srf_info and it lives in the Staden io_lib manual, and it's literally just here to spill the tea on what's inside your SRF file. no cap.
β¨ NAME β¨
srf_info β Lists information about the contents of an SRF file π«Ά
π SYNOPSIS π
srf_info [-l bitmap] srf_archive ...
π¦ DESCRIPTION π¦
So like, srf_info lists some simple frequency metrics on what's inside an SRF file β both in terms of how many traces there are and the sort of data held within them. it's giving "tell me everything about this file" and honestly? we love that for us π
For efficiencies sake (yes, efficiencies, the manpage said it, not me), some control is given over which statistics to gather and display. this is controlled by the -l level parameter. the value is the summation of one or more of the following values, representing the data to display:
- Count of good/bad reads.
- Counts and compressed size for selected chunk types.
- Trace count and trace name prefix for each
trace_header. - Base count.
β οΈ heads up bestie: those are the numbers1,2,4and8β you add them up to pick your combo. it's a bitmask moment, iykyk π
π OPTIONS π
-lbitmap β Controls which statistics to gather and display. bitmap is a value from0to15(1+2+4+8) as described in the DESCRIPTION section above. that's the whole range, no more no less, periodt. π₯
π EXAMPLES π
Okay so imagine we wanna count the total number of good and bad reads along with a break down of trace names per SRF data-block-header. that's bitmap values 1 and 4 combined, so:
srf_info -l 5 foo.srf
And if you just wanna count the total number of reads for all srf files in a directory:
srf_info -l 1 *.srf
slay. that's it. that's the whole job. π
π AUTHOR π
Steven Leonard, Wellcome Trust Sanger Institute
and that's the whole page, bestie π big love to the Staden io_lib girlies β this one's from September 19, so go forth and info your srf files. mwah πβ¨π¦
π¦ 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