Main Content


Return information about SFF file


InfoStruct = sffinfo(File)


InfoStruct = sffinfo(File) returns a MATLAB® structure containing summary information about a Standard Flowgram Format (SFF) file.

Input Arguments


Character vector or string specifying a file name or path and file name of an SFF file produced by version 1.0 of the Genome Sequencer System data analysis software from 454 Life Sciences. If you specify only a file name, that file must be on the MATLAB search path or in the current folder.

Output Arguments


MATLAB structure containing summary information about an SFF file. The structure contains the following fields.

FilenameName of the file.
FileModDateModification date of the file.
FileSizeSize of the file in bytes.
Version Version number of the file.
FlowgramCode Code of the format used to encode flowgram values.
NumberOfReads Number of sequence reads in the file.
NumberOfFlowsPerRead Number of flows for each read.
FlowCharsBases used in each flow.
KeySequence Character vector of bases in the key sequence.


The SFF file, SRR013472.sff, used in this example is not provided with the Bioinformatics Toolbox™ software. You can download sample SFF files from:

Return a summary of the contents of an SFF file:

info = sffinfo('SRR013472.sff')

info = 

                Filename: 'SRR013472.sff'
             FileModDate: '23-Feb-2009 15:14:36'
                FileSize: 6632392
                 Version: [0 0 0 1]
            FlowgramCode: 1
           NumberOfReads: 3546
    NumberOfFlowsPerRead: 440
               FlowChars: [1x440 char]
             KeySequence: 'TCAG'

Version History

Introduced in R2009b