summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorGeorge Young <A-N-Other@users.noreply.github.com>2024-04-18 18:08:04 +0100
committerGitHub <noreply@github.com>2024-04-18 10:08:04 -0700
commit46c2b8a5655408d834c2b24441f0dd5922a8635d (patch)
tree3f28e1892a6d8829ed5cd19bc77a8ea5fa2aff47 /var
parent5cbb59f2b8bc97107092af769e3e5bc7ecbd81fd (diff)
downloadspack-46c2b8a5655408d834c2b24441f0dd5922a8635d.tar.gz
spack-46c2b8a5655408d834c2b24441f0dd5922a8635d.tar.bz2
spack-46c2b8a5655408d834c2b24441f0dd5922a8635d.tar.xz
spack-46c2b8a5655408d834c2b24441f0dd5922a8635d.zip
xeniumranger: new manual download package @1.7.1 (#42389)
* xeniumranger: new manual download package @1.7.1 * 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/xeniumranger/package.py38
1 files changed, 38 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/xeniumranger/package.py b/var/spack/repos/builtin/packages/xeniumranger/package.py
new file mode 100644
index 0000000000..d08ceb553d
--- /dev/null
+++ b/var/spack/repos/builtin/packages/xeniumranger/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 Xeniumranger(Package):
+ """The Xenium In Situ software suite is a set of software applications for analyzing and
+ visualizing in situ gene expression data produced by the Xenium Analyzer. Xenium Ranger
+ provides flexible off-instrument reanalysis of Xenium In Situ data.
+
+ 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/xenium-ranger/latest"
+ manual_download = True
+ license_url = "support.10xgenomics.com/license"
+
+ version("1.7.1", sha256="3bfa85de75ef473b54a5a6d853649999e446f2f00cc202750bb22af5078965a1")
+
+ # xeniumranger is distributed as precompiled binaries that are not compatible with
+ # processors without the avx instruction set ...
+ # https://www.10xgenomics.com/support/software/xenium-ranger/downloads/XR-system-requirements
+ 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}/xeniumranger-{1}.tar.gz".format(os.getcwd(), version)
+
+ def install(self, spec, prefix):
+ install_tree(".", prefix)