# Interactive quality plot interpretation and colors

**URL:** https://forum.qiime2.org/t/interactive-quality-plot-interpretation-and-colors/1843
**Category:** User Support
**Tags:** demux, summarize, quality
**Created:** [November 14, 2017, 10:55pm UTC](https://forum.qiime2.org/t/interactive-quality-plot-interpretation-and-colors/1843 "2017-11-14T22:55:49Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![jairideout](https://forum.qiime2.org/user_avatar/forum.qiime2.org/jairideout/32/9_2.png) [@jairideout](https://forum.qiime2.org/u/jairideout)
#### Post date: [November 15, 2017, 8:46pm UTC](https://forum.qiime2.org/t/interactive-quality-plot-interpretation-and-colors/1843/6 "2017-11-15T20:46:30Z")

</div>

Hello again!

> [@jairideout](#):
>
> Could you provide me with your demultiplexed sequences? That would be the .qza file with semantic type SampleData[PairedEndSequencesWithQuality] that you used as input to demux summarize. That’ll let me reproduce and debug this issue locally. Thanks!

Ignore my request for your data -- @ebolyen figured out what's going on. This is [definitely a bug](https://github.com/qiime2/q2-demux/issues/64) and will be fixed in the next QIIME 2 release. We'll follow up here when that happens!

**TL;DR:** The "minimum sequence length observed during subsampling (`N` bases)" that appears in the red warning text below the interactive plot is incorrect. The number being reported is the _global_ minimum sequence length, but the _subsampled_ minimum sequence length should be reported here. The way that you interpret these plots (blue vs. red) is the same though, and the cutoff between blue and red plots is correct. So this is a pretty minor bug but definitely makes things confusing when interpreting these warnings.

**Longer explanation:**

What's happening is that the shortest sequence in your data is 40bp. However, only 10,000 of those sequences are randomly subsampled, and their quality scores are plotted. These subsampled sequences (by chance) did not include that really short (40bp) sequence, so the box plots actually include quality scores from all subsampled sequences, up to 150bp (which is when the sequence lengths of the subsampled sequences begin to differ). Thus, the interactive plot is correctly warning (and coloring the box plots in red) at position 150 because that's the point where some sequences are longer than others in the _subsampled sequences_. The bug here is that 40bp (the _global_ minimum) is being reported in the error message, when it really should be reporting the _subsampled_ minimum of 149bp.

Let me know if you have any more questions about interpreting these plots!

---

_[View the full topic](https://forum.qiime2.org/t/interactive-quality-plot-interpretation-and-colors/1843)._
