-
Notifications
You must be signed in to change notification settings - Fork 85
Add MATLAB Runtime and the relevant MATLAB programs to project Docker container #529
Description
We currently run GISTIC upstream of the project. It would be great to include the GISTIC steps in the project repository, as that would give us a better opportunity to document and encapsulate the entire CNA analysis file pipeline and give us more flexibility for how GISTIC is run (e.g., on individual histologies with larger sample sizes, different parameters for a broad change) if desired. Notably, we may also want to use something like MutSigCV (#517) and that would have similar constraints (more on that below).
To include the GISTIC or MutSigCV steps within the project, we will need to install these on the project Docker container. Both of these programs appear to have executable versions that can be run if the MATLAB Compiler Runtime libraries are installed.
From the GISTIC README.txt
:
The executable is the gene pattern module 'gp_gistic2_from_seg'. This
module depends on the libraries in the MATLAB Compiler Runtime (MCR)
version 8.3 (R2014a).
And from the MutSig documentation:
If you do not have a license for Matlab, you can run the compiled version of MutSigCV using the free Matlab MCR:
run_MutSigCV.sh <path_to_MCR> mutations.maf coverage.txt covariates.txt output.txt
At least GISTIC comes with an MCR Installer, but the size of that installation is non-negligible (~0.5 GB), so we should plan to install it once and symlink it to the individual tools' folders.
Here is an example Dockerfile for MCR: https://hub.docker.com/r/usuresearch/matlab-runtime/dockerfile (H/T @cgreene)