[PATCH] gnu: Add r-snapatac.

OpenSubmitted by Mădălin Ionel Patrașcu.
Details
3 participants
  • Ludovic Courtès
  • Mădălin Ionel Patrașcu
  • Ricardo Wurmus
Owner
unassigned
Severity
normal
M
M
Mădălin Ionel Patrașcu wrote on 14 Jan 20:57 +0100
(address . guix-patches@gnu.org)
20210114195744.15053-1-madalinionel.patrascu@mdc-berlin.de
* gnu/packages/bioinformatics.scm (r-snapatac): New variable.--- gnu/packages/bioinformatics.scm | 51 ++++++++++++++++++++++++++++++++- 1 file changed, 50 insertions(+), 1 deletion(-)
Toggle diff (71 lines)diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scmindex 512abcd8fd..6be82773ac 100644--- a/gnu/packages/bioinformatics.scm+++ b/gnu/packages/bioinformatics.scm@@ -11,7 +11,7 @@ ;;; Copyright © 2017 Arun Isaac <arunisaac@systemreboot.net> ;;; Copyright © 2018 Joshua Sierles, Nextjournal <joshua@nextjournal.com> ;;; Copyright © 2018 Gábor Boskovits <boskovits@gmail.com>-;;; Copyright © 2018, 2019, 2020 Mădălin Ionel Patrașcu <madalinionel.patrascu@mdc-berlin.de>+;;; Copyright © 2018, 2019, 2020, 2021 Mădălin Ionel Patrașcu <madalinionel.patrascu@mdc-berlin.de> ;;; Copyright © 2019, 2020 Maxim Cournoyer <maxim.cournoyer@gmail.com> ;;; Copyright © 2019 Brian Leung <bkleung89@gmail.com> ;;; Copyright © 2019 Brett Gilio <brettg@gnu.org>@@ -7073,6 +7073,55 @@ sequence.") (supported-systems '("i686-linux" "x86_64-linux")) (license license:bsd-3))) +(define-public r-snapatac+ (package+ (name "r-snapatac")+ (version "2.0")+ (source+ (origin+ (method git-fetch)+ (uri (git-reference+ (url "https://github.com/r3fang/SnapATAC")+ (commit (string-append "v" version))))+ (file-name (git-file-name name version))+ (sha256+ (base32 "037jzlbl436fi7lkpq7d83i2vd1crnrik3vac2x6xj75dbikb2av"))))+ (properties `((upstream-name . "SnapATAC")))+ (build-system r-build-system)+ (propagated-inputs+ `(("r-bigmemory" ,r-bigmemory)+ ("r-doparallel" ,r-doparallel)+ ("r-dosnow" ,r-dosnow)+ ("r-edger" ,r-edger)+ ("r-foreach" ,r-foreach)+ ("r-genomicranges" ,r-genomicranges)+ ("r-igraph" ,r-igraph)+ ("r-iranges" ,r-iranges)+ ("r-irlba" ,r-irlba)+ ("r-matrix" ,r-matrix)+ ("r-plyr" ,r-plyr)+ ("r-plot3d" ,r-plot3d)+ ("r-rann" ,r-rann)+ ("r-raster" ,r-raster)+ ("r-rcolorbrewer" ,r-rcolorbrewer)+ ("r-rhdf5" ,r-rhdf5)+ ("r-rtsne" ,r-rtsne)+ ("r-scales" ,r-scales)+ ("r-viridis" ,r-viridis)))+ (home-page "https://github.com/r3fang/SnapATAC")+ (synopsis "Single nucleus analysis package for ATAC-Seq")+ (description+ "This package provides a fast and accurate analysis toolkit for single+cell ATAC-seq (Assay for transposase-accessible chromatin using sequencing).+Single cell ATAC-seq can resolve the heterogeneity of a complex tissue and+reveal cell-type specific regulatory landscapes. However, the exceeding data+sparsity has posed unique challenges for the data analysis. This package+@code{r-snapatac} is an end-to-end bioinformatics pipeline for analyzing large-+scale single cell ATAC-seq data which includes quality control, normalization,+clustering analysis, differential analysis, motif inference and exploration of+single cell ATAC-seq sequencing data.")+ (license license:gpl3)))+ (define-public r-scde (package (name "r-scde")-- 2.30.0
R
R
Ricardo Wurmus wrote on 15 Jan 00:43 +0100
(address . 45873@debbugs.gnu.org)(name . Patrascu, Madalin Ionel)(address . MadalinIonel.Patrascu@mdc-berlin.de)
87bldrccem.fsf@elephly.net
Hi Madalin,
thanks for the patch. It looks good to me but I have a few questions.
The README file claims that the Python Snaptools must be installed.This package does not do this, so I suppose the package will fail whenit’s run in an environment that does not have the Snaptools on the PATH.
Do you happen to have a package definition for the Snaptools as well, sothat we could either propagate it or patch r-snapatac to retainreferences to the executables it provides?
I also see references to Homer and other bioinfo tools, which are notprovided by this package and which are not found among the inputs. Doesit make sense to install this package when these tools are notavailable?
-- Ricardo
L
L
Ludovic Courtès wrote on 19 Mar 22:16 +0100
control message for bug #45873
(address . control@debbugs.gnu.org)
87mtuyc09k.fsf@gnu.org
tags 45873 + moreinfoquit
?