summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author健美猞猁 <weijianwen@gmail.com>2019-09-01 13:01:35 +0800
committerAdam J. Stewart <ajstewart426@gmail.com>2019-09-01 00:01:35 -0500
commit8c9e14486b0d2070fc0bf855aaba33fc4db7ccc3 (patch)
treea5f4a292d6edb4ac5d189b2ed0e1acaa3a47fef4
parentbb28028608635134229329ba102851f9e54b027b (diff)
downloadspack-8c9e14486b0d2070fc0bf855aaba33fc4db7ccc3.tar.gz
spack-8c9e14486b0d2070fc0bf855aaba33fc4db7ccc3.tar.bz2
spack-8c9e14486b0d2070fc0bf855aaba33fc4db7ccc3.tar.xz
spack-8c9e14486b0d2070fc0bf855aaba33fc4db7ccc3.zip
A new package: fastp. (#12671)
* A new package: fastp. * Flake8. * Flake8.
-rw-r--r--var/spack/repos/builtin/packages/fastp/package.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/fastp/package.py b/var/spack/repos/builtin/packages/fastp/package.py
new file mode 100644
index 0000000000..5d129e32d2
--- /dev/null
+++ b/var/spack/repos/builtin/packages/fastp/package.py
@@ -0,0 +1,20 @@
+# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class Fastp(MakefilePackage):
+ """A tool designed to provide fast
+ all-in-one preprocessing for FastQ files."""
+
+ homepage = "https://github.com/OpenGene/fastp"
+ url = "https://github.com/OpenGene/fastp/archive/v0.20.0.tar.gz"
+
+ version('0.20.0', sha256='8d751d2746db11ff233032fc49e3bcc8b53758dd4596fdcf4b4099a4d702ac22')
+
+ def install(self, spec, prefix):
+ mkdirp(prefix.bin)
+ make('install', 'PREFIX={0}'.format(prefix))