-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathparams.config
More file actions
executable file
·128 lines (97 loc) · 3.87 KB
/
Copy pathparams.config
File metadata and controls
executable file
·128 lines (97 loc) · 3.87 KB
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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
/*
* Defines default parameters
* To change any of these parameters, include the variable in your command with 2 dashes "--"
* nextflow run main_AMR++.nf -profile conda --reads "/path/to/other/reads/*_R{1,2}.fastq.gz"
*/
params {
/* Display help message */
help = false
// -----------------------------------------------------------------
// Input/Output
// -----------------------------------------------------------------
/* Location of forward and reverse read pairs */
reads = "${baseDir}/data/raw/*_R{1,2}.fastq.gz"
/* Output directory */
output = "test_results"
// -----------------------------------------------------------------
// Reference Databases
// -----------------------------------------------------------------
/* Optional input for bam files for use with "--pipeline bam_resistome" or "--pipeline full_hifi" */
bam_files = null
split = ""
/* Location of reference/host genome */
host = "${baseDir}/data/host/chr21.fasta.gz"
/* Optionally, you can specify the location of the host index files created with bwa with the path and wildcard (*): */
host_index = "${baseDir}/data/host/chr21.fasta.gz*"
/* Kraken database location, default is "null" and will download minikraken db */
kraken_db = null
/* Location of amr index files with wildcard */
/* If you want the bowtie indexes built, use the bareword "null" */
amr_index = "${baseDir}/data/amr/megares_database_v3.00.fasta"
/* Location of antimicrobial resistance (MEGARes) database */
amr = "${baseDir}/data/amr/megares_database_v3.fasta"
/* Location of amr annotation file */
annotation = "${baseDir}/data/amr/megares_annotations_v3.00.csv"
// -----------------------------------------------------------------
// Pipeline Logic & Analysis Toggles
// -----------------------------------------------------------------
/* Add SNP analysis */
snp = "Y"
/* Add deduplicaation analysis */
deduped = "N"
prefix = "AMR"
/* Number of threads */
threads = 8
// -----------------------------------------------------------------
// Trimming Parameters (Trimmomatic obsolete - to be removed)
// -----------------------------------------------------------------
/* Trimmomatic trimming parameters */
adapters = "${baseDir}/data/adapters/nextera.fa"
leading = 3
trailing = 3
slidingwindow = "4:15"
minlen = 36
/* Resistome threshold */
threshold = 80
/* Starting rarefaction level */
min = 5
/* Ending rarefaction level */
max = 100
/* Number of levels to skip */
skip = 5
/* Number of iterations to sample at */
samples = 1
/* multiQC */
multiqc = "$baseDir/data/multiqc"
/* Dada parameters */
p_trim_left_f = 25
p_trim_left_r = 26
p_trunc_len_f = 225
p_trunc_len_r = 220
/* Bracken taxonomic levels */
/* comma separated list options: D,P,C,O,F,G,S */
taxlevel = "R1,R2,R3,K,P,C,O,F,G,S"
/* qiime2 bayes classifier */
dada2_db = "$baseDir/data/qiime/gg-13-8-99-515-806-nb-classifier.qza"
}
// The location of each dependency binary needs to be specified here.
// The examples listed below are assuming the tools are already in the $PATH, however,
// the absolute path to each tool can be entered individually.
// Only change things here if you need to point to a specific binary on your computing system.
env {
/* These following tools are required to run AmrPlusPlus*/
JAVA = "java"
TRIMMOMATIC = "trimmomatic"
FASTP = "fastp"
PYTHON3 = "python3"
BWA = "bwa"
BOWTIE2 = "bowtie2"
SAMTOOLS = "samtools"
BEDTOOLS = "bedtools"
RESISTOME = "resistome"
RAREFACTION = "rarefaction"
SNPFINDER = "snpfinder"
/* These next tools are optional depending on which analyses you want to run */
KRAKEN2 = "kraken2"
QIIME = "qiime"
}