monagrland / MB_Pipeline

Metabarcoding Pipeline for Illumina Sequencing Data
GNU Affero General Public License v3.0
1 stars 1 forks source link

Cutadapt may produce zero-length sequences after adapter trimming #16

Closed kbseah closed 8 months ago

kbseah commented 9 months ago

See Cutadapt documentation. Should use -m / --minimum-length option.

Empty sequences cause problems with downstream tools including submission of demultiplexed, trimmed reads to ENA.

If you do not use this option, reads that have a length of zero (empty reads) are kept in the output. Some downstream tools may have problems with zero-length sequences. In that case, specify at least -m 1.