Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mutect2 error #1644

Open
yannic-chen opened this issue Sep 4, 2024 · 9 comments
Open

Mutect2 error #1644

yannic-chen opened this issue Sep 4, 2024 · 9 comments
Labels
bug Something isn't working

Comments

@yannic-chen
Copy link

Description of the bug

Hello,

I am running the "standard" pipeline with many variant callers, but suddenly got an error with Mutect2. The same command has worked previously for me for before. The command I ran is:
nextflow run nf-core/sarek -profile docker --input samplesheet.csv --outdir EMB95_01-009_sarek --igenomes_base ~/references/ --tools "deepvariant,mpileup,haplotypecaller,mutect2,freebayes,strelka" -resume

I have attached the nextflow log.

Command used and terminal output

nextflow run nf-core/sarek    -profile docker    --input samplesheet.csv    --outdir EMB95_01-009_sarek --igenomes_base ~/references/ --tools "deepvariant,mpileup,haplotypecaller,mutect2,freebayes,strelka" -resume

Relevant files

nextflow.log

System information

No response

@yannic-chen yannic-chen added the bug Something isn't working label Sep 4, 2024
@asp8200
Copy link
Contributor

asp8200 commented Sep 4, 2024

The error msg is "error waiting for container: unexpected EOF". It seems a lot of people ran into that problem with Docker. What version of Docker are you using?

I suggest that you come on over in the Sarek Slack channel and discuss this issue. Cheers

@yannic-chen
Copy link
Author

This is my docker version

Client: Docker Engine - Community
Version: 27.2.0
API version: 1.43 (downgraded from 1.47)
Go version: go1.21.13
Git commit: 3ab4256
Built: Tue Aug 27 14:15:15 2024
OS/Arch: linux/amd64
Context: default

Server:
Engine:
Version: 24.0.5
API version: 1.43 (minimum version 1.12)
Go version: go1.20.14
Git commit: a61e2b4
Built: Tue Jun 25 22:38:06 2024
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: v1.6.21
GitCommit: 3dce8eb055cbb6872793272b4f20ed16117344f8
runc:
Version: 1.1.12
GitCommit:
docker-init:
Version: 0.19.0
GitCommit: de40ad0

If it is a docker problem, then how was I able to run the same command previously to success?

@asp8200
Copy link
Contributor

asp8200 commented Sep 4, 2024

Hmmm ... good question.

Can you at least run the following commands on your system:

nextflow run nf-core/sarek -r 3.4.3 -profile test,tools_tumoronly,docker --tools mutect2 --outdir results

and

nextflow run nf-core/sarek -r 3.4.3 -profile test,tools_tumoronly,docker --tools mutect2 --no_intervals --outdir results

Those tests (here and here) have been run for v3.4.3, so they should also work on your system.

@yannic-chen
Copy link
Author

Both of the commands were completed successfully.

@asp8200
Copy link
Contributor

asp8200 commented Sep 4, 2024

Let's ask @pontus - he is good with computers 😁

@pontus
Copy link

pontus commented Sep 4, 2024

Could this be the OOM-killer activating for something unexpected? sudo dmesg -T should give a hint.

@yannic-chen
Copy link
Author

here is the output of that command.

dmesg.txt

@pontus
Copy link

pontus commented Sep 5, 2024

Ok, thanks, so it wasn't OOM (although there were some interesting apparmor notices that might cause issues, but probably not here).

But it still looks like some form of stability issue (with docker). I haven't seen any reports of this kind of issue.

I don't have the energy right now to parse the log well enough so I'm certain, but from a quick look it seems like there are multiple tasks running at the same time as the mutect, could you change that so that not so many run simultaneously? (Changing either maxForks or cpu or memory for that task, this is expected to help if it's some form of overload causing timeouts yielding errors, but not causing out of memory kills.)

Alternatively if that doesn't work, you might try replacing the snap docker installation with an installation of docker engine from docker.io, I don't know that it should really help but there are spurious reports of issues with the snap setup.

@yannic-chen
Copy link
Author

I ran the command again with -resume and it now completed without any issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants