all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
To: guix-devel <guix-devel@gnu.org>
Subject: [PATCH]: gnu: Add flexbar.
Date: Fri, 6 Feb 2015 15:43:56 +0100	[thread overview]
Message-ID: <idjtwyz6qxf.fsf@bimsb-sys02.mdc-berlin.net> (raw)

[-- Attachment #1: Type: text/plain, Size: 124 bytes --]

Hi Guix,

attached is a patch to add another common bioinformatics tool to the
bioinformatics module: flexbar.

~~ Ricardo


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-flexbar.patch --]
[-- Type: text/x-patch, Size: 2922 bytes --]

From fc082d741f31fb6260c8fd92332d63ed40e592e5 Mon Sep 17 00:00:00 2001
From: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
Date: Fri, 6 Feb 2015 15:42:02 +0100
Subject: [PATCH] gnu: Add flexbar.

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

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 54c1a82..586abec 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -21,6 +21,7 @@
   #:use-module (guix packages)
   #:use-module (guix download)
   #:use-module (guix build-system gnu)
+  #:use-module (guix build-system cmake)
   #:use-module (guix build-system trivial)
   #:use-module (gnu packages)
   #:use-module (gnu packages base)
@@ -29,6 +30,7 @@
   #:use-module (gnu packages perl)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages python))
+  #:use-module (gnu packages tbb)
 
 (define-public bedtools
   (package
@@ -139,6 +141,46 @@ gapped, local, and paired-end alignment modes.")
     (supported-systems '("x86_64-linux"))
     (license license:gpl3+)))
 
+(define-public flexbar
+  (package
+    (name "flexbar")
+    (version "2.5")
+    (source (origin
+              (method url-fetch)
+              (uri
+               (string-append "mirror://sourceforge/flexbar/"
+                              version "/flexbar_v" version "_src.tgz"))
+              (sha256
+               (base32
+                "13jaykc3y1x8y5nn9j8ljnb79s5y51kyxz46hdmvvjj6qhyympmf"))))
+    (build-system cmake-build-system)
+    (arguments
+     `(;; There is no test target, although there is a directory containing
+       ;; test data and scripts (launched by flexbar_validate.sh).
+       #:tests? #f
+       #:configure-flags (list
+                          (string-append "-DFLEXBAR_BINARY_DIR="
+                                         (assoc-ref %outputs "out")
+                                         "/bin/"))
+       #:phases
+       (alist-delete 'install %standard-phases)))
+    (inputs
+     `(("tbb" ,tbb)
+       ("zlib" ,zlib)))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)
+       ("seqan" ,seqan)))
+    (home-page "http://flexbar.sourceforge.net")
+    (synopsis "Barcode and adapter removal tool for sequencing platforms")
+    (description
+     "Flexbar preprocesses high-throughput nucleotide sequencing data
+efficiently.  It demultiplexes barcoded runs and removes adapter sequences.
+Moreover, trimming and filtering features are provided.  Flexbar increases
+read mapping rates and improves genome and transcriptome assemblies.  It
+supports next-generation sequencing data in fasta/q and csfasta/q format from
+Illumina, Roche 454, and the SOLiD platform.")
+    (license license:gpl3)))
+
 (define-public samtools
   (package
     (name "samtools")
-- 
2.1.0


             reply	other threads:[~2015-02-06 14:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-06 14:43 Ricardo Wurmus [this message]
2015-02-07 22:48 ` [PATCH]: gnu: Add flexbar Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=idjtwyz6qxf.fsf@bimsb-sys02.mdc-berlin.net \
    --to=ricardo.wurmus@mdc-berlin.de \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.