Skip to content

adapter detection gets stuck and uses all memory on ONT data #607

Description

@mcolpus

Hello,

I'm using fastp in a pipeline and found that some samples were giving out of memory errors when going through fastp.
I've attached a small example:
small.fq.gz

I'm using 0.24.1 and I just run:

fastp -i small.fq.gz  -o clean.fastq.gz

It displays:

Detecting adapter sequence for read1...

but gets stuck whilst increasingly using more ram (100G+)

There are some very short reads so I tried filtering any <100bp long first, but that doesn't fix the issue.

If I disable adapter trimming then the sample does run completely fine.

Thanks,
Let me know if you need any more info

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions