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

    %% Plot Distribution of All Nucleotides
% 

% 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);
%%
% Display the distribution of all nucleotides.
plotTotalGC(QSObj);