Mercurial > repos > bgruening > text_processing
comparison grep.xml @ 1:43b1f073b693 draft
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/text_processing commit 369e40078146d00608d52205bb8cee66ae735b76-dirty
author | bgruening |
---|---|
date | Tue, 30 Jun 2015 16:23:23 -0400 |
parents | 5314e5d6f040 |
children | 37e1eb05b1b4 |
comparison
equal
deleted
inserted
replaced
0:5314e5d6f040 | 1:43b1f073b693 |
---|---|
3 <macros> | 3 <macros> |
4 <import>macros.xml</import> | 4 <import>macros.xml</import> |
5 </macros> | 5 </macros> |
6 <expand macro="requirements"> | 6 <expand macro="requirements"> |
7 <requirement type="package" version="2.14">gnu_grep</requirement> | 7 <requirement type="package" version="2.14">gnu_grep</requirement> |
8 <requirement type="set_environment">TP_SCRIPT_PATH</requirement> | |
9 </expand> | 8 </expand> |
10 <version_command>grep --version | head -n 1</version_command> | 9 <version_command>grep --version | head -n 1</version_command> |
11 <command> | 10 <command> |
12 <![CDATA[ | 11 <![CDATA[ |
13 #if str($color) == "COLOR": | 12 #if str($color) == "COLOR": |
18 -A $lines_after | 17 -A $lines_after |
19 -B $lines_before | 18 -B $lines_before |
20 $invert | 19 $invert |
21 $case_sensitive | 20 $case_sensitive |
22 -- "${url_paste}" | 21 -- "${url_paste}" |
23 '${infile}' | \$TP_SCRIPT_PATH/ansi2html.sh > "${output}" | 22 '${infile}' | $__tool_directory__/ansi2html.sh > "${output}" |
24 #else: | 23 #else: |
25 grep | 24 grep |
26 -P | 25 -P |
27 -A $lines_after | 26 -A $lines_after |
28 -B $lines_before | 27 -B $lines_before |