Galaxy | Tool Preview

Text reformatting (version 9.3+galaxy1)

What it does

This tool runs the unix awk command on the selected data file.

TIP:

This tool uses the extended regular expression syntax (not the perl syntax). \d, \w, \s etc. are not supported.

Further reading


AWK programs

Most AWK programs consist of patterns (i.e. rules that match lines of text) and actions (i.e. commands to execute when a pattern matches a line).

The basic form of AWK program is:

pattern { action 1; action 2; action 3; }

Pattern Examples

Action Examples

AWK's Regular Expression Syntax

The select tool searches the data for lines containing or not containing a match to the given pattern. A Regular Expression is a pattern descibing a certain amount of text.