GNU bug report logs - #32561
[PATCH] gnu: Add gffcompare.

Previous Next

Package: guix-patches;

Reported by: pimi <madalinionel.patrascu <at> mdc-berlin.de>

Date: Tue, 28 Aug 2018 20:36:03 UTC

Severity: normal

Tags: patch

Done: Leo Famulari <leo <at> famulari.name>

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 32561 in the body.
You can then email your comments to 32561 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#32561; Package guix-patches. (Tue, 28 Aug 2018 20:36:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to pimi <madalinionel.patrascu <at> mdc-berlin.de>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Tue, 28 Aug 2018 20:36:03 GMT) Full text and rfc822 format available.

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

From: pimi <madalinionel.patrascu <at> mdc-berlin.de>
To: <guix-patches <at> gnu.org>
Cc: pimi <madalinionel.patrascu <at> mdc-berlin.de>
Subject: [PATCH] gnu: Add gffcompare.
Date: Tue, 28 Aug 2018 22:26:13 +0200
gnu/packages/bioinformatics.scm (gffcompare): New variable.
---
 gnu/packages/bioinformatics.scm | 64 +++++++++++++++++++++++++++++++++
 1 file changed, 64 insertions(+)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index cb3c4bc1f..99f92ad66 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -13458,3 +13458,67 @@ conversions, region filtering, FASTA sequence extraction and more.")
 spliced (back-spliced) sequencing reads, indicative of circular RNA (circRNA)
 in RNA-seq data.")
       (license license:gpl3))))
+
+(define-public gffcompare
+  (let ((commit "be56ef4349ea3966c12c6397f85e49e047361c41")
+        (revision "1"))
+    (package
+      (name "gffcompare")
+      (version (git-version "0.10.15" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/gpertea/gffcompare/")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0cp5qpxdhw4mxpya5dld8wi3jk00zyklm6rcri426wydinrnfmkg"))))
+      (build-system gnu-build-system)
+      (arguments
+       `(#:tests? #f                    ; no check target
+                  #:phases
+                  (modify-phases %standard-phases
+                    (delete 'configure)
+                    (add-before 'build 'copy-gclib-source
+                      (lambda* (#:key inputs #:allow-other-keys)
+                        (mkdir "../gclib")
+                        (copy-recursively
+                         (assoc-ref inputs "gclib-source") "../gclib")
+                        #t))
+                    (replace 'install
+                      (lambda* (#:key outputs #:allow-other-keys)
+                        (let ((bin (string-append (assoc-ref outputs "out") "/bin")))
+                          (mkdir-p bin)
+                          (install-file "gffcompare" bin)
+                          #t))))))
+      (native-inputs
+       `(("gclib-source"
+          ,(let ((commit "54917d0849c1e83cfb057b5f712e5cb6a35d948f")
+                 (revision "1")
+                 (name "gclib")
+                 (version (git-version "0.10.3" revision commit)))
+             (origin
+               (method git-fetch)
+               (uri (git-reference
+                     (url "https://github.com/gpertea/gclib/")
+                     (commit commit)))
+               (file-name (git-file-name name version))
+               (sha256
+                (base32 "0b51lc0b8syrv7186fd7n8f15rwnf264qgfmm2palrwks1px24mr")))))))
+      (home-page "https://github.com/gpertea/gffcompare/")
+      (synopsis "Tool for comparing or classifing transcripts of RNA-Seq")
+      (description
+       "@code{gffcompare} is a tool that can:
+@enumerate
+@item compare and evaluate the accuracy of RNA-Seq transcript assemblers
+(Cufflinks, Stringtie);
+@item collapse (merge) duplicate transcripts from multiple GTF/GFF3 files (e.g.
+resulted from assembly of different samples);
+@item classify transcripts from one or multiple GTF/GFF3 files as they relate to
+reference transcripts provided in a annotation file (also in GTF/GFF3 format).
+@end enumerate")
+      (license
+       (list
+        license:expat                   ;license for gffcompare
+        license:artistic2.0)))))        ;license for gclib
-- 
2.17.1





Reply sent to Leo Famulari <leo <at> famulari.name>:
You have taken responsibility. (Wed, 29 Aug 2018 18:16:02 GMT) Full text and rfc822 format available.

Notification sent to pimi <madalinionel.patrascu <at> mdc-berlin.de>:
bug acknowledged by developer. (Wed, 29 Aug 2018 18:16:04 GMT) Full text and rfc822 format available.

Message #10 received at 32561-done <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: pimi <madalinionel.patrascu <at> mdc-berlin.de>
Cc: 32561-done <at> debbugs.gnu.org
Subject: Re: [bug#32561] [PATCH] gnu: Add gffcompare.
Date: Wed, 29 Aug 2018 14:15:16 -0400
[Message part 1 (text/plain, inline)]
On Tue, Aug 28, 2018 at 10:26:13PM +0200, pimi wrote:
> gnu/packages/bioinformatics.scm (gffcompare): New variable.

Thanks!

> +      (arguments
> +       `(#:tests? #f                    ; no check target
> +                  #:phases
> +                  (modify-phases %standard-phases
> +                    (delete 'configure)
> +                    (add-before 'build 'copy-gclib-source
> +                      (lambda* (#:key inputs #:allow-other-keys)
> +                        (mkdir "../gclib")
> +                        (copy-recursively
> +                         (assoc-ref inputs "gclib-source") "../gclib")
> +                        #t))
> +                    (replace 'install
> +                      (lambda* (#:key outputs #:allow-other-keys)
> +                        (let ((bin (string-append (assoc-ref outputs "out") "/bin")))
> +                          (mkdir-p bin)
> +                          (install-file "gffcompare" bin)
> +                          #t))))))

I moved the #:phases block over to line up with #:tests?...

> +      (native-inputs
> +       `(("gclib-source"
> +          ,(let ((commit "54917d0849c1e83cfb057b5f712e5cb6a35d948f")

... and added a comment about this, and pushed as
4f9355c3606ecbe83dce78e6d01fa974d912bd4a
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 27 Sep 2018 11:24:06 GMT) Full text and rfc822 format available.

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

Previous Next


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