×

nf-core/gawk @ 0.0.0-6c4ed3a

If you are like many computer users, you would frequently like to make changes in various text files wherever certain patterns appear, or extract data from parts of certain lines while discarding the rest. The job is easy with awk, especially the GNU implementation gawk.

Latest version: 0.0.0-6c4ed3a
Total downloads: 7
Source: nf-core/modules
Authors: @nvnieuwk
Maintainers: @nvnieuwk

Summary

If you are like many computer users, you would frequently like to make changes in various text files wherever certain patterns appear, or extract data from parts of certain lines while discarding the rest. The job is easy with awk, especially the GNU implementation gawk.

Get started

Add the following snippet to your workflow script to include this module.

include { GAWK } from 'nf-core/gawk'

License

MIT License

Process
Name GAWK
Input 3 channels
#1 tuple
meta map

Groovy Map containing sample information e.g. [ id:'test', single_end:false ]

input file

The input file - Specify the logic that needs to be executed on this file on the ext.args2 or in the program file. If the files have a .gz extension, they will be unzipped using zcat.

*
program_file file

Optional file containing logic for awk to execute. If you don't wish to use a file, you can use ext.args2 to specify the logic.

*
disable_redirect_output boolean

Disable the redirection of awk output to a given file. This is useful if you want to use awk's built-in redirect to write files instead of the shell's redirect.

Output 2 channels
#1 output tuple
meta map

Groovy Map containing sample information e.g. [ id:'test', single_end:false ]

*.${suffix} file

The output file - if using shell redirection, specify the name of this file using ext.prefix and the extension using ext.suffix. Otherwise, ensure the awk program produces files with the extension in ext.suffix.

*
#2 versions_gawk tuple
${task.process} string

The name of the process

gawk string

The name of the tool

awk -Wversion | sed '1!d; s/.*Awk //; s/,.*//' eval

The expression to obtain the version of the tool

Tool Description Homepage
gawk GNU awk https://www.gnu.org/software/gawk/
Version 0.0.0-6c4ed3a
Commit ID 6c4ed3a220310b905a1fc9d04f05be2e0837142b
Release Date 23 Apr 2026 15:20:49 (UTC)
Download URL https://registry.nextflow.io/api/v1/modules/nf-core%2Fgawk/0.0.0-6c4ed3a/download
OCI Store URL https://public.cr.seqera.io/v2/nextflow/plugin/modules/nf-core/gawk/blobs/sha256:68f30b556dd79ff9dc5bb5592907c7c6663a36bcd6f104ef5be8fa4083f250c0
Size 3.8 KB
Checksum sha256:68f30b556dd79ff9dc5bb5592907c7c6663a36bcd6f104ef5be8fa4083f250c0
Downloads 3
Version Date Status Downloads Size
0.0.0-6c4ed3a 23 Apr 2026 15:20:49 (UTC) 3 3.8 KB
0.0.0-0c7146d 08 Apr 2026 19:05:13 (UTC) 4 3.8 KB