unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] gnu: Add r-centipede.
@ 2016-05-02 14:49 Ricardo Wurmus
  2016-05-02 18:42 ` Leo Famulari
  2016-05-02 23:24 ` Ben Woodcroft
  0 siblings, 2 replies; 5+ messages in thread
From: Ricardo Wurmus @ 2016-05-02 14:49 UTC (permalink / raw)
  To: guix-devel

* gnu/packages/bioinformatics.scm (r-centipede): New variable.
---
 gnu/packages/bioinformatics.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 7d025ef..d7957cf 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -441,6 +441,27 @@ pybedtools extends BEDTools by offering feature-level manipulations from with
 Python.")
     (license license:gpl2+)))
 
+(define-public r-centipede
+  (package
+    (name "r-centipede")
+    (version "1.2")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "http://download.r-forge.r-project.org/"
+                                  "src/contrib/CENTIPEDE_" version ".tar.gz"))
+              (sha256
+               (base32
+                "1hsx6qgwr0i67fhy9257zj7s0ppncph2hjgbia5nn6nfmj0ax6l9"))))
+    (build-system r-build-system)
+    (home-page "http://centipede.uchicago.edu/")
+    (synopsis "Predict transcription factor binding sites")
+    (description
+     "Centipede fits a bayesian hierarchical mixture model to learn
+transcription-factor-specific distribution of experimental data on a
+particular cell-type for a set of candidate binding sites described by a
+genetic motif.")
+    (license (list license:gpl2+ license:gpl3+))))
+
 (define-public bioperl-minimal
   (let* ((inputs `(("perl-module-build" ,perl-module-build)
                    ("perl-data-stag" ,perl-data-stag)
-- 
2.7.3

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

* Re: [PATCH] gnu: Add r-centipede.
  2016-05-02 14:49 [PATCH] gnu: Add r-centipede Ricardo Wurmus
@ 2016-05-02 18:42 ` Leo Famulari
  2016-05-02 18:50   ` Ricardo Wurmus
  2016-05-02 23:24 ` Ben Woodcroft
  1 sibling, 1 reply; 5+ messages in thread
From: Leo Famulari @ 2016-05-02 18:42 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: guix-devel

On Mon, May 02, 2016 at 04:49:21PM +0200, Ricardo Wurmus wrote:
> * gnu/packages/bioinformatics.scm (r-centipede): New variable.

> +    (synopsis "Predict transcription factor binding sites")

And here I thought it would be a centipede genome ;)

> +    (license (list license:gpl2+ license:gpl3+))))

If something is gpl2+, can it also be gpl3+? I'm not sure, just asking
for clarification.

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

* Re: [PATCH] gnu: Add r-centipede.
  2016-05-02 18:42 ` Leo Famulari
@ 2016-05-02 18:50   ` Ricardo Wurmus
  0 siblings, 0 replies; 5+ messages in thread
From: Ricardo Wurmus @ 2016-05-02 18:50 UTC (permalink / raw)
  To: Leo Famulari; +Cc: guix-devel


Leo Famulari <leo@famulari.name> writes:

> On Mon, May 02, 2016 at 04:49:21PM +0200, Ricardo Wurmus wrote:
>> * gnu/packages/bioinformatics.scm (r-centipede): New variable.
>
>> +    (synopsis "Predict transcription factor binding sites")
>
> And here I thought it would be a centipede genome ;)
>
>> +    (license (list license:gpl2+ license:gpl3+))))
>
> If something is gpl2+, can it also be gpl3+? I'm not sure, just asking
> for clarification.

Many R packages are released under any GPL version.  This allows the
package to be combined with packages that are released under the
unfortunate GPLv3 only and GPLv2 only license terms.

~~ Ricardo

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

