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

Bsmap Alignment very slow #1

Open
haloudashu opened this issue Jul 2, 2024 · 4 comments
Open

Bsmap Alignment very slow #1

haloudashu opened this issue Jul 2, 2024 · 4 comments

Comments

@haloudashu
Copy link

No description provided.

@haloudashu
Copy link
Author

Hi Team,

I am running Bsmap with the below command. I can see it's really slow.

bsmap
-a ${outdir}/${sample}/${sample}_cut1.fq.gz
-b ${outdir}/${sample}/${sample}_cut2.fq.gz
-d ${genomefa}
-z 33 -S 1 -s 16 -g 3 -n 1 -q 0 -f 5 -p 30 -u -r 1 -v 15
-o ${outdir}/${sample}/bsmap/${sample}_bsmapAligned.bam
2> ${outdir}/${sample}/bsmap/${sample}_bsmap_output.txt

I have 511,750,752 total reads paired. about 112 (Gb) data. I did pre processing. Filtered reads are used for align. it used 32 CPUs and 128GB RAM.
The process has been running for 137 hours and is still not complete. Can you please help with this?

Version: Bsmap 2.90

@haloudashu
Copy link
Author

image
This is computing resource usage

@haloudashu haloudashu changed the title Bsmap Bsmap Alignment very slow Jul 2, 2024
@xi11west
Copy link
Owner

xi11west commented Jul 2, 2024 via email

@haloudashu
Copy link
Author

Thank you for your response. I tried setting the -g parameter to its default value and conducted tests using 14,596,415 total read pairs, which is approximately 5GB of data. When -g was set to 3, the completion time was 6 hours and 28 minutes, whereas when -g was set to 0 (the default), the completion time was only 1 hour and 2 minutes. Although this resulted in a roughly 5% reduction in alignment rate, it saved a significant amount of time. I think, under the default parameters, whether using -p 30 would result in a 50% time reduction compared to using -p 12?

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

2 participants