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: Failed to retrieve the result of MulticoreFuture (future_apply-6) #10

Open
hsinjou0714 opened this issue Mar 30, 2021 · 2 comments

Comments

@hsinjou0714
Copy link

Hi!
My Prewas wasn't able to be finished due to the following issue:
image
Looks like it's related to the future library? Could you please help me with it ?
I also wonder if there is a way to run prewas faster if I have a large vcf file (after vcfR it's around 6GB).
Thanks !

@hsinjou0714
Copy link
Author

hsinjou0714 commented Mar 30, 2021

There is another issue when I retry with anc = FALSE
image
However, when I looked in to my vcf, the columns and chrom positions are unique, so I'm not sure how should I fix this?
code:
image

I used the following to merge my vcf (snps was called by snippy):
bcftools merge -i ANN:join -m both -o out_pao1_bactome_multivcf.vcf -Ov */snps.vcf.gz

Wonder if you have any suggestions?

@zenalapp
Copy link
Collaborator

Hi! Sorry we didn't respond to this earlier, I was in the middle of finishing up my PhD thesis.

  1. Some of the code we used before for future is deprecated. I removed this from the code.
    Could you try re-installing the GitHub version and re-running the code:
install_github('Snitkin-Lab-Umich/prewas')
  1. If you would like to improve your performance, you can register a future plan prior to calling prewas:
future::plan(future::multicore, workers = 2)

We used the multicore plan to split the work across 2 cores. See the future documentation for more about picking the best plan for your use case. Notably, multicore does not work inside RStudio or on Windows; you will need to use multisession instead in those cases.

I will open an issue to clarify this in the vignette.

  1. With respect to your issue with anc = FALSE, could you please provide some data that reproduces the issue so I can help troubleshoot it?

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