Skip to content

Commit 40e97e2

Browse files
merge with sfitz-by-readgroup complete and tested
1 parent f24823d commit 40e97e2

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

main.nf

+2-2
Original file line numberDiff line numberDiff line change
@@ -162,9 +162,9 @@ workflow {
162162
samples_to_process_ch
163163
)
164164
}
165-
if ('fastqc' in params.algorithms) {
165+
if ('fastqc' in params.algorithm) {
166166
assess_ReadQuality_FastQC(
167-
samplesToProcessChannel
167+
samples_to_process_ch
168168
)
169169
}
170170
if ('collectwgsmetrics' in params.algorithm) {

module/fastqc.nf

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,18 @@ process assess_ReadQuality_FastQC {
1414
pattern: "${output_filename}",
1515
mode: "copy",
1616
enabled: true
17-
ext log_dir_suffix: { "-${id}" }
17+
ext log_dir_suffix: { "-${sm_id}" }
1818

1919
input:
20-
tuple val(orig_id), val(id), path(path), val(read_length), val(sample_type)
20+
tuple path(path), val(unused), val(sm_id), val(rg_arg), val(unused), val(unused), val(unused), val(read_length)
2121

2222
output:
2323
path("${output_filename}")
2424

2525
script:
2626
output_filename = generate_standard_filename("FastQC-${params.fastqc_version}",
2727
params.dataset_id,
28-
id,
28+
sm_id,
2929
[:])
3030

3131
"""

test/config/fastqc.config

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ includeConfig "${projectDir}/nextflow.config"
88

99
// Inputs/parameters of the pipeline
1010
params {
11-
algorithms = ['fastqc']
11+
algorithm = ['fastqc']
1212
reference = '/hot/ref/reference/GRCh38-BI-20160721/Homo_sapiens_assembly38.fasta'
1313
blcds_registered_dataset = false // if you want the output to be registered
1414
save_intermediate_files = true

0 commit comments

Comments
 (0)