I tried to use the dada2 denoise-paired command in qiime2 in order to truncate the forward and reverse sequences of a single sample, both of which I had already removed the primers using the cutadapt trim-paired command. I viewed the quality of both sequences in qiime 2 (please click on the link to the file here - Dropbox). It appeared that the median quality of the reverse sequences appeared to drop off after the 290th sequence (<20), so I decided to truncate the forward and reverse sequences at this sequence using the following command:
qiime dada2 denoise-paired
--i-demultiplexed-seqs /home/qiime2/Desktop/Dolichospermum/trim.qza
--p-trunc-len-f 290
--p-trunc-len-r 290
--o-table /home/qiime2/Desktop/Dolichospermum/trim.qza/table.qza
--o-representative-sequences /home/qiime2/Desktop/Dolichospermum/trim.qza/rep-seqs.qza
--o-denoising-stats /home/qiime2/Desktop/Dolichospermum/trim.qza/denoising-stats.qza
But the subsequent error(s) resulted:
- 290 total bases in 1 read that something is wrong with the truncate command
- 290 total bases in 1 read that something is wrong with the truncate command
However, when I replace "290" with "0" in the dada2 denoise-paired command script above, the code successfully runs, replacing the above error with this:
- Has 12129464 total bases in 44642 reads
- Has 12264428 total bases in 44642 reads
Any advice/recommendation as to why this might be happening would be greatly appreciated. And please let me know if you have trouble accessing the link. Thank you!!

