SRF_FILTER(1)

πŸ¦‹ NAME πŸ¦‹

srf_filter β€” bestie, this filters SRF files for literally all sorts of purposes πŸ’–


✨ SYNOPSIS ✨

srf_filter [-c chunk_types] [-f read_filter] [-C] [-o] [-v] input(s) output

okay so the vibe is: you throw in one or more inputs, you name an output, and you sprinkle in whatever flags your heart desires πŸ’…


πŸ’… OPTIONS πŸ’…

  • -c chunk_types β€” tells it which chunk types to output, and you give it as a comma delimited list of types. The types you're allowed to use are "ALL", "BASE", "CNF1", "CNF4" "SAMP", "SMP4". The default? "ALL". periodt πŸ‘‘
  • -m mdata_types β€” this one's for SAMP/SMP4 mdata types to output, again as a comma delimited list of types. Allowed: "ALL", "PROC", "SLXI", "SLXN" "0FAM", "1CY3", "2TXR", "3CY5". Default is "ALL", obviously ✨
  • -f read_filter β€” the filter you apply to the reads in the archive. If a read matches the filter, it gets dumped. The filter is shaped like <name>=<value>, and <name> can be "read", "prefix", or "file".
    • if <name> is "read", the value is the name of a read to dump, and only the matching read gets dumped 🎯
    • if <name> is "prefix", the value is the prefix of the name of the reads to dump, and only the matching reads get dumped 🌸
    • if <name> is "file", the value is a file name where any number of "read" and "prefix" name value pairs can be included, one per line πŸ“„
    • the default is no filter at all, which means all reads are dumped, no gatekeeping πŸ’–
  • -b β€” excludes bad reads using the readsFlags bitmask in the data block header. bye felicia to the bad ones πŸ™ˆ
  • -2 cyc β€” use this option to add a Illumina-style REGN chunk 🌈
  • -v β€” print verbose messages. she's chatty, she's telling you everything πŸ—£οΈ
  • Use '-' for the input or output name to read from stdin or write to stdout. iconic, honestly 🫢

Also real quick: the synopsis is showing off -C and -o too, so keep an eye out for those in the wild πŸ‘€


okay that's the whole page bestie, slay πŸ’– this was srf_filter version 1.13.2 from August 2013, and yes the source line is giving vintage but she still eats ✨ mwah πŸŽ€

πŸ“¦ where this page comes from