Skip to content

Commit

Permalink
merge with sfitz-by-readgroup complete and tested
Browse files Browse the repository at this point in the history
  • Loading branch information
sorelfitzgibbon committed Jun 12, 2024
1 parent f24823d commit 40e97e2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -162,9 +162,9 @@ workflow {
samples_to_process_ch
)
}
if ('fastqc' in params.algorithms) {
if ('fastqc' in params.algorithm) {
assess_ReadQuality_FastQC(
samplesToProcessChannel
samples_to_process_ch
)
}
if ('collectwgsmetrics' in params.algorithm) {
Expand Down
6 changes: 3 additions & 3 deletions module/fastqc.nf
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,18 @@ process assess_ReadQuality_FastQC {
pattern: "${output_filename}",
mode: "copy",
enabled: true
ext log_dir_suffix: { "-${id}" }
ext log_dir_suffix: { "-${sm_id}" }

input:
tuple val(orig_id), val(id), path(path), val(read_length), val(sample_type)
tuple path(path), val(unused), val(sm_id), val(rg_arg), val(unused), val(unused), val(unused), val(read_length)

output:
path("${output_filename}")

script:
output_filename = generate_standard_filename("FastQC-${params.fastqc_version}",
params.dataset_id,
id,
sm_id,
[:])

"""
Expand Down
2 changes: 1 addition & 1 deletion test/config/fastqc.config
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ includeConfig "${projectDir}/nextflow.config"

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

0 comments on commit 40e97e2

Please sign in to comment.