forked from friendsofstrandseq/mosaicatcher-pipeline
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitpod.yml
72 lines (61 loc) · 2.19 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
image:
file: .gitpod.Dockerfile
ports:
- port: 5000
onOpen: ignore
tasks:
- name: install pre-commit git hooks
init: pre-commit install
- name: start up buildkitd
command: |
sudo /usr/bin/buildkitd --debug --config ./buildkitd.toml --group gitpod
- name: start a local docker registry
command: |
mkdir -p /workspace/registry
docker run -p 5000:5000 --name registry --rm -v /workspace/registry:/var/lib/registry registry:2
openMode: split-right
- name: dazzle build and test
command: |
gp ports await 5000
REPO=localhost:5000/dazzle
echo "To build specific chunks and combine them 'time ./build-chunk.sh -c chunk1 -c chunk2:variant1.2.3 -n combo'"
echo "To build all the chunks and combinations 'time ./build-all.sh'"
echo "To build a specific combination 'time ./build-combo.sh combo'"
echo "To list image chunks 'dazzle project image-name $REPO'"
echo "To list hashes for image chunks 'dazzle project hash $REPO'"
echo "To print the combined image maniest 'dazzle project manifest $REPO'"
openMode: tab-after
# MOSAICATCHER
# MOSAICATCHER
- name: Change cache location
command: |
mkdir -p ~/my_mamba_cache
export CONDA_PKGS_DIRS=~/my_mamba_cache
- name: Create snakemake env
command: mamba create -n snakemake -c bioconda -c conda-forge snakemake -y
# - name: Run mosaicatcher
# command: |
# snakemake --configfile .tests/config/simple_config.yaml \
# --config ashleys_pipeline=True MultiQC=True \
# --profile workflow/snakemake_profiles/local/conda/ \
# --conda-frontend mamba \
# --cores 8 --forceall
# - name: Generate Dockerfile
# command: |
# snakemake --configfile .tests/config/simple_config.yaml \
# --config ashleys_pipeline=True MultiQC=True \
# --profile workflow/snakemake_profiles/local/conda/ \
# --conda-frontend mamba \
# --cores 8 --containerize
vscode:
extensions:
- ms-azuretools.vscode-docker
- timonwong.shellcheck
github:
prebuilds:
master: true
branches: true
pullRequests: true
pullRequestsFromForks: true
addCheck: true
addComment: true