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:

  1. Count of good/bad reads.
  2. Counts and compressed size for selected chunk types.
  3. Trace count and trace name prefix for each trace_header.
  4. Base count.
⚠️ heads up bestie: those are the numbers 1, 2, 4 and 8 β€” you add them up to pick your combo. it's a bitmask moment, iykyk πŸ’…

πŸŽ€ OPTIONS πŸŽ€

  • -l bitmap β€” Controls which statistics to gather and display. bitmap is a value from 0 to 15 (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 πŸŽ€βœ¨πŸ¦‹