-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnextflow.config
More file actions
44 lines (33 loc) · 2.15 KB
/
nextflow.config
File metadata and controls
44 lines (33 loc) · 2.15 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
// your workflow parameters
params {
sample_sheet = '' // CSV of the sample ~ barcode relations. Columns: Sample,Barcode_dir (may have other)
assembly_sheet = '' // CSV of the barcode ~ expected seq length relations. Columns: Barcode_dir,Length (in kbp. May have other columns)
fastq_dir = 'fastq' // The directory that contains the barcode directories of FASTQ files
barcode_prefix = 'barcode' // The prefix for the individual barcode directories as output by the sequencer
reference_dir = '' // dir of reference sequence Genbank files. Filenames (without extension) must match 'Sample' column entries
projectname = 'Noname' // display in PDF
// Demultiplex pipeline
singleplex_out = true
// Preview pipeline
preview_output_dir = 'results/dir1_preview'
// Analysis pipeline
max_len_fraction = 1.5 // For calculating max length of filtered FASTQ reads, to avoid plasmid dimers
quality_cutoff = 10 // For NanoFilt
min_length = 500 // nucleotides
freebayes.args = '--ploidy 1 --min-alternate-fraction 0.1 --min-alternate-count 2 --min-base-quality 17' // Phred score 17 = 2% prob of incorrect basecall; 20 = 1%
low_depth_value = 30 // cutoff for low-depth samples
save_bam = false // Output BAM files
save_filtered_fastq = false // Output filtered fastq files
// Review pipeline
assembly_plan = 'noplan' // Optional: the assembly plan CSV of the DNA constructs, one per line: Sample,Part_1,Part_2, etc. Must have a header line.
all_parts = '' // FASTA file that contains all sequences to compare against
fastq_filtered_dir = 'results/dir2_analysis/n2_fastq_filtered' // The directory that contains the filtered FASTQ files
consensus_dir = 'results/dir2_analysis/n6_consensus' // contains the consensus FASTA sequences
denovo_columname = 'Review_de_novo'
denovo_true = '1' // marker for performing review
assembly_prefix = 'egf'
canu_postfix = '.contigs.fasta' // hardcoded into canu
trim_selection = 'first' // which de novo asm contig to be used for analysis? The 'first' in the fasta file, or the contig with the highest 'readcount'
}
// include basic process configuration options
includeConfig 'conf/base.config'