File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed
Metagenomics/Illumina/Workflow_Documentation/SW_MGIllumina/workflow_code Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ if (params.help) {
97
97
println ()
98
98
println (" Paths to existing databases and database links." )
99
99
println (" --DB_ROOT [PATH] FULL PATH to root directory where the databases will be downloaded if they don't exist." )
100
- println (" Relative paths such as '~/' and '../' will fail, please don't use them. Default: ./Reference_DBs/ " )
100
+ println (" Relative paths such as '~/' and '../' will fail, please don't use them. Default: .. /Reference_DBs/ " )
101
101
println (" CAT database directory strings:" )
102
102
println (" The strings below will be added to the end of the --database.cat_db path arguement provided below." )
103
103
println (" --cat_taxonomy_dir [PATH] CAT taxonomy database directory. Default: 2021-01-07_taxonomy/." )
Original file line number Diff line number Diff line change @@ -46,13 +46,7 @@ params {
46
46
logs_dir = " ../Logs/"
47
47
metadata_dir = " ../Metadata/"
48
48
49
- // ************************* Database creation **********************************//
50
- /* Root directory where the databases will be downloaded if they don't exist.
51
- This should be provided as a full path (starting with '/').
52
- Note that relative paths such as '~/' and '../' are not expanded
53
- by nextflow's evaluation of files, so don't use that.
54
- */
55
- DB_ROOT = " ${ baseDir} /Reference_DBs"
49
+ // ************************* Databases **********************************//
56
50
database {
57
51
CAT_DB_LINK = " https://tbb.bio.uu.nl/bastiaan/CAT_prepare/CAT_prepare_20210107.tar.gz"
58
52
// Old link - https://data.gtdb.ecogenomic.org/releases/release202/202.0/auxillary_files/gtdbtk_r202_data.tar.gz
@@ -169,7 +163,13 @@ profiles {
169
163
// Maximum number of jobs to submit in parallel
170
164
executor. queueSize = 20
171
165
172
-
166
+ /*
167
+ Root directory where the databases will be downloaded if they don't exist.
168
+ This should be provided as a full path (starting with '/').
169
+ Note that relative paths such as '~/' and '../' are not expanded
170
+ by nextflow's evaluation of files, so don't use that.
171
+ */
172
+ params. DB_ROOT = (" ${ baseDir} " . split(" /" )[0 .. -2 ]). join(' /' ) + " /Reference_DBs"
173
173
174
174
// Mount Humann databases to their predefined locations in the Biobakery container being used
175
175
if (params. database. chocophlan_dir == null ||
You can’t perform that action at this time.
0 commit comments