* Re: [PATCH] gnu: Add r-centipede.
  2016-05-02 14:49 [PATCH] gnu: Add r-centipede Ricardo Wurmus
  2016-05-02 18:42 ` Leo Famulari
@ 2016-05-02 23:24 ` Ben Woodcroft
  2017-01-16 22:20   ` Ricardo Wurmus
  1 sibling, 1 reply; 5+ messages in thread
From: Ben Woodcroft @ 2016-05-02 23:24 UTC (permalink / raw)
  To: Ricardo Wurmus, guix-devel



On 03/05/16 00:49, Ricardo Wurmus wrote:
> * gnu/packages/bioinformatics.scm (r-centipede): New variable.
> ---
>   gnu/packages/bioinformatics.scm | 21 +++++++++++++++++++++
>   1 file changed, 21 insertions(+)
>
> diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
> index 7d025ef..d7957cf 100644
> --- a/gnu/packages/bioinformatics.scm
> +++ b/gnu/packages/bioinformatics.scm
> @@ -441,6 +441,27 @@ pybedtools extends BEDTools by offering feature-level manipulations from with
>   Python.")
>       (license license:gpl2+)))
>   
> +(define-public r-centipede
> +  (package
> +    (name "r-centipede")
> +    (version "1.2")
> +    (source (origin
> +              (method url-fetch)
> +              (uri (string-append "http://download.r-forge.r-project.org/"
> +                                  "src/contrib/CENTIPEDE_" version ".tar.gz"))
> +              (sha256
> +               (base32
> +                "1hsx6qgwr0i67fhy9257zj7s0ppncph2hjgbia5nn6nfmj0ax6l9"))))
> +    (build-system r-build-system)
> +    (home-page "http://centipede.uchicago.edu/")
> +    (synopsis "Predict transcription factor binding sites")
> +    (description
> +     "Centipede fits a bayesian hierarchical mixture model to learn
> +transcription-factor-specific distribution of experimental data on a
> +particular cell-type for a set of candidate binding sites described by a
> +genetic motif.")
Perhaps this is just personal opinion but I prefer not to make the 
suggestion that experiments can only be done in the lab.

Also I don't think that sentence makes sense grammatically - 
s/distribution/distributions/ but even then, it doesn't learn the 
experimental data.
Maybe steal from the website, cut down a bit from this?
 >CENTIPEDE applies a hierarchical Bayesian mixture model to infer 
regions of the genome that are bound by particular transcription 
factors. It starts by identifying a set of candidate binding sites 
(e.g., sites that match a certain position weight matrix (PWM)), and 
then aims to classify the sites according to whether each site is bound 
or not bound by a TF. CENTIPEDE is an unsupervised learning algorithm 
that discriminates between two different types of motif instances using 
as much relevant information as possible.

Thanks,
ben

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

* Re: [PATCH] gnu: Add r-centipede.
  2016-05-02 23:24 ` Ben Woodcroft
@ 2017-01-16 22:20   ` Ricardo Wurmus
  0 siblings, 0 replies; 5+ messages in thread
From: Ricardo Wurmus @ 2017-01-16 22:20 UTC (permalink / raw)
  To: Ben Woodcroft; +Cc: guix-devel


Ben Woodcroft <b.woodcroft@uq.edu.au> writes:

> On 03/05/16 00:49, Ricardo Wurmus wrote:
>> * gnu/packages/bioinformatics.scm (r-centipede): New variable.
>> ---
>>   gnu/packages/bioinformatics.scm | 21 +++++++++++++++++++++
>>   1 file changed, 21 insertions(+)
>>
>> diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
>> index 7d025ef..d7957cf 100644
>> --- a/gnu/packages/bioinformatics.scm
>> +++ b/gnu/packages/bioinformatics.scm
>> @@ -441,6 +441,27 @@ pybedtools extends BEDTools by offering feature-level manipulations from with
>>   Python.")
>>       (license license:gpl2+)))
>>
>> +(define-public r-centipede
>> +  (package
>> +    (name "r-centipede")
>> +    (version "1.2")
>> +    (source (origin
>> +              (method url-fetch)
>> +              (uri (string-append "http://download.r-forge.r-project.org/"
>> +                                  "src/contrib/CENTIPEDE_" version ".tar.gz"))
>> +              (sha256
>> +               (base32
>> +                "1hsx6qgwr0i67fhy9257zj7s0ppncph2hjgbia5nn6nfmj0ax6l9"))))
>> +    (build-system r-build-system)
>> +    (home-page "http://centipede.uchicago.edu/")
>> +    (synopsis "Predict transcription factor binding sites")
>> +    (description
>> +     "Centipede fits a bayesian hierarchical mixture model to learn
>> +transcription-factor-specific distribution of experimental data on a
>> +particular cell-type for a set of candidate binding sites described by a
>> +genetic motif.")
> Perhaps this is just personal opinion but I prefer not to make the
> suggestion that experiments can only be done in the lab.
>
> Also I don't think that sentence makes sense grammatically -
> s/distribution/distributions/ but even then, it doesn't learn the
> experimental data.
> Maybe steal from the website, cut down a bit from this?
>  >CENTIPEDE applies a hierarchical Bayesian mixture model to infer
> regions of the genome that are bound by particular transcription
> factors. It starts by identifying a set of candidate binding sites
> (e.g., sites that match a certain position weight matrix (PWM)), and
> then aims to classify the sites according to whether each site is bound
> or not bound by a TF. CENTIPEDE is an unsupervised learning algorithm
> that discriminates between two different types of motif instances using
> as much relevant information as possible.
>
> Thanks,
> ben

Not even a year later I pushed it to master as b91cfa22e with the
suggested change to the description.  I had totally forgotten about this
patch!

--
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net

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

end of thread, other threads:[~2017-01-16 22:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-02 14:49 [PATCH] gnu: Add r-centipede Ricardo Wurmus
2016-05-02 18:42 ` Leo Famulari
2016-05-02 18:50   ` Ricardo Wurmus
2016-05-02 23:24 ` Ben Woodcroft
2017-01-16 22:20   ` Ricardo Wurmus

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).