GNU bug report logs - #27377
[PATCH] gnu: Add f-seq.

Previous Next

Package: guix-patches;

Reported by: Ricardo Wurmus <ricardo.wurmus <at> mdc-berlin.de>

Date: Thu, 15 Jun 2017 15:28:02 UTC

Severity: normal

Tags: fixed, moreinfo, patch

Done: Ricardo Wurmus <ricardo.wurmus <at> mdc-berlin.de>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 27377 in the body.
You can then email your comments to 27377 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#27377; Package guix-patches. (Thu, 15 Jun 2017 15:28:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ricardo Wurmus <ricardo.wurmus <at> mdc-berlin.de>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Thu, 15 Jun 2017 15:28:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <ricardo.wurmus <at> mdc-berlin.de>
To: <guix-patches <at> gnu.org>
Cc: Ricardo Wurmus <ricardo.wurmus <at> mdc-berlin.de>
Subject: [PATCH] gnu: Add f-seq.
Date: Thu, 15 Jun 2017 17:26:24 +0200
* gnu/packages/bioinformatics.scm (f-seq): New variable.
---
 gnu/packages/bioinformatics.scm | 50 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 50 insertions(+)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index c1c0faf24..4c81f0741 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -9655,3 +9655,53 @@ browser.")
     (license (license:non-copyleft
               "http://genome.ucsc.edu/license/"
               "The contents of this package are free for all uses."))))
+
+(define-public f-seq
+  (let ((commit "6ccded34cff38cf432deed8503648b4a66953f9b")
+        (revision "1"))
+    (package
+      (name "f-seq")
+      (version (string-append "1.1-" revision "." commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/aboyle/F-seq.git")
+                      (commit commit)))
+                (file-name (string-append name "-" version))
+                (sha256
+                 (base32
+                  "1nk33k0yajg2id4g59bc4szr58r2q6pdq42vgcw054m8ip9wv26h"))
+                (modules '((guix build utils)))
+                ;; Remove bundled Java library archives.
+                (snippet
+                 '(begin
+                    (for-each delete-file (find-files "lib" ".*"))
+                    #t))))
+      (build-system ant-build-system)
+      (arguments
+       `(#:tests? #f ; no tests included
+         #:phases
+         (modify-phases %standard-phases
+           (replace 'install
+             (lambda* (#:key outputs #:allow-other-keys)
+               (let* ((target (assoc-ref outputs "out"))
+                      (doc (string-append target "/share/doc/f-seq/")))
+                 (mkdir-p target)
+                 (mkdir-p doc)
+                 (substitute* "bin/linux/fseq"
+                   (("java") (which "java")))
+                 (install-file "README.txt" doc)
+                 (install-file "bin/linux/fseq" (string-append target "/bin"))
+                 (install-file "build~/fseq.jar" (string-append target "/lib"))
+                 (copy-recursively "lib" (string-append target "/lib"))
+                 #t))))))
+      (inputs
+       `(("perl" ,perl)
+         ("java-commons-cli" ,java-commons-cli)))
+      (home-page "http://fureylab.web.unc.edu/software/fseq/")
+      (synopsis "Feature density estimator for high-throughput sequence tags")
+      (description
+       "F-Seq is a software package that generates a continuous tag sequence
+density estimation allowing identification of biologically meaningful sites
+whose output can be displayed directly in the UCSC Genome Browser.")
+      (license license:gpl3+))))
-- 
2.13.0





Information forwarded to guix-patches <at> gnu.org:
bug#27377; Package guix-patches. (Sat, 17 Jun 2017 03:33:02 GMT) Full text and rfc822 format available.

Message #8 received at 27377 <at> debbugs.gnu.org (full text, mbox):

From: Ben Woodcroft <b.woodcroft <at> uq.edu.au>
To: Ricardo Wurmus <ricardo.wurmus <at> mdc-berlin.de>, 27377 <at> debbugs.gnu.org
Subject: Re: [bug#27377] [PATCH] gnu: Add f-seq.
Date: Sat, 17 Jun 2017 13:31:55 +1000
Hi Ricardo,


On 16/06/17 01:26, Ricardo Wurmus wrote:
> * gnu/packages/bioinformatics.scm (f-seq): New variable.
> [..]
> +      (synopsis "Feature density estimator for high-throughput sequence tags")
> +      (description
> +       "F-Seq is a software package that generates a continuous tag sequence
> +density estimation allowing identification of biologically meaningful sites
> +whose output can be displayed directly in the UCSC Genome Browser.")
"features" is a little vague for me. How about something like this

"F-Seq is a software package that generates a continuous tag sequence
density estimation allowing identification of biologically meaningful sites such as transcription factor binding sites (ChIP-seq) or regions of open chromatin (DNase-seq). Output can be displayed directly in the UCSC Genome Browser."


I also had some problems running this software in a container:

[env]# fseq
/gnu/store/xjfxqh6rp4y4jwr4smwbvjqnikjbivai-profile/bin/fseq: line 30: 
sed: command not found
/gnu/store/xjfxqh6rp4y4jwr4smwbvjqnikjbivai-profile/bin/fseq: line 32: 
sed: command not found
/gnu/store/xjfxqh6rp4y4jwr4smwbvjqnikjbivai-profile/bin/fseq: line 30: 
sed: command not found
/gnu/store/xjfxqh6rp4y4jwr4smwbvjqnikjbivai-profile/bin/fseq: line 32: 
sed: command not found
/gnu/store/xjfxqh6rp4y4jwr4smwbvjqnikjbivai-profile/bin/fseq: line 62: 
dirname: command not found
Error: Could not find or load main class edu.duke.igsp.gkde.Main

(exitstatus 1)


Given that the exitstatus of the above is non-zero, what about adding a 
cheap and cheerful test phase which simply runs "fseq -h" or similar?

Otherwise LGTM.

ben




Added tag(s) moreinfo. Request was from ludo <at> gnu.org (Ludovic Courtès) to control <at> debbugs.gnu.org. (Fri, 08 Sep 2017 15:52:02 GMT) Full text and rfc822 format available.

Added tag(s) fixed. Request was from Ricardo Wurmus <ricardo.wurmus <at> mdc-berlin.de> to control <at> debbugs.gnu.org. (Wed, 18 Oct 2017 21:56:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 27377 <at> debbugs.gnu.org and Ricardo Wurmus <ricardo.wurmus <at> mdc-berlin.de> Request was from Ricardo Wurmus <ricardo.wurmus <at> mdc-berlin.de> to control <at> debbugs.gnu.org. (Wed, 18 Oct 2017 21:56:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 16 Nov 2017 12:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 6 years and 163 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.