forked from NorwegianVeterinaryInstitute/Talos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
00_set_up_environments.nf
112 lines (83 loc) · 1.77 KB
/
00_set_up_environments.nf
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
/*
* This is a nextflow workflow to set up the conda environments for the the Talos workflow
* The environments will be created in the work directory in a seperate folder called: conda.
* each environment is tested by calling the version number of the main tool installed in the
* environment.
*/
/*
* pipeline input parameters
*/
log.info """\
METAGENOMICS - N F P I P E L I N E
===================================
temporary - directory : ${workDir}
"""
.stripIndent()
/*
* process names
*/
process fastqc {
conda 'conda_yml/fastqc_env.yml'
executor='local'
label 'small'
"""
fastqc -v
"""
}
process multiqc {
conda 'conda_yml/multiqc_env.yml'
executor='local'
label 'small'
"""
multiqc --version
"""
}
process run_coverage {
conda 'conda_yml/nonpareil_env.yml'
executor='local'
label 'small'
"""
nonpareil -V
"""
}
process run_trim {
conda 'conda_yml/trimmomatic_env.yml'
executor='local'
label 'small'
"""
trimmomatic -version
"""
}
process run_low_complex {
conda 'conda_yml/bbmap_env.yml'
executor='local'
label 'small'
"""
bbmap.sh -version
bbduk.sh -version
"""
}
process Average_gsize {
conda 'conda_yml/microbecensus_env.yml'
executor='local'
label 'small'
"""
run_microbe_census.py --version
"""
}
process hulk_calculation {
conda 'conda_yml/hulk_env.yml'
executor='local'
label 'small'
"""
hulk version
"""
}
process Kraken_classification {
conda 'conda_yml/kraken2_env.yml'
executor='local'
label 'small'
"""
kraken2 --version
"""
}