Modify text
Description
This tool reads a text file and performs the selected operation for it.
Note that the search string is interpreted as regular expression where:
- dot (.) is interpreted as "any single character". For example a.a would match for example aba, aca but not abba.
- plus (+) is interpreted as "one or more of the proceeding characters". For example a+b would match for example ab, aab and caaab.
- asterisk (*) is interpreted as "zero or more of the proceeding characters". For example cA*b would match for example cb and cAAb but not cDb.
Further, because of security issues, several non-alphabet characters are not allowed in string definitions.
These include:
",#,[,],{,},%,$,&,|,>,> , ?
The available operations are:
1. Replace text
The strings matching Search string parameter are replaced with the with
the string defined with parameter Replacement string.
2. Select rows with regular expression
Only rows that contain the string defined with Search string parameter are
selected to the output file.
Replacement string parameter does not have any
effect in this case.
3. Exclude rows with regular expression
Only rows that do not contain the string defined with Search string parameter are
selected to the output file. Replacement string parameter does not have any
effect in this case.
Select a set of rows from the file
The output contains rows starting from row number that is defined with First row to select
until the row defined with parameter Last row to select.
Output
Output can be defined to be a text file, table (tsv), BED file or a GTF file.