mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 23:46:13 -05:00
gnu: Add python-screed.
* gnu/packages/bioinformatics.scm (python-screed, python2-screed): New variables.
This commit is contained in:
parent
095b7fea44
commit
9ded145717
1 changed files with 38 additions and 0 deletions
|
@ -3359,6 +3359,44 @@ (define-public preseq
|
|||
complexity samples.")
|
||||
(license license:gpl3+)))
|
||||
|
||||
(define-public python-screed
|
||||
(package
|
||||
(name "python-screed")
|
||||
(version "0.9")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "screed" version))
|
||||
(sha256
|
||||
(base32
|
||||
"18czszp9fkx3j6jr7y5kp6dfialscgddk05mw1zkhh2zhn0jd8i0"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(replace 'check
|
||||
(lambda _
|
||||
(setenv "PYTHONPATH"
|
||||
(string-append (getenv "PYTHONPATH") ":."))
|
||||
(zero? (system* "nosetests" "--attr" "!known_failing")))))))
|
||||
(native-inputs
|
||||
`(("python-nose" ,python-nose)))
|
||||
(inputs
|
||||
`(("python-bz2file" ,python-bz2file)))
|
||||
(home-page "http://github.com/dib-lab/screed/")
|
||||
(synopsis "Short read sequence database utilities")
|
||||
(description "Screed parses FASTA and FASTQ files and generates databases.
|
||||
Values such as sequence name, sequence description, sequence quality and the
|
||||
sequence itself can be retrieved from these databases.")
|
||||
(license license:bsd-3)))
|
||||
|
||||
(define-public python2-screed
|
||||
(let ((base (package-with-python2 (strip-python2-variant python-screed))))
|
||||
(package
|
||||
(inherit base)
|
||||
(native-inputs `(("python2-setuptools" ,python2-setuptools)
|
||||
,@(package-native-inputs base))))))
|
||||
|
||||
(define-public sra-tools
|
||||
(package
|
||||
(name "sra-tools")
|
||||
|
|
Loading…
Reference in a new issue