diff options
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/gatk/package.py | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/gatk/package.py b/var/spack/repos/builtin/packages/gatk/package.py index f1a0511b70..f83ead3d2d 100644 --- a/var/spack/repos/builtin/packages/gatk/package.py +++ b/var/spack/repos/builtin/packages/gatk/package.py @@ -89,9 +89,20 @@ class Gatk(Package): url="https://storage.googleapis.com/gatk-software/package-archive/gatk/GenomeAnalysisTK-3.8-0-ge9d806836.tar.bz2" ) + # Make r a variant. According to the gatk docs it is not essential and not + # tested. + # https://github.com/broadinstitute/gatk#R + # Using R to generate plots + # Certain GATK tools may optionally generate plots using the R installation + # provided within the conda environment. If you are uninterested in plotting, + # R is still required by several of the unit tests. Plotting is currently + # untested and should be viewed as a convenience rather than a primary + # output. + variant('r', default=False, description='Use R for plotting') + depends_on("java@8", type="run") depends_on("python@2.6:2.8,3.6:", type="run", when="@4.0:") - depends_on("r@3.2:", type="run", when="@4.0:") + depends_on("r@3.2:", type="run", when="@4.0: +r") def install(self, spec, prefix): mkdirp(prefix.bin) |