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

sambamba slice piped with sambamba view is having runtime problem when running in parallel #513

Open
yangyxt opened this issue Oct 22, 2023 · 0 comments
Labels

Comments

@yangyxt
Copy link

yangyxt commented Oct 22, 2023

Only bug reports!

The D version of Sambamba is in maintenance mode. Use the github issue
tracker to report bugs only. For comments, questions and features,
please use the google group mailing list as stated on the
README!

Describe the bug

The command is like this:

"""
sambamba slice -q -L xxx.bed xxx.bam | sambamba view -q -F "xxx" -f sam /dev/stdin | sort - | uniq -
"""

When I run this command in interactive shell the command finishes in 20 seconds. But if I run it in python subprocess, in parallel (silcing the same bam file with different bed region files), it sometimes run into a situation where the command runs for hours (like 20 -40 hours according to my observation) and in htop interface, the job is always in an R status instead of stay in dormant (S or other status) and the CPU usage is around 100%. I'm so confused and having trouble to reproduce the issue if not run the entire pipeline.

To Reproduce

seems that I cannot reproduce the error to you guys instantly with any small samples. I just wonder whether my description will remind you of any similar issues you've been dealt with ? I cannot find any similar issues in the github issues section though. Thanks.

The sambamba version I'm using is 1.0.0. Thanks.

@yangyxt yangyxt added the bug label Oct 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant