# Kneaddata:Bowtie2 error: skipping reads

**URL:** <https://forum.biobakery.org/t/kneaddata-bowtie2-error-skipping-reads/2087>\
**Category:** KneadData\
**Created:** [May 17, 2021, 9:42am UTC](https://forum.biobakery.org/t/kneaddata-bowtie2-error-skipping-reads/2087 "2021-05-17T09:42:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dhrati\_Patangia](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.biobakery.org/dhrati_patangia/32/786_2.png) [@Dhrati\_Patangia](https://forum.biobakery.org/u/Dhrati_Patangia)\
**Post date:** [May 17, 2021, 9:42am UTC](https://forum.biobakery.org/t/kneaddata-bowtie2-error-skipping-reads/2087/1 "2021-05-17T09:42:47Z")

</div>

Hi all, I am using kneaddata with bowtie2. Using the default parameters with trimmomatic options (trimmomatic\_options = MINLEN:12 SLIDINGWINDOW:4:15) my log file showed warnings of the following type repeating several times:

Warning: skipping read ‘####’ because length (1) \<= # seed mismatches (0) Warning: skipping read ‘####’ because it was \< 2 characters long

But when I use kneaddata with default parameters I do not get this warning, however, end up getting fewer reads as compared to using the modified parameters.

I have the following questions:

Does this mean there is a problem with my reads? If so how to find that out? Should I avoid changing the trimmomatic parameters? Do you think that can cause the reads to be filtered out here? Will I lose these reads in the next steps to come if I use default parameters?

Any help would be appreciated

Thank you

---

<div class="post-metadata">

**Author:** ![sagunmaharjann](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.biobakery.org/sagunmaharjann/32/168_2.png) [@sagunmaharjann](https://forum.biobakery.org/u/sagunmaharjann)\
**Post date:** [June 3, 2021, 3:20pm UTC](https://forum.biobakery.org/t/kneaddata-bowtie2-error-skipping-reads/2087/2 "2021-06-03T15:20:38Z")

</div>

Hi @Dhrati_Patangia,

Thank you for reaching out to the biobakery lab. I think setting the `trimmomatic_options = MINLEN:12 SLIDINGWINDOW:4:15` is causing the problem as the value of MINLEN is very low i.e 12.

```auto
[DEFAULT : SLIDINGWINDOW:4:20 MINLEN:50]
MINLEN is set to 50 percent of total input read length. 
The user can alternatively specify a length (in bases) for MINLEN.

```

Based on your input bp, you should be setting your trimmomatic options. We use the above value as default for Kneaddata.

Regards,  
Sagun
