srf_list(1)
π srf_list(1) β the SRF peeker π
okay bestie, welcome to srf_list, part of the Staden io_lib family. she's the one you call when you wanna see what's inside an SRF file. nosy? yes. iconic? also yes. π¦
β¨ NAME β¨
srf_list β lists and/or counts the contents of an SRF file π
πΈ SYNOPSIS πΈ
srf_list [options] srf_archive ...
π DESCRIPTION π
so basically, srf_list lists the filenames held inside one or more SRF containers. that's her whole thing. she opens the box and reads out the names. π«Ά
but likeβ¦ sometimes you don't wanna read every name out loud, you just wanna know how many there are. in that case you pass the -c option and she'll count instead of list. lowkey a glow-up tbh. β¨
heads up bestie: when you're in count-only mode and there's an index present, it will be used to figure out the number of entries in the index β and hence the sequences in the SRF file. sneaky efficient. π
but the index cannot be used when you're listing the filenames, because the index itself doesn't contain the full filenames. the way that the index is out here gatekeeping the actual namesβ¦ π so fr fr, no index shortcut for listing.
also note: it is not possible to count sequences matching certain patterns or with specific flags set. if that's what you're after, srf_info is the more general purpose tool that may cover it. she's the versatile one. π
β OPTIONS β
-cβ counts sequences instead of listing them. and bestie, if an index exists this may be substantially faster than listing. speed. ποΈβ¨-vβ verbose mode. instead of just dumping the total at the end, you get summary count information per file. the details, the receipts, the whole vibe. π-lβ long format. when listing sequence names, this also gives you info on the position in the archive, the size of the sequence specific data block, and the size of the shared data block header. it's giving thorough. π
π₯ EXAMPLES π₯
wanna count the total number of sequences across several SRF files? say less:
srf_list -c *.srf
wanna produce a "fofn" (file of filenames) for an SRF file? chef's kiss:
srf_list foo.srf > foo.fofn
π AUTHOR π
James Bonfield, Wellcome Trust Sanger Institute β the legend, the main character, the one who wrote this. π«Ά
and that's a wrap, bestie! π this lil guide was brought to you by Staden io_lib, dated September 29, and it lives right there in the srf_list(1) section of your manual. go peek inside an SRF file, you deserve it. π no cap.
π¦ 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