srf_list(1) | Staden io_lib | srf_list(1) |
srf_list - Lists and/or counts the contents of an SRF file
srf_list [options] srf_archive ...
srf_list lists the filenames held within one or more SRF container. To simply count the contents rather than list them specify the -c option. Note that when in count-only mode if an index is present it will be used to determine the number of entries in the index and hence sequences in the SRF file. The index cannot be used when listing the filenames however as the index itself does not contain the full filenames.
Note that it is not possible to count sequences matching certain patterns or with specific flags set. srf_info is a more general purpose tool that may cover this.
To count the total number of sequences in several SRF files:
srf_list -c *.srf
To produce a "fofn" (file of filenames) for an SRF file:
srf_list foo.srf > foo.fofn
James Bonfield, Wellcome Trust Sanger Institute
September 29 |