File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,4 +28,8 @@ process {
2828 cpus = 8
2929 time = '4d'
3030 }
31+ withName: 'reditools3' {
32+ cpus = 6
33+ time = '4d'
34+ }
3135}
Original file line number Diff line number Diff line change @@ -18,6 +18,11 @@ process {
1818 memory = "4G"
1919 time = '1d'
2020 }
21+ withLabel: 'agat' {
22+ cpus = 1
23+ memory = "2G"
24+ time = '1d'
25+ }
2126 withLabel: 'hisat2_index' {
2227 cpus = 4
2328 time = '1h'
@@ -35,7 +40,13 @@ process {
3540 time = '1d'
3641 }
3742 withLabel: 'bamutil' {
43+ cpus = 1
44+ time = '1d'
45+ memory="12G"
46+ }
47+ withLabel: 'reditools3' {
3848 cpus = 2
3949 time = '1d'
50+ memory="4G"
4051 }
4152}
Original file line number Diff line number Diff line change @@ -8,7 +8,8 @@ process reditools3 {
88 path genome
99
1010 output:
11- tuple(val(meta), path(" edit_table.txt" ), emit : tuple_sample_serial_table)
11+ tuple(val(meta), path(" ${ base_name} .site_edits_reditools3.txt" ), emit : tuple_sample_serial_table)
12+ path(" ${ base_name} .reditools3.log" , emit : log)
1213
1314 script:
1415 // Set the strand orientation parameter from the library type parameter
@@ -27,8 +28,9 @@ process reditools3 {
2728 // the reditools error message
2829 strand_orientation = meta. libtype
2930 }
31+ base_name = bam.BaseName
3032
3133 """
32- python -m reditools analyze ${ bam} --reference ${ genome} --strand ${ strand_orientation} --output-file edit_table. txt
34+ python -m reditools analyze ${ bam} --reference ${ genome} --strand ${ strand_orientation} --output-file ${ base_name } .site_edits_reditools3. txt --threads ${ task.cpus } --verbose > ${ base_name } .reditools3.log
3335 """
3436}
You can’t perform that action at this time.
0 commit comments