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
* --input_files: the path to a tab-separated values file containing in each row the sample name, sample type (eg: tumor or normal) and path to the BAM file
52
57
Sample type will be added to the BAM header @SN sample name
@@ -55,25 +60,24 @@ Input:
55
60
name1 tumor tumor.1.bam
56
61
name1 normal normal.1.bam
57
62
name2 tumor tumor.2.bam
58
-
59
-
Optional input:
60
63
* --reference: path to the FASTA genome reference (indexes expected *.fai, *.dict)
61
-
* --dbsnp: path to the dbSNP VCF
62
-
* --known_indels1: path to a VCF of known indels
63
-
* --known_indels2: path to a second VCF of known indels
64
-
**NOTE**: if any of the above parameters is not provided, default hg19 resources under
65
-
/projects/data/gatk_bundle/hg19/ will be used
66
-
64
+
65
+
Optional input:
66
+
* --dbsnp: path to the dbSNP VCF (required to perform BQSR)
67
+
* --known_indels1: path to a VCF of known indels (optional to perform realignment around indels)
68
+
* --known_indels2: path to a second VCF of known indels (optional to perform realignment around indels)
67
69
* --intervals: path to an intervals file to collect HS metrics from, this can be built with Picard's BedToIntervalList (default: None)
68
70
* --hs_metrics_target_coverage: name of output file for target HS metrics (default: None)
69
71
* --hs_metrics_per_base_coverage: name of output file for per base HS metrics (default: None)
72
+
* --collect_hs_minimum_base_quality: minimum base quality for a base to contribute coverage (default: 20).
73
+
* --collect_hs_minimum_mapping_quality: minimum mapping quality for a read to contribute coverage (default: 20).
* --input_files: the path to a tab-separated values file containing in each row the sample name, sample type (eg: tumor or normal) and path to the BAM file
38
-
Sample type will be added to the BAM header @SN sample name
39
-
The input file does not have header!
40
-
Example input file:
41
-
name1 tumor tumor.1.bam
42
-
name1 normal normal.1.bam
43
-
name2 tumor tumor.2.bam
44
-
45
-
Optional input:
46
-
* --reference: path to the FASTA genome reference (indexes expected *.fai, *.dict)
47
-
* --dbsnp: path to the dbSNP VCF
48
-
* --known_indels1: path to a VCF of known indels
49
-
* --known_indels2: path to a second VCF of known indels
50
-
**NOTE**: if any of the above parameters is not provided, default hg19 resources under
51
-
/projects/data/gatk_bundle/hg19/ will be used
52
-
53
-
* --intervals: path to an intervals file to collect HS metrics from, this can be built with Picard's BedToIntervalList (default: None)
54
-
* --hs_metrics_target_coverage: name of output file for target HS metrics (default: None)
55
-
* --hs_metrics_per_base_coverage: name of output file for per base HS metrics (default: None)
description ='Picard and GATK BAM preprocessing pipeline'
63
66
mainScript ='main.nf'
64
67
nextflowVersion ='>=19.10.0'
65
-
version ='1.1.0'
68
+
version =VERSION
69
+
doi =DOI
66
70
}
71
+
72
+
params.help_message ="""
73
+
TronFlow bam preprocessing v${VERSION}${DOI}
74
+
75
+
Usage:
76
+
main.nf --input_files input_files
77
+
78
+
Input:
79
+
* --input_files: the path to a tab-separated values file containing in each row the sample name, sample type (eg: tumor or normal) and path to the BAM file
80
+
Sample type will be added to the BAM header @SN sample name
81
+
The input file does not have header!
82
+
Example input file:
83
+
name1 tumor tumor.1.bam
84
+
name1 normal normal.1.bam
85
+
name2 tumor tumor.2.bam
86
+
* --reference: path to the FASTA genome reference (indexes expected *.fai, *.dict)
87
+
88
+
Optional input:
89
+
* --dbsnp: path to the dbSNP VCF (required to perform BQSR)
90
+
* --known_indels1: path to a VCF of known indels (optional to perform realignment around indels)
91
+
* --known_indels2: path to a second VCF of known indels (optional to perform realignment around indels)
92
+
* --intervals: path to an intervals file to collect HS metrics from, this can be built with Picard's BedToIntervalList (default: None)
93
+
* --hs_metrics_target_coverage: name of output file for target HS metrics (default: None)
94
+
* --hs_metrics_per_base_coverage: name of output file for per base HS metrics (default: None)
95
+
* --collect_hs_minimum_base_quality: minimum base quality for a base to contribute coverage (default: 20).
96
+
* --collect_hs_minimum_mapping_quality: minimum mapping quality for a read to contribute coverage (default: 20).
0 commit comments