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

error handling w/ insufficient memory #9

Open
jamesdalg opened this issue Nov 30, 2017 · 3 comments
Open

error handling w/ insufficient memory #9

jamesdalg opened this issue Nov 30, 2017 · 3 comments

Comments

@jamesdalg
Copy link

jamesdalg commented Nov 30, 2017

Sometimes, without sufficient ram, quasar crashes. I've encountered this several times. In this case, I'm using 256GB of ram and it's insufficient to generate correct stats for 10kb.
Traceback (most recent call last):
File "/data/CCRBioinfo/dalgleishjl/quasarenv/bin/hifive", line 849, in
main()
File "/data/CCRBioinfo/dalgleishjl/quasarenv/bin/hifive", line 93, in main
run(args)
File "/data/CCRBioinfo/dalgleishjl/quasarenv/lib/python2.7/site-packages/hifive/commands/find_quasar_scores.py", line 134, in run
q1.print_report(args.report)
File "/data/CCRBioinfo/dalgleishjl/quasarenv/lib/python2.7/site-packages/hifive/quasar.py", line 642, in print_report
self._print_txt_report(filename, qscores, rscores)
File "/data/CCRBioinfo/dalgleishjl/quasarenv/lib/python2.7/site-packages/hifive/quasar.py", line 855, in _print_txt_report
temp = [label, self._num2str(cov), "%0.6f" % qscores[-1, i, j]]
IndexError: index 1 is out of bounds for axis 1 with size 1

@msauria
Copy link
Contributor

msauria commented Nov 30, 2017

I agree this is an issue. I will look into improving this.

@jamesdalg
Copy link
Author

Also helpful. With 5kb, it takes >1024GB to run. Question-- is there documentation that explains the per chromosome metrics in the text report?

@msauria
Copy link
Contributor

msauria commented Nov 30, 2017

The best thing to do is look at https://www.biorxiv.org/content/early/2017/11/14/204438
The per chromosome metrics are the same as the global metric, as for as calculation. They're less useful unless you're really interested in looking at chromosome variation.

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