-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sfitz add intervals #92
base: main
Are you sure you want to change the base?
Changes from all commits
34bc0a8
3d4c795
b6329d1
3f48a09
744bb36
e02b74f
05761cd
5517c97
5b4022b
1f43887
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -35,7 +35,7 @@ process { | |||||
} | ||||||
withName: assess_coverage_mosdepth { | ||||||
cpus = 1 | ||||||
memory = 3.GB | ||||||
memory = 8.GB | ||||||
retry_strategy { | ||||||
memory { | ||||||
strategy = 'add' | ||||||
|
@@ -93,6 +93,20 @@ process { | |||||
} | ||||||
} | ||||||
} | ||||||
withName: run_BedToIntervalList_picard { | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Picard should be capitalized |
||||||
cpus = 1 | ||||||
memory = 1.GB | ||||||
} | ||||||
withName: run_CollectHsMetrics_Picard { | ||||||
cpus = 1 | ||||||
memory = 1.GB | ||||||
retry_strategy { | ||||||
memory { | ||||||
strategy = 'add' | ||||||
operand = 1.GB | ||||||
} | ||||||
} | ||||||
} | ||||||
withName: run_bamqc_Qualimap { | ||||||
cpus = 4 | ||||||
memory = 24.GB | ||||||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,22 +8,22 @@ includeConfig "${projectDir}/nextflow.config" | |
|
||
// Inputs/parameters of the pipeline | ||
params { | ||
algorithm = ['samtools_stats', 'collectwgsmetrics'] // 'fastqc', 'samtools_stats', 'collectwgsmetrics', 'mosdepth_quantize', 'mosdepth_coverage', 'qualimap_bamqc' | ||
algorithm = ['samtools_stats', 'collectwgsmetrics'] // 'fastqc', 'samtools_stats', 'collectwgsmetrics', 'collecthsmetrics', 'mosdepth_quantize', 'mosdepth_coverage', 'qualimap_bamqc' | ||
reference = '/hot/resource/reference-genome/GRCh38-BI-20160721/Homo_sapiens_assembly38.fasta' | ||
output_dir = '/path/to/output/directory' | ||
blcds_registered_dataset = false // if you want the output to be registered | ||
save_intermediate_files = true | ||
intervals_bed = '' | ||
|
||
// SAMtools stats options | ||
stats_max_rgs_per_sample = 20 | ||
stats_remove_duplicates = false | ||
stats_additional_options = '' | ||
|
||
// mosdepth window-base coverage options | ||
// fast algorithm ignores read pair overlaps and should not be used on libraries with small insert sizes | ||
mosdepth_use_fast_algorithm = false | ||
// mosdepth window-based coverage options | ||
mosdepth_windows = 500 // not used if intervals_bed is defined | ||
mosdepth_use_fast_algorithm = false // fast algorithm ignores read pair overlaps and should not be used on libraries with small insert sizes | ||
mosdepth_per_base_output = true | ||
mosdepth_window_size = 500 | ||
mosdepth_additional_options = '--mapq 20' | ||
|
||
// mosdepth quantized coverage (like GATK's Callable Regions) | ||
|
@@ -36,14 +36,22 @@ params { | |
mosdepth_quantize_additional_options = '--mapq 20' | ||
|
||
// Picard CollectWgsMetrics options | ||
cwm_coverage_cap = 1000 | ||
cwm_coverage_cap = 250 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 250 is the Picard default value |
||
cwm_minimum_mapping_quality = 20 | ||
cwm_minimum_base_quality = 20 | ||
cwm_use_fast_algorithm = false | ||
cwm_additional_options = '' | ||
|
||
// Picard CollectHsMetrics options | ||
chm_bait_intervals_bed = '' // if not defined, intevals_bed will be used | ||
chm_coverage_cap = 2000 | ||
chm_minimum_mapping_quality = 20 | ||
chm_minimum_base_quality = 20 | ||
chm_per_base_output = true | ||
chm_additional_options = '' | ||
Comment on lines
+46
to
+51
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. comment: If these are new, they should get validated in schema as well |
||
|
||
// Qualimap bamqc options | ||
bamqc_output_format = 'pdf' // 'html' or 'pdf' | ||
bamqc_output_format = 'html' // 'html' or 'pdf'. html is needed to use with multiqc | ||
bamqc_additional_options = '' | ||
|
||
// FastQC options | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mosdepth
uses more memory when targets are specified. Can the allocated resources be based on whetherintervals_bed
is defined?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It can be updated but it has to be done in methods; the resource handler has an optional input for customized allocations