# HG changeset patch # User bgruening # Date 1519769737 18000 # Node ID 74a8bef53a006d865fa950acd1712ae69c61cb44 # Parent e39fceb6ab85229ccfa603c432f47f6dbaaaaabd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/text_processing commit 0ba37c1f33eeb1c77b4d9363d681fe522d9f7fe7 diff -r e39fceb6ab85 -r 74a8bef53a00 awk.xml --- a/awk.xml Tue Feb 20 09:24:19 2018 -0500 +++ b/awk.xml Tue Feb 27 17:15:37 2018 -0500 @@ -1,10 +1,10 @@ - + with awk macros.xml - gawk + gawk awk --version | head -n 1 @@ -80,7 +80,7 @@ - **/AG..AG/** will match lines that contain the regular expression **AG..AG** (meaning the characeters AG followed by any two characeters followed by AG). (This is the way to specify regular expressions on the entire line, similar to GREP.) - **$7 ~ /A{4}U/** will match lines whose seventh column contains 4 consecutive A's followed by a U. (This is the way to specify regular expressions on a specific field.) - **10000 < $4 && $4 < 20000** will match lines whose fourth column value is larger than 10,000 but smaller than 20,000 -- **BEGIN** will be executed once only, before the first input record is read. +- **BEGIN** will be executed once only, before the first input record is read. - If no pattern is specified, all lines match (meaning the **action** part will be executed on all lines). diff -r e39fceb6ab85 -r 74a8bef53a00 grep.xml --- a/grep.xml Tue Feb 20 09:24:19 2018 -0500 +++ b/grep.xml Tue Feb 27 17:15:37 2018 -0500 @@ -1,11 +1,11 @@ - + (grep) macros.xml grep - sed + sed grep --version | head -n 1 @@ -40,13 +40,13 @@ - + - + diff -r e39fceb6ab85 -r 74a8bef53a00 recurring_lines.xml --- a/recurring_lines.xml Tue Feb 20 09:24:19 2018 -0500 +++ b/recurring_lines.xml Tue Feb 27 17:15:37 2018 -0500 @@ -37,7 +37,7 @@ - + diff -r e39fceb6ab85 -r 74a8bef53a00 replace_text_in_column.xml --- a/replace_text_in_column.xml Tue Feb 20 09:24:19 2018 -0500 +++ b/replace_text_in_column.xml Tue Feb 27 17:15:37 2018 -0500 @@ -1,10 +1,10 @@ - + in a specific column macros.xml - gawk + gawk awk --version | head -n 1 diff -r e39fceb6ab85 -r 74a8bef53a00 replace_text_in_line.xml --- a/replace_text_in_line.xml Tue Feb 20 09:24:19 2018 -0500 +++ b/replace_text_in_line.xml Tue Feb 27 17:15:37 2018 -0500 @@ -1,21 +1,20 @@ - - + in entire line macros.xml - sed + sed sed --version | head -n 1 '$outfile' + sed + -r + --sandbox + 's/$find_pattern/$replace_pattern/g' + '$infile' + > '$outfile' ]]> diff -r e39fceb6ab85 -r 74a8bef53a00 sed.xml --- a/sed.xml Tue Feb 20 09:24:19 2018 -0500 +++ b/sed.xml Tue Feb 27 17:15:37 2018 -0500 @@ -1,10 +1,10 @@ - + with sed macros.xml - sed + sed sed --version | head -n 1 diff -r e39fceb6ab85 -r 74a8bef53a00 sort.xml --- a/sort.xml Tue Feb 20 09:24:19 2018 -0500 +++ b/sort.xml Tue Feb 27 17:15:37 2018 -0500 @@ -1,10 +1,10 @@ - + data in ascending or descending order macros.xml - sed + sed sort --version | head -n 1 diff -r e39fceb6ab85 -r 74a8bef53a00 sorted_uniq.xml --- a/sorted_uniq.xml Tue Feb 20 09:24:19 2018 -0500 +++ b/sorted_uniq.xml Tue Feb 27 17:15:37 2018 -0500 @@ -1,10 +1,10 @@ - + assuming sorted input file macros.xml - sed + sed uniq --version | head -n 1 diff -r e39fceb6ab85 -r 74a8bef53a00 unfold_column.xml --- a/unfold_column.xml Tue Feb 20 09:24:19 2018 -0500 +++ b/unfold_column.xml Tue Feb 27 17:15:37 2018 -0500 @@ -1,10 +1,10 @@ - + columns from a table macros.xml - python + python