Skip to content

Commit 1dd1df4

Browse files
committed
Get rid of damageprofiler warning [skip ci]
1 parent 2c7c8d4 commit 1dd1df4

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

main.nf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1052,9 +1052,10 @@ process damageprofiler {
10521052

10531053
output:
10541054
file "*"
1055-
file "*/*.json" into ch_damageprofiler_results, ch_damageprofiler_for_software_versions
1055+
file "${base}/dmgprof.json" into ch_damageprofiler_results, ch_damageprofiler_for_software_versions
10561056

10571057
script:
1058+
base = "${bam.baseName}"
10581059
"""
10591060
damageprofiler -i $bam -r $fasta -l ${params.damageprofiler_length} -t ${params.damageprofiler_threshold} -o .
10601061
"""

0 commit comments

Comments
 (0)