Skip to content

Commit 6a73f51

Browse files
committed
Revert telo gawk changes
1 parent be1dfc6 commit 6a73f51

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

conf/modules.config

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ process {
7474
// NOTE: GAWK module derivatives - More to come
7575
//
7676
withName: 'GAWK_UPPER_SEQUENCE' {
77+
ext.args2 = { "'/^>/ {print; next} {print toupper(\$0)}'" } // Convert sequence to uppercase on lines starting with '>'
7778
ext.prefix = { "${meta.id}_UPPERCASED" }
7879
ext.suffix = 'fasta'
7980
}
@@ -85,6 +86,7 @@ process {
8586
}
8687

8788
withName: 'GAWK_MAP_TELO' {
89+
ext.args2 = { "-v OFS=\"\t\" 'BEGIN { sub(/^>/, \"\"); print \$1, \$4, \$5, \$6 }'" }
8890
ext.prefix = { "${meta.id}_map_telo" }
8991
ext.suffix = 'bed'
9092
}

subworkflows/local/telo_finder/main.nf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ workflow TELO_FINDER {
2525
//
2626
GAWK_UPPER_SEQUENCE(
2727
reference_tuple,
28-
file("${projectDir}/bin/gawk_reformat_intersect.awk"),
28+
[],
2929
false,
3030
)
3131
ch_versions = ch_versions.mix( GAWK_UPPER_SEQUENCE.out.versions )
@@ -72,7 +72,7 @@ workflow TELO_FINDER {
7272

7373
GAWK_MAP_TELO(
7474
fallback_file,
75-
file("${projectDir}/bin/gawk_map_telo.awk"),
75+
[],
7676
false
7777
)
7878
ch_versions = ch_versions.mix( GAWK_MAP_TELO.out.versions )

0 commit comments

Comments
 (0)