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

Workers don't locate BAM files in parallel mode #31

Open
franciscodavid opened this issue Feb 21, 2020 · 1 comment
Open

Workers don't locate BAM files in parallel mode #31

franciscodavid opened this issue Feb 21, 2020 · 1 comment

Comments

@franciscodavid
Copy link

Hi,

When running CopywriteR with BiocParallel with a bp.param like this one:

bp.param <- SnowParam(workers= 5, type= "SOCK")

I'm getting errors regarding BAM files not found in the workers

Error: BiocParallel errors
element index: 1, 2, 3, 4, 5, 6, ...
first error: failed to open BamFile: file(s) do not exist:

These errors are not occurring in multicore or singlecore runs and seem to be caused by using the basename of BAM paths instead of the full BAM paths.

Here is the traceback() output of the error

4: stop(.error_bplist(res))
3: bplapply(sample.files, Stats.2, BPPARAM = bp.param)
2: bplapply(sample.files, Stats.2, BPPARAM = bp.param)
1: CopywriteR(sample.control = data.frame(samples, controls), destination.folder = outpF,
reference.folder = binref, capture.regions.file = roi, bp.param = bp.param)

I hope that helps.

@breezyzhao
Copy link

Hi,

I met the same problem here... if I only use one sample for the test, then everything looks good, however, the error happens when I try to use the parallel methods....
image

Any idea how to solve this?

Many thanks in advance

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