-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinit_nextflow.config
58 lines (41 loc) · 1.8 KB
/
init_nextflow.config
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
params{
help = null
//conda
conda.enabled = true
// Mandatory CLI options
set_seqs = null // Fasta file for set species is stores (full path)
setname = "targetset"
list = false
// Filtering Step
filtDB = "nr_euk" // database for filtering
// Mapping Step
// Download RVDB
refdb_name = "rvdb_nt" // This will be directory name
rvdb_link = "https://rvdb.dbi.udel.edu/download/"
db_name = "C-RVDBvCurrent.fasta.gz"
//refdb_link = ${params.rvdb_link}/${params.db_name}
// rvdb_link + db_name must be the full download link
db_update = params.db_update?:false
merge_update = params.merge_update?:false
do_not_merge = false
//Download nodes.dmp, names.dmp and merged.dmp files
taxon_link = "ftp://ftp.ncbi.nlm.nih.gov/pub/taxonomy/taxdump.tar.gz"
taxon_update = params.taxon_update?:false
acc2tax_link = "ftp://ftp.ncbi.nlm.nih.gov/pub/taxonomy/accession2taxid/nucl_gb.accession2taxid.gz"
dbsplit_update = params.dbsplit_update?:false
// RVDB for kaiju taxonomy
customdb = false
dbtomake = ""
kaiju_db = "nr_euk"
K_nr_euk_link = "https://kaiju-idx.s3.eu-central-1.amazonaws.com/2023/kaiju_db_nr_euk_2023-05-10.tgz"
K_refseq_link = "https://kaiju-idx.s3.eu-central-1.amazonaws.com/2023/kaiju_db_refseq_2023-05-23.tgz"
K_viruses_link = "https://kaiju-idx.s3.eu-central-1.amazonaws.com/2023/kaiju_db_viruses_2023-05-26.tgz"
K_rvdb_link = "https://kaiju-idx.s3.eu-central-1.amazonaws.com/2023/kaiju_db_rvdb_2023-05-26.tgz"
// Prepare db for bowtie
// Prepare db for Blast
}
process {
withName: /.+/ {
conda = "$baseDir/environment.yml"
}
}