The workflow scans each input sequence from the end to find the first position where the quality is greater or equal to the minimum quality threshold. Then it trims the sequence to that position. If a the whole sequence has quality less than the threshold or the length of the output sequence less than the minimum length threshold then the sequence is skipped.

<center>
<br>
  <img src="/wiki/download/attachments/5668893/FASTQ Trimmer.png"/>
</br>
</center>