aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorPjotr Prins2019-08-01 08:59:33 -0500
committerPjotr Prins2019-08-01 08:59:33 -0500
commita5a1e75c1379d9c26c0a0f9dbb9fb069c7bf7f18 (patch)
tree198824fa4435adb7bc850f129fff600d607eaa22 /README.md
parentfd06a7a744cb2368d410e131b4f8c6bc7738cc94 (diff)
parent25db4463972bc8729436d84d8be003ea7eacad71 (diff)
downloadguix-bioinformatics-a5a1e75c1379d9c26c0a0f9dbb9fb069c7bf7f18.tar.gz
Merge branch 'master' of gitlab.com:genenetwork/guix-bioinformatics
Diffstat (limited to 'README.md')
-rw-r--r--README.md28
1 files changed, 19 insertions, 9 deletions
diff --git a/README.md b/README.md
index 44f1ca6..42712a0 100644
--- a/README.md
+++ b/README.md
@@ -5,7 +5,21 @@ http://genenetwork.org/. See
[Guix Notes](https://github.com/pjotrp/guix-notes/blob/master/HACKING.org)
for installing and hacking GNU Guix.
-Simply set the GUIX_PACKAGE_PATH to point to the root of this directory
+To easily use the packages from this repo, simply add it to your `channels` list:
+
+ (cons*
+ (channel
+ (name 'gn-bioinformatics)
+ (url "https://gitlab.com/genenetwork/guix-bioinformatics")
+ (branch "master"))
+ %default-channels)
+
+and run `guix pull` like normal to update your software. This is the recommended
+way to use the software from this repository and the code snippets in this
+README assume you have done so.
+
+If you want to make changes to the packages in this repo then simply set
+the GUIX_PACKAGE_PATH to point to the root of this directory
before running Guix. E.g.
git clone https://github.com/genenetwork/guix-bioinformatics.git
@@ -23,8 +37,7 @@ into the GNU Guix repository when tested and stable.
Install slurm with
- git clone https://github.com/genenetwork/guix-bioinformatics.git
- export GUIX_PACKAGE_PATH=$PWD/guix-bioinformatics/
+ guix pull
guix package -i slurm-llnl
~/.guix-profile/sbin/slurmd -C -D
@@ -34,8 +47,7 @@ Install slurm with
Install the module environment with
- git clone https://github.com/genenetwork/guix-bioinformatics.git
- export GUIX_PACKAGE_PATH=$PWD/guix-bioinformatics/
+ guix pull
guix package -i environment-modules
modulecmd --version
@@ -46,16 +58,14 @@ Install the module environment with
Install python2-numarray package with
- git clone https://github.com/genenetwork/guix-bioinformatics.git
- export GUIX_PACKAGE_PATH=$PWD/guix-bioinformatics/
+ guix pull
guix package -i python2-numarray
## Common Workflow Language (CWL)
Install the common workflow language tool cwltool with
- git clone https://github.com/genenetwork/guix-bioinformatics.git
- export GUIX_PACKAGE_PATH=$PWD/guix-bioinformatics/
+ guix pull
guix package -i python2-cwltool
cwtool --version