diff options
author | lingnanyuan <1297162327@qq.com> | 2017-10-27 01:27:19 -0500 |
---|---|---|
committer | Massimiliano Culpo <massimiliano.culpo@googlemail.com> | 2017-10-27 08:27:19 +0200 |
commit | 3bb4572e81df28c2926dca501bd36f2cd807dc1d (patch) | |
tree | 62fd6765f845577ac2769020ebb75c9f604ba96b /var | |
parent | 95ece343c41c7113176a41e8f2b7d2d5116881c5 (diff) | |
download | spack-3bb4572e81df28c2926dca501bd36f2cd807dc1d.tar.gz spack-3bb4572e81df28c2926dca501bd36f2cd807dc1d.tar.bz2 spack-3bb4572e81df28c2926dca501bd36f2cd807dc1d.tar.xz spack-3bb4572e81df28c2926dca501bd36f2cd807dc1d.zip |
r-pfam-db: Create new package. (#5965)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/r-pfam-db/package.py | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/r-pfam-db/package.py b/var/spack/repos/builtin/packages/r-pfam-db/package.py new file mode 100644 index 0000000000..dd413e5632 --- /dev/null +++ b/var/spack/repos/builtin/packages/r-pfam-db/package.py @@ -0,0 +1,38 @@ +############################################################################## +# 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 RPfamDb(RPackage): + """A set of protein ID mappings for PFAM assembled using data from + public repositories.""" + + homepage = "https://www.bioconductor.org/packages/PFAM.db/" + url = "https://www.bioconductor.org/packages/release/data/annotation/src/contrib/PFAM.db_3.4.1.tar.gz" + + version('3.4.1', '65ed35887ecc44f5ac9f9c8563e03f44') + + depends_on('r@3.4.0:3.4.9', when='@3.4.1') + depends_on('r-annotationdbi', type=('build', 'run')) |