all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#44311] [PATCH] gnu: Add r-deconstructsigs.
@ 2020-10-29 17:09 Aniket Patil
  2020-12-22 18:15 ` zimoun
  2020-12-22 22:38 ` bug#44311: " Ricardo Wurmus
  0 siblings, 2 replies; 6+ messages in thread
From: Aniket Patil @ 2020-10-29 17:09 UTC (permalink / raw)
  To: 44311; +Cc: Aniket Patil

* gnu/packages/cran.scm (r-deconstructsigs): New variable.
---
 gnu/packages/cran.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 82caaf54f6..75d9ae7de2 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -24715,3 +24715,33 @@ modal regression and conditional density estimation in the
 presence/absence of measurement error. Bandwidth selection is 
 also provided for each method.")
     (license license:gpl2+)))
+
+(define-public r-deconstructsigs
+  (package
+    (name "r-deconstructsigs")
+    (version "1.8.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (cran-uri "deconstructSigs" version))
+        (sha256
+          (base32
+            "014x0nb23jb98666kaav2phkvmkr38pi38jv0dqd4jv7zp0gdf1a"))))
+    (properties
+      `((upstream-name . "deconstructSigs")))
+    (build-system r-build-system)
+    (propagated-inputs
+      `(("r-bsgenome" ,r-bsgenome)
+        ("r-bsgenome-hsapiens-ucsc-hg19"
+         ,r-bsgenome-hsapiens-ucsc-hg19)
+        ("r-genomeinfodb" ,r-genomeinfodb)
+        ("r-reshape2" ,r-reshape2)))
+    (home-page
+      "https://github.com/raerose01/deconstructSigs")
+    (synopsis "Identifies Signatures Present in a Tumor Sample")
+    (description
+      "Takes sample information in the form of the fraction of 
+mutations in each of 96 trinucleotide contexts and identifies 
+the weighted combination of published signatures that, when summed, 
+most closely reconstructs the mutational profile.")
+    (license license:gpl2+)))
-- 
2.28.0





