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
The broadinstitute/picard docker image crashes with several tools because R/Rscript is not installed inside the image. #1197
Comments
5 tasks
I've submitted pull request #1198 which I think fixes this issue: compare this: (the "aphoid/picard" docker image only implements that change)
with the native broadinstitute/picard run:
|
Is this resolved? It looks like the Dockerfile has r-base included now, and the "latest" tagged image at hub.docker.com seems to have it. |
I think the issue is resolved. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug Report
Affected tools
CollectInsertSizeMetrics, QualityScoreDistribution, MeanQualityByCycle, CollectBaseDistributionByCycle, CollectGcBiasMetrics, CollectRnaSeqMetrics, CollectRrbsMetrics, and CollectWgsMetricsWithNonZeroCoverage (github code search for 'RExecutor')
Affected version(s)
Description
A number of the Picard Metrics tools generate R code and run it by calling RExecutor. That method runs
Rscript
to generate graphics/PDFs. This would work fine in many installations since R/Rscript is available on the user's PATH, but the docker image distributed does not include R, so those tools crash and do not generate the requested graphics if they are run.Steps to reproduce
Pull the latest broadinstitute/picard docker image and try to run any of the above tools that invoke RExecutor. Included below is an example with CollectInsertSizeMetrics.
Expected behavior
The histogram PDF is generated along with the text output files.
Actual behavior
The text file is generated, but java/Picard crashes with an IOExeption since Rscript is not available in the Docker image.
The text was updated successfully, but these errors were encountered: