davidebolo1993 / VISOR

VarIant SimulatOR for short, long and linked reads
GNU Lesser General Public License v3.0
41 stars 10 forks source link

Finally! Bus error (core dumped) #14

Closed lx-4199 closed 3 years ago

lx-4199 commented 3 years ago

Hello! ![Uploading 图片.png…]() when i run " VISOR LASeR -s ins.hack.out -b ins.shorts.laser.simple.bed -g /public/home/cche/lixin/simu_soft/ref/human_hs37d5.fasta -o ins.laser.out --threads 7 --coverage 10 --length_mean 8000 ", it show Bug error (core dumped) after 7 hours.

[08/01/2021 7:00:45][Message] VISOR LASeR v1.1 [08/01/2021 7:00:46][Message] Preparing for bulk simulations with a single clone [08/01/2021 7:00:46][Message] Processing clone 1 [08/01/2021 7:00:46][Message] Processing haplotype 1 [08/01/2021 7:00:46][Message] Simulating from region 1:1-250030358 [08/01/2021 7:00:46][Message] Preparing simulation from /public/home/cche/lixin/simu_soft/ins.hack.out/h1.fa. Clone 1. Haplotype 1 [08/01/2021 7:00:56][Message] Simulated coverage for this region will be 10.0 [08/01/2021 7:00:57][Message] Simulating Bus error (core dumped)

in fact, i dont know what resulted it, and want to know anybody that met the same things, and how to fix it. Thank you!

davidebolo1993 commented 3 years ago

Hi @lx-4199,

Bus erorrs are usually related to memory consumption (see this post for more details https://stackoverflow.com/questions/212466/what-is-a-bus-error) and are not VISOR-specific. As this is happening during BadRead-simulations, I guess this is related to the fact that VISOR implements a parallel version of BadRead for simulating long reads (because Badread is overall slow), which is of course faster but more memory-consuming. I don't know why this is happening after 7 hours though. If possible, it would be good to know if this is happening also on other high-performing machines 'cause I did not get into this during my tests. Also, it would be useful if you can share your dataset so that I can try to re-create the issue

Best,

Davide

davidebolo1993 commented 3 years ago

Hi @lx-4199,

any updates on this?

davidebolo1993 commented 3 years ago

Closing. Feel free to re-open at any time