From d54627659ab697e31a5ca1b8147c43c492072bd8 Mon Sep 17 00:00:00 2001 From: lingnanyuan <1297162327@qq.com> Date: Fri, 3 Nov 2017 15:18:46 -0500 Subject: r-impute: Create new package. (#6116) --- .../repos/builtin/packages/r-impute/package.py | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 var/spack/repos/builtin/packages/r-impute/package.py diff --git a/var/spack/repos/builtin/packages/r-impute/package.py b/var/spack/repos/builtin/packages/r-impute/package.py new file mode 100644 index 0000000000..eb3e6872ca --- /dev/null +++ b/var/spack/repos/builtin/packages/r-impute/package.py @@ -0,0 +1,36 @@ +############################################################################## +# Copyright (c) 2013-2017, Lawrence Livermore National Security, LLC. +# Produced at the Lawrence Livermore National Laboratory. +# +# This file is part of Spack. +# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved. +# LLNL-CODE-647188 +# +# For details, see https://github.com/llnl/spack +# Please also see the NOTICE and LICENSE files for our notice and the LGPL. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License (as +# published by the Free Software Foundation) version 2.1, February 1999. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and +# conditions of the GNU Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +############################################################################## +from spack import * + + +class RImpute(RPackage): + """Imputation for microarray data (currently KNN only).""" + + homepage = "https://www.bioconductor.org/packages/impute/" + url = "https://git.bioconductor.org/packages/impute" + + version('1.50.1', git='https://git.bioconductor.org/packages/impute', commit='31d1cc141797afdc83743e1d95aab8a90ee19b71') + + depends_on('r@3.4.0:3.4.9', when='@1.50.1') -- cgit v1.2.3-60-g2f50