This repository was archived by the owner on Jan 19, 2026. It is now read-only.
forked from TomSmithCGAT/SetUp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhpc
More file actions
68 lines (49 loc) · 1.73 KB
/
Copy pathhpc
File metadata and controls
68 lines (49 loc) · 1.73 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
The following steps were used to generate the environment for running CGATcore pipelines:
1. Install conda:
$ wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
$ bash Miniconda3-latest-Linux-x86_64.sh
$ source ~/.bashrc
## check conda installed and in $PATH ##
$ which conda
2. Install CGAT:
$ conda config --add channels defaults
$ conda config --add channels bioconda
$ conda config --add channels conda-forge
$ conda create --name cgat-devel
$ conda install -c bioconda quicksect
$ cd; mkdir git_repos; cd git_repos
$ git clone https://github.com/cgat-developers/cgat-apps
$ git clone https://github.com/cgat-developers/cgat-core
$ git clone https://github.com/cgat-developers/cgat-flow
## For each of the cgat directories above, move into directory and then run:
$ conda install -y `cat "conda_requires.txt" | grep -v "#" | xargs`
$ python setup.py develop
## check cgat-flow working:
$ cgatflow --help
# add following line to end of ~/.bashrc to activate conda env in each shell
$ conda activate cgat-devel
3. Configure CGAT:
$ emacs ~/.cgat.yml
#jobs_limit_db: 1
#tmpdir: /rds/user/tss38/hpc-work/scratch
#
#cluster:
# queue: skylake
# options: -A LILLEY-SL3-CPU --mail-type=FAIL
# queue_manager: slurm
# memory_resource: mem
4. Set up DRMAA:
$ cd; mkdir drmaa
# wget and untar most up to date version from:
# https://github.com/natefoo/slurm-drmaa/releases/tag/1.1.0
# Note that I had to download on desktop and rsync over
$ cd slurm-drmaa-1.1.0
$ ./configure --prefix /home/tss38/drmaa
$ make
$ make install
# Add following line to ~/.bashrc
$ export DRMAA_LIBRARY_PATH=/home/tss38/drmaa/lib/libdrmaa.so.1.0.8
# test installation
$ python
>>> import drmaa
# Done! To test, ran readqc pipeline to completion.