Mercurial > repos > bgruening > text_processing
comparison grep.xml @ 5:20344ce0c811 draft
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/text_processing commit b9d202134c3c6d0e5c398c3ae75e410067fcfc52
author | bgruening |
---|---|
date | Wed, 23 Nov 2016 15:56:41 -0500 |
parents | 37e1eb05b1b4 |
children | 60edf2f8c28f |
comparison
equal
deleted
inserted
replaced
4:288462ec2630 | 5:20344ce0c811 |
---|---|
1 <tool id="tp_grep_tool" name="Search in textfiles" version="@BASE_VERSION@.0"> | 1 <tool id="tp_grep_tool" name="Search in textfiles" version="@BASE_VERSION@.0"> |
2 <description>(grep)</description> | 2 <description>(grep)</description> |
3 <macros> | 3 <macros> |
4 <import>macros.xml</import> | 4 <import>macros.xml</import> |
5 </macros> | 5 </macros> |
6 <expand macro="requirements"> | 6 <requirements> |
7 <requirement type="package" version="2.14">gnu_grep</requirement> | 7 <requirement type="package" version="2.14">grep</requirement> |
8 </expand> | 8 <requirement type="package" version="4.2.3.dev0">sed</requirement><!-- for ansi2html.sh --> |
9 </requirements> | |
9 <version_command>grep --version | head -n 1</version_command> | 10 <version_command>grep --version | head -n 1</version_command> |
10 <command> | 11 <command> |
11 <![CDATA[ | 12 <![CDATA[ |
12 #if str($color) == "COLOR": | 13 #if str($color) == "COLOR": |
13 GREP_COLOR='1;34' | 14 GREP_COLOR='1;34' |
28 $invert | 29 $invert |
29 $case_sensitive | 30 $case_sensitive |
30 -- "${url_paste}" | 31 -- "${url_paste}" |
31 '${infile}' | grep -v "^--$" > "${output}" | 32 '${infile}' | grep -v "^--$" > "${output}" |
32 #end if | 33 #end if |
33 | |
34 ##grep_wrapper.sh '$infile' '$output' '$url_paste' $color -A $lines_after -B $lines_before $invert $case_sensitive | |
35 ]]> | 34 ]]> |
36 </command> | 35 </command> |
37 <inputs> | 36 <inputs> |
38 <param name="infile" format="txt" type="data" label="Select lines from" /> | 37 <param name="infile" format="txt" type="data" label="Select lines from" /> |
39 | 38 |
121 <param name="invert" value="" /> | 120 <param name="invert" value="" /> |
122 <param name="url_paste" value="[^ ]+" /> | 121 <param name="url_paste" value="[^ ]+" /> |
123 <param name="lines_before" value="0" /> | 122 <param name="lines_before" value="0" /> |
124 <param name="lines_after" value="0" /> | 123 <param name="lines_after" value="0" /> |
125 <param name="color" value="NOCOLOR" /> | 124 <param name="color" value="NOCOLOR" /> |
126 <output name="output" file="egrep_results2.txt" />> | 125 <output name="output" file="egrep_results2.txt" /> |
127 </test> | 126 </test> |
128 </tests> | 127 </tests> |
129 <help> | 128 <help> |
130 <![CDATA[ | 129 <![CDATA[ |
131 **What it does** | 130 **What it does** |