new package: Soapdenovo2 (#7047)

This commit is contained in:
Yifan Zhu 2018-02-20 12:33:41 -06:00 committed by scheibelp
parent c3e8df6c93
commit 0166d09ee2

View File

@ -0,0 +1,43 @@
##############################################################################
# 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/spack/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 Soapdenovo2(MakefilePackage):
"""SOAPdenovo is a novel short-read assembly method that can build a de
novo draft assembly for the human-sized genomes. The program is
specially designed to assemble Illumina GA short reads. It creates
new opportunities for building reference sequences and carrying out
accurate analyses of unexplored genomes in a cost effective way."""
homepage = "https://github.com/aquaskyline/SOAPdenovo2"
url = "https://github.com/aquaskyline/SOAPdenovo2/archive/r240.tar.gz"
version('240', '3bc6b63edf87bb47874bb6f126e43cd4')
def install(self, spec, prefix):
mkdirp(prefix.bin)
install('SOAPdenovo-63mer', prefix.bin)
install('SOAPdenovo-127mer', prefix.bin)