Create quality control plots for sequence and quality data
H = seqqcplot(___)
a figure with quality control (QC) plots of sequence and quality data
from one or more FASTQ-formatted files, specified in
The figure contains the following types of QC plots.
Box plot for the average quality score at each sequence position
Bar plot for the sequence base composition at each sequence position
Histogram of the average sequence quality score distribution
Histogram of the GC-content distribution
Histogram of the sequence length distribution
In the figure, you can click a specific plot to open it in a separate window.
any of the input arguments in the previous syntaxes and additional
options specified by one or more
Plot quality control plots for sequence statistics and quality data from a FASTQ file.
Plot only the box plot of average quality score for each sequence position.
Plot the quality data of sequences with a minimum mean quality of 25.
Plot the data of sequences having a minimum mean quality of 25 and a mininum sequence length of 100.
Produce QC plots for the quality data corresponding to the subsequences from base position 10 to 100.
fastqFile— Names of FASTQ-formatted files with sequence and quality information
Names of FASTQ-formatted files with sequence and quality information, specified as a character vector or cell array of character vectors.
type— Name of QC plot to generate
Name of the QC plot to generate, specified as one of the following:
|Name of QC Plot||Description|
|Box plot for the average quality score at each sequence position.|
|Line plot for the sequence base composition at each sequence position.|
|Bar plot for the sequence base composition at each sequence position.|
|Histogram of the average sequence quality score distribution.|
|Histogram of the GC-content distribution.|
|Histogram of the sequence length distribution.|
|Summary figure containing all available QC plots, except the |
By default, all available QC plots are plotted as subplots in a figure. To open a specific subplot in a separate figure window, click the subplot.
encoding— Encoding format of base quality
Encoding format of the base quality, specified as one of the following:
comma-separated pairs of
the argument name and
Value is the corresponding value.
Name must appear inside single quotes (
' '). You can
specify several name and value pair arguments in any order as
'MeanQuality'— Minimum threshold on average base quality across each sequence
-Inf(default) | numeric scalar
Minimum threshold on the average base quality across each sequence,
specified as a numeric scalar. The function considers only sequences
with average quality score equal to or greater than the threshold.
The threshold value is interpreted according to the specified encoding
format. Default is
-Inf, that is, any sequence
'MinLength'— Minimum threshold on sequence length
0(default) | nonnegative numeric scalar
Minimum threshold on the sequence length, specified as a nonnegative numeric scalar. The function considers only sequences with length equal to or greater than the threshold.
'BasePositions'— Base position range for subsequences
[1 Inf](default) | two-element vector
Base position range for subsequences, specified as a two-element
vector. The function considers only the subsequences in the specified
position range. Default is
[1 Inf], that is, the
entire length of each sequence is considered.
H— Handle to output figure
Handle to the output figure, returned as a figure handle.