summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2022-08-16 15:06:53 +0200
committerRicardo Wurmus <rekado@elephly.net>2022-08-16 15:22:07 +0200
commit9c2400c28272b7354608f0c727e1f483db190719 (patch)
tree746a7f61473fbdacc56d74f187f213b0822c984f /gnu
parenta60412019e532dcdf1c74d17ac614ef9e074a5ce (diff)
gnu: Add python-taggd.
* gnu/packages/bioinformatics.scm (python-taggd): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/bioinformatics.scm37
1 files changed, 37 insertions, 0 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 9c18737ade..518a904922 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -6449,6 +6449,43 @@ Values such as sequence name, sequence description, sequence quality and the
sequence itself can be retrieved from these databases.")
(license license:bsd-3)))
+(define-public python-taggd
+ (package
+ (name "python-taggd")
+ (version "0.3.6")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/SpatialTranscriptomicsResearch/taggd")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0j19ah81z7aqrdljah9hyarp91gvgbk63pz6fz3pdpksy1yqyi6k"))
+ (modules '((guix build utils)))
+ (snippet
+ '(for-each delete-file
+ (find-files "taggd" "\\.c$")))))
+ (build-system python-build-system)
+ (arguments
+ (list
+ #:phases
+ '(modify-phases %standard-phases
+ (add-after 'unpack 'disable-broken-tests
+ (lambda _
+ (substitute* "tests/taggd_demultiplex_test.py"
+ (("def test_normal_bam_run")
+ "def _disabled_test_normal_bam_run")))))))
+ (propagated-inputs
+ (list python-numpy python-pysam python-setuptools))
+ (native-inputs
+ (list python-cython))
+ (home-page "https://github.com/SpatialTranscriptomicsResearch/taggd")
+ (synopsis "Genetic barcode demultiplexing")
+ (description "This package provides TagGD barcode demultiplexing utilities
+for Spatial Transcriptomics data.")
+ (license license:bsd-3)))
+
(define-public sra-tools
(package
(name "sra-tools")