×

nf-core/gawk @ 0.0.0-0c7146d

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-0c7146d
Total downloads: 1
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-0c7146d
Commit ID 135d883a43b1a2324b4112cd270cf22e20835533
Release Date 08 Apr 2026 18:43:34 (UTC)
Download URL https://registry-stage.nextflow.io/api/v1/modules/nf-core%2Fgawk/0.0.0-0c7146d/download
OCI Store URL https://public.cr.stage-seqera.io/v2/nextflow/plugin-stage/modules/nf-core/gawk/blobs/sha256:d0388dc335073703077311df966971e4c01566dfe1ba074eced9364c8dd08aa5
Size 3.8 KB
Checksum sha256:d0388dc335073703077311df966971e4c01566dfe1ba074eced9364c8dd08aa5
Downloads 1
Version Date Status Downloads Size Diff
0.0.0-0c7146d 08 Apr 2026 18:43:34 (UTC) 1 3.8 KB -