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

Segmentation fault sambamba #6

Open
jfreimer opened this issue Jul 23, 2021 · 2 comments
Open

Segmentation fault sambamba #6

jfreimer opened this issue Jul 23, 2021 · 2 comments

Comments

@jfreimer
Copy link

jfreimer commented Jul 23, 2021

Hi,

I am trying to run the pipeline on some files from encode. I keep getting a segmentation fault killing the job when running sambamba to sort the files. However, if I just run the shell command on its own it runs just fine.

[Thu Jul 22 17:58:54 2021]
Job 4: ALIGN: sort bam file for analysis/align/IRF1_K562_input/IRF1_K562_input.bam

/usr/bin/bash: line 1:  2913 Segmentation fault      (core dumped) sambamba sort analysis/align/IRF1_K562_input/IRF1_K562_input.bam -o analysis/align/IRF1_K562_input/IRF1_K562_input.sorted.bam -t 8 -m 4G 2>> analysis/logs/align/IRF1_K562_input.log
[Thu Jul 22 17:59:14 2021]
Error in rule align_sortBams:
    jobid: 4
    output: analysis/align/IRF1_K562_input/IRF1_K562_input.sorted.bam
    log: analysis/logs/align/IRF1_K562_input.log (check log file(s) for error message)
    shell:
        sambamba sort analysis/align/IRF1_K562_input/IRF1_K562_input.bam -o analysis/align/IRF1_K562_input/IRF1_K562_input.sorted.bam -t 8 -m 4G 2>>analysis/logs/align/IRF1_K562_input.log

Shutting down, this might take some time.
Exiting because a job execution failed. Look above for error message

However, if I just run this on a development node it runs fine:
(chips) [jfreimer@dev3 test_chip]$ sambamba sort analysis/align/IRF1_K562_input/IRF1_K562_input.bam -o analysis/align/IRF1_K562_input/IRF1_K562_input.sorted.bam -t 8 -m 8G 2>>analysis/logs/align/IRF1_K562_input.log

@zhangzhiyangcs
Copy link

Hi, I get similar error when I run the example from F1000. But I met error at fastp which report Segmentation fault (core dumped). Do you deal with it? Thanks a lot.

@baigal628
Copy link
Contributor

Hi, I guess it might be a memory issue. Allocating larger memory should help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants