www.gusucode.com > bioinfo 案例源码程序 matlab代码 > bioinfo/CreateAndPlotSummaryStatisticsOfABioReadQualityStatisticExample.m

    %% Create a BioReadQualityStatistics object and plot its summary statistics  
% This example shows how to create a BioReadQualityStatistics object and
% plot summary statistics of it.

% Copyright 2015 The MathWorks, Inc.


%%
% Create a BioReadQualityStatistics object from a FASTQ file using only the
% first 40 characters of each read with a minimum average quality score of
% 5.
QSObj = BioReadQualityStatistics('SRR005164_1_50.fastq', 'FilterLength',...
                                    40, 'QualityScoreThreshold', 5)
%%
% Plot the summary statistics of the object.
plotSummary(QSObj)