summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorGeorge Young <A-N-Other@users.noreply.github.com>2024-04-18 18:09:00 +0100
committerGitHub <noreply@github.com>2024-04-18 10:09:00 -0700
commit26ad22743f06e35e973a7e6a0d3b32f1eca35fef (patch)
tree02ff69b6aedc3a464426fd4fe62161ec6af77a28 /var
parent46c2b8a5655408d834c2b24441f0dd5922a8635d (diff)
downloadspack-26ad22743f06e35e973a7e6a0d3b32f1eca35fef.tar.gz
spack-26ad22743f06e35e973a7e6a0d3b32f1eca35fef.tar.bz2
spack-26ad22743f06e35e973a7e6a0d3b32f1eca35fef.tar.xz
spack-26ad22743f06e35e973a7e6a0d3b32f1eca35fef.zip
cellranger: new manual download package @7.1.0 (#38486)
* cellranger: new manual download package @7.1.0 * cellranger: updating to @7.2.0 * updating website * Adding license url --------- Co-authored-by: LMS Bioinformatics <bioinformatics@lms.mrc.ac.uk>
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/cellranger/package.py38
1 files changed, 38 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/cellranger/package.py b/var/spack/repos/builtin/packages/cellranger/package.py
new file mode 100644
index 0000000000..31dded75e8
--- /dev/null
+++ b/var/spack/repos/builtin/packages/cellranger/package.py
@@ -0,0 +1,38 @@
+# Copyright 2013-2024 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)
+
+import os
+
+from spack.package import *
+
+
+class Cellranger(Package):
+ """Cellranger is a set of analysis pipelines that process Chromium single cell data to
+ align reads, generate feature-barcode matrices, perform clustering and other secondary
+ analysis, and more.
+
+ This package requires the user to accept a license and to download the tarball manually.
+ Once downloaded, the file should be placed within a manual mirror or within the current
+ directory. For instructions on making a manual mirror, see
+ https://spack.readthedocs.io/en/latest/mirrors.html"""
+
+ homepage = "https://www.10xgenomics.com/support/software/cell-ranger/latest"
+ manual_download = True
+ license_url = "support.10xgenomics.com/license"
+
+ version("7.2.0", sha256="b092bd4e3ab585ad051a231fbdd8f3f0f5cbcd10f657eeab86bec98cd594502c")
+ version("7.1.0", sha256="5c4f9b142e3c30ad10ae15d25868df2b4fd05bdb3bbd47da0c83a7cc649b577e")
+
+ # cellranger is distributed as precompiled binaries that are not compatible with
+ # processors without the avx instruction set ...
+ conflicts("target=:k10") # last AMD processor not to support avx
+ conflicts("target=:westmere") # last Intel processor not to support avx
+ conflicts("target=:x86_64_v2") # last generic architecture not to support avx
+
+ def url_for_version(self, version):
+ return "file://{0}/cellranger-{1}.tar.gz".format(os.getcwd(), version)
+
+ def install(self, spec, prefix):
+ install_tree(".", prefix)