^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [bug#44311] [PATCH] gnu: Add r-deconstructsigs.
  2020-10-29 17:09 [bug#44311] [PATCH] gnu: Add r-deconstructsigs Aniket Patil
@ 2020-12-22 18:15 ` zimoun
  2020-12-22 19:07   ` Leo Famulari
  2020-12-22 22:38 ` bug#44311: " Ricardo Wurmus
  1 sibling, 1 reply; 6+ messages in thread
From: zimoun @ 2020-12-22 18:15 UTC (permalink / raw)
  To: Aniket Patil, Ricardo Wurmus; +Cc: 44311

Hi Aniket,

(CC Ricardo since it could provide the correct gitlogy magic :-))

The patch does not apply because the file gnu/packages/cran.scm changed
in the meantime.  I am sorry that we have not been enough reactive.

However, when creating the patch, you had used the option ’--base’;
which really helps because I would be able to apply it and rebase
myself.

Currently, I do not know how to do without copy/pasting by hand, so
loosing your authorship.  Could you rebase on the top of master?

If you cannot, no worry.  Just let me know.


Ricardo, any tip to bypass this kind of issue?

On Thu, 29 Oct 2020 at 22:39, Aniket Patil <aniket112.patil@gmail.com> wrote:
> * gnu/packages/cran.scm (r-deconstructsigs): New variable.
> ---
>  gnu/packages/cran.scm | 30 ++++++++++++++++++++++++++++++
>  1 file changed, 30 insertions(+)
>
> diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
> index 82caaf54f6..75d9ae7de2 100644
> --- a/gnu/packages/cran.scm
> +++ b/gnu/packages/cran.scm
> @@ -24715,3 +24715,33 @@ modal regression and conditional density estimation in the
>  presence/absence of measurement error. Bandwidth selection is 
>  also provided for each method.")
>      (license license:gpl2+)))
> +
> +(define-public r-deconstructsigs
> +  (package
> +    (name "r-deconstructsigs")
> +    (version "1.8.0")
> +    (source
> +      (origin
> +        (method url-fetch)
> +        (uri (cran-uri "deconstructSigs" version))
> +        (sha256
> +          (base32
> +            "014x0nb23jb98666kaav2phkvmkr38pi38jv0dqd4jv7zp0gdf1a"))))
> +    (properties
> +      `((upstream-name . "deconstructSigs")))
> +    (build-system r-build-system)
> +    (propagated-inputs
> +      `(("r-bsgenome" ,r-bsgenome)
> +        ("r-bsgenome-hsapiens-ucsc-hg19"
> +         ,r-bsgenome-hsapiens-ucsc-hg19)
> +        ("r-genomeinfodb" ,r-genomeinfodb)
> +        ("r-reshape2" ,r-reshape2)))
> +    (home-page
> +      "https://github.com/raerose01/deconstructSigs")
> +    (synopsis "Identifies Signatures Present in a Tumor Sample")
> +    (description
> +      "Takes sample information in the form of the fraction of 
> +mutations in each of 96 trinucleotide contexts and identifies 
> +the weighted combination of published signatures that, when summed, 
> +most closely reconstructs the mutational profile.")
> +    (license license:gpl2+)))

Cheers,
simon




^ permalink raw reply	[flat|nested] 6+ messages in thread

* [bug#44311] [PATCH] gnu: Add r-deconstructsigs.
  2020-12-22 18:15 ` zimoun
@ 2020-12-22 19:07   ` Leo Famulari
  2020-12-23  8:49     ` zimoun
  0 siblings, 1 reply; 6+ messages in thread
From: Leo Famulari @ 2020-12-22 19:07 UTC (permalink / raw)
  To: zimoun; +Cc: Aniket Patil, 44311

On Tue, Dec 22, 2020 at 07:15:41PM +0100, zimoun wrote:
> Currently, I do not know how to do without copy/pasting by hand, so
> loosing your authorship.  Could you rebase on the top of master?

`git commit` allows you to choose the author. In cases like this one, I
sometimes use that feature:

$ git commit --signoff --author="Aniket Patil <aniket112.patil@gmail.com>"

If you wanted to make it really seamless, you can also reset the date:

$ git commit --signoff --author="Aniket Patil <aniket112.patil@gmail.com>" --date="Thu, 29 Oct 2020 22:39:49 +0530"




^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#44311: [PATCH] gnu: Add r-deconstructsigs.
  2020-10-29 17:09 [bug#44311] [PATCH] gnu: Add r-deconstructsigs Aniket Patil
  2020-12-22 18:15 ` zimoun
@ 2020-12-22 22:38 ` Ricardo Wurmus
  2020-12-23  8:51   ` [bug#44311] " zimoun
  1 sibling, 1 reply; 6+ messages in thread
From: Ricardo Wurmus @ 2020-12-22 22:38 UTC (permalink / raw)
  To: Aniket Patil; +Cc: 44311-done


Hi Aniket,

> * gnu/packages/cran.scm (r-deconstructsigs): New variable.

I’m sorry, but we need to drop this patch because
gnu/packages/bioconductor.scm already contains this definition.

“Already” really isn’t quite the right word, because you submitted your
patch before I added the definition to the bioconductor module when
Simon and I upgraded our CRAN and Bioconductor packages.

This package is in the bioconductor module because it depends on the
Bioconductor package r-bsgenome-hsapiens-ucsc-hg19.

-- 
Ricardo




^ permalink raw reply	[flat|nested] 6+ messages in thread

* [bug#44311] [PATCH] gnu: Add r-deconstructsigs.
  2020-12-22 19:07   ` Leo Famulari
@ 2020-12-23  8:49     ` zimoun
  0 siblings, 0 replies; 6+ messages in thread
From: zimoun @ 2020-12-23  8:49 UTC (permalink / raw)
  To: Leo Famulari; +Cc: Aniket Patil, 44311

Hi Leo,

On Tue, 22 Dec 2020 at 14:07, Leo Famulari <leo@famulari.name> wrote:
> On Tue, Dec 22, 2020 at 07:15:41PM +0100, zimoun wrote:
>> Currently, I do not know how to do without copy/pasting by hand, so
>> loosing your authorship.  Could you rebase on the top of master?
>
> `git commit` allows you to choose the author. In cases like this one, I
> sometimes use that feature:
>
> $ git commit --signoff --author="Aniket Patil <aniket112.patil@gmail.com>"
>
> If you wanted to make it really seamless, you can also reset the date:
>
> $ git commit --signoff --author="Aniket Patil <aniket112.patil@gmail.com>" --date="Thu, 29 Oct 2020 22:39:49 +0530"

Thank you.  Once you wrote it, it appears obvious. :-)
I have definitely lacked of imagination.

Cheers,
simon




^ permalink raw reply	[flat|nested] 6+ messages in thread

* [bug#44311] [PATCH] gnu: Add r-deconstructsigs.
  2020-12-22 22:38 ` bug#44311: " Ricardo Wurmus
@ 2020-12-23  8:51   ` zimoun
  0 siblings, 0 replies; 6+ messages in thread
From: zimoun @ 2020-12-23  8:51 UTC (permalink / raw)
  To: Ricardo Wurmus, Aniket Patil; +Cc: 44311-done

Hi Aniket,

On Tue, 22 Dec 2020 at 23:38, Ricardo Wurmus <rekado@elephly.net> wrote:

>> * gnu/packages/cran.scm (r-deconstructsigs): New variable.
>
> I’m sorry, but we need to drop this patch because
> gnu/packages/bioconductor.scm already contains this definition.
>
> “Already” really isn’t quite the right word, because you submitted your
> patch before I added the definition to the bioconductor module when
> Simon and I upgraded our CRAN and Bioconductor packages.

Sorry Aniket to not have noticed and used your patch instead.

All the best,
simon




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-12-23  9:01 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-29 17:09 [bug#44311] [PATCH] gnu: Add r-deconstructsigs Aniket Patil
2020-12-22 18:15 ` zimoun
2020-12-22 19:07   ` Leo Famulari
2020-12-23  8:49     ` zimoun
2020-12-22 22:38 ` bug#44311: " Ricardo Wurmus
2020-12-23  8:51   ` [bug#44311] " zimoun

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.