From 0d8ed9f6c2ca7804a73028c947db0a2a6a61e7cb Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 26 Sep 2023 16:18:12 +0300 Subject: pggb: wrap with more packages --- gn/packages/bioinformatics.scm | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'gn') diff --git a/gn/packages/bioinformatics.scm b/gn/packages/bioinformatics.scm index 95dda00..535018b 100644 --- a/gn/packages/bioinformatics.scm +++ b/gn/packages/bioinformatics.scm @@ -2692,7 +2692,11 @@ multiple sequence alignment.") ("scripts" "bin/scripts")) #:phases #~(modify-phases %standard-phases - (add-before 'install 'patch-binary-path + (add-after 'unpack 'force-python3 + (lambda _ + (substitute* (find-files "scripts" "\\.py$") + (("/usr/bin/python") "/usr/bin/python3")))) + (add-before 'install 'patch-and-wrap-scripts (lambda* (#:key inputs #:allow-other-keys) (substitute* "scripts/vcf_preprocess.sh" (("bcftools ") @@ -2706,6 +2710,8 @@ multiple sequence alignment.") (for-each (lambda (file) (wrap-script file + `("R_LIBS_SITE" ":" prefix + (,(getenv "R_LIBS_SITE"))) `("PATH" ":" prefix ,(map (lambda (input) (string-append input "/bin")) '#$(map (lambda (label) @@ -2722,7 +2728,9 @@ multiple sequence alignment.") "pafplot" "parallel" "pigz" + "python" "r-data-table" + "r-minimal" "rtg-tools" "samtools" "seqwish" @@ -2756,9 +2764,10 @@ multiple sequence alignment.") pafplot parallel pigz + python python-igraph - python-wrapper r-data-table + r-minimal rtg-tools samtools seqwish -- cgit v1.2.3