Skip to content

Commit

Permalink
Apply some linting
Browse files Browse the repository at this point in the history
  • Loading branch information
scwatts committed May 10, 2024
1 parent bc4ab38 commit cae2c9e
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion conf/modules.config
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*
/*
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Config file for defining DSL2 per module options and publishing paths
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Expand Down
3 changes: 3 additions & 0 deletions lib/WorkflowMain.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ class WorkflowMain {
params.ref_data_panel_data_path = Constants.TSO500_PANEL_38_PATH
}
}

}

def stages = Processes.getRunStages(
Expand Down Expand Up @@ -296,7 +297,9 @@ class WorkflowMain {
System.exit(1)
}
}

}

}

public static getRunConfig(params, inputs, log) {
Expand Down
10 changes: 4 additions & 6 deletions modules/local/markdups/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,15 @@ process MARKDUPS {
task.ext.when == null || task.ext.when

script:
// previously: def umi_flags = has_umis ? '-umi_enabled -umi_duplex -umi_duplex_delim +' : ''

def umi_flags
if(has_umis) {
if(has_umis) {
umi_flags = '-umi_enabled'
if(umi_duplex_delim) {
umi_flags = "${umi_flags} -umi_duplex -umi_duplex_delim ${umi_duplex_delim}"
umi_flags = "${umi_flags} -umi_duplex -umi_duplex_delim ${umi_duplex_delim}"
}
} else {
} else {
umi_flags = '-form_consensus'
}
}

"""
markdups \\
Expand Down
4 changes: 2 additions & 2 deletions workflows/wgts.nf
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ workflow WGTS {
ref_data.genome_bwa_index_bseq,
ref_data.genome_bwa_index_biidx,
params.max_fastq_records,
0, // disabled for now
0, // disabled for now
)

READ_ALIGNMENT_RNA(
Expand Down Expand Up @@ -189,7 +189,7 @@ workflow WGTS {
ref_data.genome_dict,
hmf_data.unmap_regions,
false, // has_umis
"", // no duplex UMI delimiter
'', // no duplex UMI delimiter
)

ch_versions = ch_versions.mix(READ_PROCESSING.out.versions)
Expand Down

0 comments on commit cae2c9e

Please sign in to comment.