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

Getting memory error while using hg19 as reference and targeted bed file for whole exome #61

Open
ghost opened this issue May 22, 2019 · 4 comments

Comments

@ghost
Copy link

ghost commented May 22, 2019

Hi,

I am trying to simulate variants for whole exome with a targeted bed file. As per your suggestion, i divided the job into 23 jobs. However, i am getting error as shown below. Same error was generated when i tried with 50 and 100 as number of jobs. Would you please help me in resolving this error? I am using hg19.fasta as reference.

My command is:
python genReads.py -r hg19.fasta -R 75 -o hg19_allExon_simulated --pe 500 50 --vcf -t SSAllExon_V6_r2_S07604514_covered.bed -c 100 --job 2 23

And the error is:

image

Thanks

@zstephens
Copy link
Owner

Greetings,
This error suggests that the system genReads.py is running on is unable to allocate the RAM required to store the reference sequence in memory. What kind of system are you running on? Are you trying to run all 23 jobs at once on the same computer (such that your memory is tasked with holding 23 copies of the reference sequences at a time?).
-Zach

@ghost
Copy link
Author

ghost commented May 23, 2019 via email

@zstephens
Copy link
Owner

Hmm. I tried to replicate this but was unable to. (granted I used a different BED file to specify exome region: https://support.illumina.com/downloads/truseq-exome-product-files.html )

Are you able to track memory usage through an activity monitor, or something comparable, to see what its usage gets up to before dying?

Is there anything particularly funky about the BED file you're using? If that file is publicly available (or if you don't mind sharing it with me) I could attempt to run the exact command on my end to see if there's a bug of some sort.

@ghost
Copy link
Author

ghost commented May 30, 2019 via email

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

1 participant