You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Amplicon/Illumina/Workflow_Documentation/SW_AmpIllumina-B/workflow_code/main.nf
+7-4Lines changed: 7 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -37,22 +37,22 @@ if (params.help) {
37
37
println("PLEASE NOTE: This workflow assumes that all your raw reads end with the same suffix. If they don't please modify your filenames to have the same suffix as shown below.")
38
38
println("--raw_R1_suffix [STRING] Raw forward reads suffix (region following the unique part of the sample names). e.g. _R1_raw.fastq.gz.")
39
39
println("--raw_R2_suffix [STRING] Raw reverse reads suffix (region following the unique part of the sample names). e.g. _R2_raw.fastq.gz.")
40
-
40
+
println()
41
41
println("Cutadapt (trimming) parameters:")
42
42
println(" --F_primer [STRING] Forward primer sequence e.g. AGAGTTTGATCCTGGCTCAG. Default: emptry string.")
43
43
println(" --R_primer [STRING] Reverse primer sequence e.g. CTGCCTCCCGTAGGAGT. Default: emptry string.")
44
44
println(" --min_cutadapt_len [INTEGER] What should be the minimum read length after quality trimming with cutadapt. Default: 130.")
45
45
println(" --primers_linked [STRING] Are the primers linked?. https://cutadapt.readthedocs.io/en/stable/recipes.html#trimming-amplicon-primers-from-paired-end-reads. Default: TRUE. ")
46
46
println(" --discard_untrimmed [STRING] Should untrimmed reads be discarded? Any supplied string except TRUE will not discard them. Default: TRUE.")
47
-
47
+
println()
48
48
println("Optional arguments:")
49
49
println(" --help Print this help message and exit.")
50
50
println(" --publishDir_mode [STRING] How should nextflow publish file outputs. Options can be found here https://www.nextflow.io/docs/latest/process.html#publishdir. Default: link.")
51
51
println(" --errorStrategy [STRING] How should nextflow handle errors. Options can be found here https://www.nextflow.io/docs/latest/process.html#errorstrategy. Default: terminate")
52
52
println(" --enable_visualizations [BOOLEAN] Should ASV plots be made? true or false. if true supply a path to the ruhnsheet for plotting to the --runsheet option. Default: false.")
53
53
println(" --runsheet [PATH] A 4-column file with these exact headers [Sample Name, read1_path, raw_R1_suffix, groups] for plotting. Only relevant if --enable_visualizations is true. Default: null.")
54
54
println(" --multiqc_config [PATH] Path to a custome multiqc config file. Default: config/multiqc.config.")
55
-
55
+
println()
56
56
println("Dada2 parameters passed to filterAndTrim() function:")
57
57
println(" --left_trunc [INTEGER] truncate the sequences to the left by this number of bases. Default: 0.")
58
58
println(" --right_trunc [INTEGER] truncate the sequences to the right by this number of bases. Default: 0.")
@@ -62,12 +62,13 @@ if (params.help) {
62
62
println(" This is typically used with primers like 515-926, that captured 18S fragments that are typically too long to merge.")
63
63
println(" Note that 16S and 18S should have been separated already prior to running this workflow. This should likely be left as FALSE for any option other than 18S above.")
64
64
println(" Values are TRUE or FALSE Default: FALSE.")
65
-
65
+
println()
66
66
println("File Suffixes:")
67
67
println(" --primer_trimmed_R1_suffix [STRING] Suffix to use for naming your primer trimmed forward reads. Default: _R1_trimmed.fastq.gz.")
68
68
println(" --primer_trimmed_R2_suffix [STRING] Suffix to use for naming your primer trimmed reverse reads. Default: _R2_trimmed.fastq.gz.")
69
69
println(" --filtered_R1_suffix [STRING] Suffix to use for naming your quality filtered forward reads. Default: _R1_filtered.fastq.gz.")
70
70
println(" --filtered_R2_suffix [STRING] Suffix to use for naming your quality filtered reverse reads. Default: _R2_filtered.fastq.gz.")
71
+
println()
71
72
println("Output directories:")
72
73
println(" --raw_reads_dir [PATH] Where should the fastqc report of the raw reads be stored. Default: Raw_Sequence_Data/.")
73
74
println(" --fastqc_out_dir [PATH] Where should multiqc outputs be stored. Default: workflow_output/FastQC_Outputs/.")
@@ -76,10 +77,12 @@ if (params.help) {
76
77
println(" --info_out_dir [PATH] Where should output metadata be stored. Default: workflow_output/Metadata/.")
77
78
println(" --plots_dir [PATH] Where should your plots be stored if visualization is enabled. Default: workflow_output/Final_Outputs/Plots/.")
78
79
println(" --final_outputs_dir [PATH] Where should most outputs and summary reports be stored. Default: workflow_output/Final_Outputs/.")
80
+
println()
79
81
println("Genelab specific arguements:")
80
82
println(" --GLDS_accession [STRING] A Genelab accession number if the --csv_file parameter is not set. If this parameter is set, it will ignore the --csv_file parameter.")
0 commit comments