-
Notifications
You must be signed in to change notification settings - Fork 21
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
Memory error when using metasv #124
Comments
Thanks for using MetaSV @daxian248. Would you please share with us the log? |
Here is the log @msahraeian |
The error has occurred when it tries to do pool = multiprocessing.Pool(nthreads). Please let me know if it still doesn't work. |
Hi, Marghoob. I have tried many times and changed my command every time, but no one succeeded. Here is one the commands: I mainly changed the "--num_threads" and "--max_ins_intervals", all the log files is the same and here is one of them By the way, my metasv version is 0.5.2. |
Hi @daxian248 , could you please try the following if possible and if it makes sense: use MetaSV version 0.5.4, run only for the major contigs using |
Thanks, @marghoob . I'll try version 0.5.4. |
Hi, marghoob. I tried "-chromosomes 1" with version 0.5.4, but still failed with the error "OSError: [Errno 12] Cannot allocate memory". Then I tried the smallest chromosome 18, this is the log. |
Thanks, @daxian248. Looks like your machine may not have enough memory. Can you share the memory and CPU specs of the machine you are trying to run on? |
[ylma@comput10 ~]$ grep 'physical id' /proc/cpuinfo | sort -u By the way, the average size of my six bam files is about 50G. |
I'm using metasv to merge the output of pindel, cnvnator and breakdancer. But I get the error "OSError: [Errno 12] Cannot allocate memory". I want to know if the metasv read all the bam file into memory when merge the SVs.
Here is my command:
run_metasv.py --reference /public/home/ylma/genome/Sus_scrofa/Sus_scrofa.Sscrofa10.2.dna.toplevel.fa
--breakdancer_native rc.out
--cnvnator_native rc.cnv
--pindel_native rc_D rc_LI rc_SI rc_TD rc_INV
--sample BMX --bams SAMN02298127.02.bam SAMN02298128.02.bam SAMN02298129.02.bam SAMN02298130.02.bam SAMN02298131.02.bam SAMN02298132.02.bam
--spades /public/home/ylma/tools/SPAdes-3.10.1-Linux/bin/spades.py
--age /public/home/ylma/tools/AGE/age_align --num_threads 15 --workdir work --outdir out
--max_ins_intervals 500000 --isize_mean 500 --isize_sd 150
The text was updated successfully, but these errors were encountered: