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

Run SNP-pileup only [Feature Request] #13

Open
not-rs opened this issue Sep 12, 2019 · 1 comment
Open

Run SNP-pileup only [Feature Request] #13

not-rs opened this issue Sep 12, 2019 · 1 comment

Comments

@not-rs
Copy link

not-rs commented Sep 12, 2019

Hi Dario,

Would it be possible to add an option to run only the SNP-pileup step with --snp-nprocs ? This would only generate the pileup input for option 2.

The current setup on a cluster causes the requesting of excess memory for the SNP pileup and CPUs which are not used in the following steps of cnv_facets.R.

Best wishes,
Roshan

@not-rs not-rs changed the title Run SNP-pileup only Run SNP-pileup only [Feature Request] Sep 12, 2019
@dariober
Copy link
Owner

The current setup on a cluster causes the requesting of excess memory for the SNP pileup and CPUs which are not used in the following steps of cnv_facets.R.

Hi- I think I see your point. snp-pileup takes many CPUs but little memory while facets needs only 1 CPU but a lot of memory. So splitting the two jobs would make better use of resources.

Adding an option to produce only the pileup is certainly possible - I'll think about it. I should point out, however, that the pileup step doesn't benefit that much of multiple processes. There may be a speed-up of 4-8x relative to a single process so you could run cnv_facets.R with, say, --snp-nprocs 2 or 4 to limit the resource request.

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