Skip to content

Commit

Permalink
Escapes for awk variables
Browse files Browse the repository at this point in the history
  • Loading branch information
afg1 committed Sep 1, 2023
1 parent 0da0f10 commit 1f585e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workflows/databases/rediportal.nf
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ process fetch_rediportal_bedfile {

"""
wget -O REDI_sorted_untabbed.bed $params.databases.rediportal.bed_remote
awk 'BEGIN {OFS="\t"} {print $1,$2,$3,$4,$5,$6,$7}' REDI_sorted_untabbed.bed > REDI_sorted.bed
awk 'BEGIN {OFS="\t"} {print \$1,\$2,\$3,\$4,\$5,\$6,\$7} ' REDI_sorted_untabbed.bed > REDI_sorted.bed
"""
}

Expand Down

0 comments on commit 1f585e2

Please sign in to comment.