diff options
Diffstat (limited to 'gnu/packages/bioinformatics.scm')
| -rw-r--r-- | gnu/packages/bioinformatics.scm | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index b23c2b991c6..fcb205d9ce7 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm | |||
| @@ -20737,63 +20737,6 @@ together). It also designed to be used in two phases: a construction | |||
| 20737 | phase + query phase).") | 20737 | phase + query phase).") |
| 20738 | (license license:expat)))) | 20738 | (license license:expat)))) |
| 20739 | 20739 | ||
| 20740 | (define-public filtlong | ||
| 20741 | ;; The recommended way to install is to clone the git repository | ||
| 20742 | ;; https://github.com/rrwick/Filtlong#installation | ||
| 20743 | ;; and the latest release is more than nine months old | ||
| 20744 | (let ((commit "d1bb46dfe8bc7efe6257b5ce222c04bfe8aedaab") | ||
| 20745 | (revision "1")) | ||
| 20746 | (package | ||
| 20747 | (name "filtlong") | ||
| 20748 | (version (git-version "0.2.0" revision commit)) | ||
| 20749 | (source | ||
| 20750 | (origin | ||
| 20751 | (method git-fetch) | ||
| 20752 | (uri (git-reference | ||
| 20753 | (url "https://github.com/rrwick/Filtlong") | ||
| 20754 | (commit commit))) | ||
| 20755 | (file-name (git-file-name name version)) | ||
| 20756 | (sha256 | ||
| 20757 | (base32 "1xr92r820x8qlkcr3b57iw223yq8vjgyi42jr79w2xgw47qzr575")))) | ||
| 20758 | (build-system gnu-build-system) | ||
| 20759 | (arguments | ||
| 20760 | (list | ||
| 20761 | #:tests? #f ; no check target | ||
| 20762 | #:phases | ||
| 20763 | #~(modify-phases %standard-phases | ||
| 20764 | (delete 'configure) | ||
| 20765 | (replace 'install | ||
| 20766 | (lambda _ | ||
| 20767 | (let ((bin (string-append #$output "/bin")) | ||
| 20768 | (scripts (string-append #$output "/share/filtlong/scripts"))) | ||
| 20769 | (install-file "bin/filtlong" bin) | ||
| 20770 | (install-file "scripts/histogram.py" scripts) | ||
| 20771 | (install-file "scripts/read_info_histograms.sh" scripts)))) | ||
| 20772 | (add-after 'install 'wrap-program | ||
| 20773 | (lambda _ | ||
| 20774 | (let ((path (getenv "GUIX_PYTHONPATH"))) | ||
| 20775 | (wrap-program (string-append #$output | ||
| 20776 | "/share/filtlong/scripts/histogram.py") | ||
| 20777 | `("GUIX_PYTHONPATH" ":" prefix (,path)))))) | ||
| 20778 | (add-before 'check 'patch-tests | ||
| 20779 | (lambda _ | ||
| 20780 | (substitute* "scripts/read_info_histograms.sh" | ||
| 20781 | (("awk") (which "gawk")))))))) | ||
| 20782 | (inputs | ||
| 20783 | (list bash-minimal | ||
| 20784 | gawk ;for read_info_histograms.sh | ||
| 20785 | python-wrapper ;required for histogram.py | ||
| 20786 | zlib)) | ||
| 20787 | (home-page "https://github.com/rrwick/Filtlong/") | ||
| 20788 | (synopsis "Tool for quality filtering of Nanopore and PacBio data") | ||
| 20789 | (description | ||
| 20790 | "The Filtlong package is a tool for filtering long reads by quality. | ||
| 20791 | It can take a set of long reads and produce a smaller, better subset. It uses | ||
| 20792 | both read length (longer is better) and read identity (higher is better) when | ||
| 20793 | choosing which reads pass the filter.") | ||
| 20794 | (license (list license:gpl3 ;filtlong | ||
| 20795 | license:asl2.0))))) ;histogram.py | ||
| 20796 | |||
| 20797 | (define-public nanopolish | 20740 | (define-public nanopolish |
| 20798 | (package | 20741 | (package |
| 20799 | (name "nanopolish") | 20742 | (name "nanopolish") |
