From: "Mădălin Ionel Patrașcu" <madalinionel.patrascu@mdc-berlin.de>
To: 38505@debbugs.gnu.org
Cc: "Mădălin Ionel Patrașcu" <madalinionel.patrascu@mdc-berlin.de>
Subject: [bug#38505] [PATCH] gnu: Add fast-screen.
Date: Thu, 5 Dec 2019 22:21:14 +0100 [thread overview]
Message-ID: <20191205212114.4971-1-madalinionel.patrascu@mdc-berlin.de> (raw)
* gnu/packages/bioinformatics.scm (fast-screen): New variable.
---
gnu/packages/bioinformatics.scm | 53 +++++++++++++++++++++++++++++++++
1 file changed, 53 insertions(+)
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 74a44874ee..53e4c7296f 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -15341,3 +15341,56 @@ methylation metrics from them. MethylDackel requires an indexed fasta file
containing the reference genome as well.")
;; See https://github.com/dpryan79/MethylDackel/issues/85
(license license:expat)))
+
+(define-public fastq-screen
+ (package
+ (name "fastq-screen")
+ (version "0.14.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://www.bioinformatics.babraham.ac.uk/projects/"
+ "fastq_screen/fastq_screen_v" version ".tar.gz"))
+ (sha256
+ (base32
+ "0m7n9b1pr8rk1pd3va0mr69pd7gddcsvrvlk2s7907i02wkc1say"))))
+ (build-system trivial-build-system)
+ (arguments
+ ;; it is just an extraction processs
+ `(#:modules ((guix build utils))
+ #:builder
+ (begin
+ (use-modules (guix build utils))
+ (let* ((tar (assoc-ref %build-inputs "tar"))
+ (gzip (assoc-ref %build-inputs "gzip"))
+ (out (assoc-ref %outputs "out"))
+ (doc (string-append out "/share/doc"))
+ (bin (string-append out "/bin")))
+ (setenv "PATH" (string-append tar "/bin:" gzip "/bin"))
+ (invoke "tar" "xvf" (assoc-ref %build-inputs "source"))
+ (chdir (string-append "fastq_screen_v" ,version))
+ (install-file "fastq_screen" bin)
+ (install-file "fastq_screen.conf.example" doc)
+ (install-file "fastq_screen_documentation.md" doc)
+ (install-file "RELEASE_NOTES.txt" doc)
+ #t))))
+ (inputs
+ `(("perl" ,perl)))
+ (native-inputs
+ `(("gzip" ,gzip)
+ ("tar" ,tar)))
+ (home-page "https://www.bioinformatics.babraham.ac.uk/projects/fastq_screen/")
+ (synopsis "FastQ Screen allows to search a large sequence dataset")
+ (description
+ "FastQ Screen is an application which allows you to search a large sequence
+dataset against a panel of different databases to build up a picture of where
+the sequences in your data originate. The program was built as a quality
+control check for sequencing pipelines but may also have uses in metagenomics
+studies where mixed samples are expected. The application generates both text
+and graphical output to inform you what proportion of your library was able to
+map, either uniquely or to more than one location, against each of your
+specified reference genomes. The user should therefore be able to identify a
+clean sequencing experiment in which the overwhelming majority of reads are
+probably derived from a single genomic origin.")
+ (license license:gpl3+)))
+
--
2.17.1
next reply other threads:[~2019-12-05 21:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-05 21:21 Mădălin Ionel Patrașcu [this message]
2019-12-11 2:16 ` [bug#38505] [PATCH] gnu: Add fast-screen Efraim Flashner
2019-12-16 22:41 ` Ricardo Wurmus
2022-03-18 4:13 ` Maxim Cournoyer
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20191205212114.4971-1-madalinionel.patrascu@mdc-berlin.de \
--to=madalinionel.patrascu@mdc-berlin.de \
--cc=38505@debbugs.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 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).