| Contents | Index |
SFFStruct = sffread(File)
sffread(..., 'Blockread', BlockreadValue,
...)
sffread(..., 'Feature', FeatureValue,
...)
SFFStruct = sffread(File) reads a Standard Flowgram Format (SFF) file and returns the data in a MATLAB array of structures.
sffread(..., 'PropertyName', PropertyValue, ...) calls sffread with optional properties that use property name/property value pairs. You can specify one or more properties in any order. Enclose each PropertyName in single quotation marks. Each PropertyName is case insensitive. These property name/property value pairs are as follows:
sffread(..., 'Blockread', BlockreadValue,
...) reads a single sequence entry or block of sequence
entries from an SFF file containing multiple sequences.
sffread(..., 'Feature', FeatureValue, ...) specifies the information to include in the return structure.
The SFF file, SRR013472.sff, used in these examples is not provided with the Bioinformatics Toolbox software. You can download sample SFF files from:
http://www.ncbi.nlm.nih.gov/Traces/sra/sra.cgi?cmd=show&f=main&m=main&s=main
Read an entire SFF file:
% Read the contents of an entire SFF file into an
% array of structures
reads = sffread('SRR013472.sff')
reads =
3546x1 struct array with fields:
Header
Sequence
QualityRead a block of entries from an SFF file:
% Read only the header and sequence information of the
% first five reads from an SFF file into an array of structures
reads5 = sffread('SRR013472.sff', 'block', [1 5], 'feature', 'hs')
reads5 =
5x1 struct array with fields:
Header
Sequence
fastainfo | fastaread | fastawrite | fastqinfo | fastqread | fastqwrite | saminfo | samread | sffinfo

See how to analyze, visualize, and model biological data and systems using MathWorks products.
Get free kit| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |