-
Notifications
You must be signed in to change notification settings - Fork 0
/
Readme
52 lines (33 loc) · 1.66 KB
/
Readme
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
To run this pipeline Snakemake is required.
for easy installation you need (mini)conda.
Miniconda installation from folder where you want to install miniconda:
```
cd </path/to/files/dir/>
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
bash Miniconda3-latest-Linux-x86_64.sh
```
follow the instructions of the installation process, give the location where you want miniconda to be installed and answer YES to add miniconda to your path.
go to the directory where the analysis need to be performed
```
cd </path/to/analysis/dir>
git clone https://github.com/tgac-vumc/Alignment-snake.git
cd Alignment-snake
```
install the snakemake environment,
```
conda env create --name snakemake --file snakemake.yaml
```
source activate snakemake
```
go to alignment-snake directory and change the configfile with the correct paths to the reference files, than start snakemake.
```
snakemake --use-conda
```
Useful snakemake options
-j , --cores, --jobs : Use at most N cores in parallel (default: 1). If N is omitted, the limit is set to the number of available cores.
-n , --dryrun : Do not execute anything. but show rules which are planned to be performed.
-k , --keep-going : Go on with independent jobs if a job fails.
-f , --force : Force the execution of the selected target or the first rule regardless of already created output.
-U , --until : Runs the pipeline until it reaches the specified rules or files. Only runs jobs that are dependencies of the specified rule or files, does not run sibling DAGs.
-T , --timestamp : Add a timestamp to all logging output
for all options go to http://snakemake.readthedocs.io/en/stable/executable.html#all-options