generated from BGAcademy23/template
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.gitpod.yml
56 lines (47 loc) · 2.05 KB
/
.gitpod.yml
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
image: gitpod/workspace-base
tasks:
- name: install mamba
init: |
curl -L -O "https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-$(uname)-$(uname -m).sh"
bash Mambaforge-$(uname)-$(uname -m).sh -b -p /workspace/conda && rm Mambaforge-$(uname)-$(uname -m).sh
/workspace/conda/bin/mamba init bash
source ${HOME}/.bashrc
mkdir -p /workspace/bin
# set up conda evironment with R and needed packages
mamba create -n gs -c conda-forge r-base r-argparse r-minpack.lm -y
mamba activate gs
mamba install -c bioconda kmc -y
# install genomescope2 (both package and executible script)
git clone https://github.com/tbenavi1/genomescope2.0
R -e 'install.packages("genomescope2.0", repos=NULL, type="source")'
install -c genomescope2.0/genomescope.R /workspace/bin
# install genomeTelescope R package
git clone https://github.com/KamilSJaron/GenomeTelescope
R -e 'install.packages("GenomeTelescope", repos=NULL, type="source")'
# download yeast data
mkdir -p data && wget -P data https://sk13.cog.sanger.ac.uk/SRR3265401_{1,2}.fastq.gz
command: |
/workspace/conda/bin/mamba init bash
source ${HOME}/.bashrc
mamba activate gs
export PATH=/workspace/bin:"$PATH"
vscode:
extensions:
- anwar.papyrus-pdf
workspaceLocation: "/workspace"
github:
prebuilds:
# enable for the master/default branch (defaults to true)
master: true
# enable for all branches in this repo (defaults to false)
branches: true
# enable for pull requests coming from this repo (defaults to true)
pullRequests: true
# enable for pull requests coming from forks (defaults to false)
pullRequestsFromForks: true
# add a "Review in Gitpod" button as a comment to pull requests (defaults to true)
addComment: true
# add a "Review in Gitpod" button to pull requests (defaults to false)
addBadge: false
# add a label once the prebuild is ready to pull requests (defaults to false)
addLabel: prebuilt-in-gitpod