-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathhelp.nf
More file actions
66 lines (47 loc) · 1.79 KB
/
Copy pathhelp.nf
File metadata and controls
66 lines (47 loc) · 1.79 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
nextflow.enable.dsl=2
def printHeader() {
log.info """\
BJ-EXPRESSION PIPELINE
===================================
fastq files : ${ params.input_csv }
time stamp : ${ params.timestamp }
\n
"""
}
def helpMessage() {
def yellow = "\033[0;33m"
def blue = "\033[0;34m"
def white = "\033[0m"
def red = "\033[0;31m"
log.info """\
${blue}bj-expression pipeline
Usage:
nextflow run main.nf [options]
Script Options: see nextflow.config
${red}
[required]
--reads_csv FILE Path to input csv file
--genome STR Reference genome to use. Available options - GRCh38, GRCm39
DEFAULT: ${params.genome}
${yellow}
[optional]
--publish_dir DIR Path to run output directory
DEFAULT: ${params.publish_dir}
--n_reads VAL Number of reads to sample for analysis
DEFAULT: ${params.n_reads}
--read_length VAL Desired read length for analysis and excess to be trimmed
DEFAULT: ${params.read_length}
--min_reads VAL Minimum number of reads required for analysis.
DEFAULT: ${params.min_reads}
--skip_subsampling STR Skip Qualimap module
DEFAULT: ${params.skip_subsampling}
--skip_cutadapt BOOL Skip cutadapt module
DEFAULT: ${params.skip_cutadapt}
--help BOOL Display help message
${white}
""".stripIndent()
}
workflow{
printHeader()
helpMessage()
}