comparison easyjoin.xml @ 19:12615d397df7 draft

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/text_processing commit 70980e329cd9fa78e74bf14a76fd4ded9bd2b91f
author bgruening
date Thu, 29 Feb 2024 22:15:20 +0000
parents fb4ff3c42cd3
children
comparison
equal deleted inserted replaced
18:d698c222f354 19:12615d397df7
1 <tool id="tp_easyjoin_tool" name="Join" version="@BASE_VERSION@.2"> 1 <tool id="tp_easyjoin_tool" name="Join" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
2 <description>two files</description> 2 <description>two files</description>
3 <macros> 3 <macros>
4 <import>macros.xml</import> 4 <import>macros.xml</import>
5 </macros> 5 </macros>
6 <expand macro="creator"/>
6 <expand macro="requirements"> 7 <expand macro="requirements">
7 <requirement type="package" version="5.22.0.1">perl</requirement> 8 <requirement type="package" version="5.32">perl</requirement>
8 </expand> 9 </expand>
9 <version_command>join --version | head -n 1</version_command> 10 <version_command>join --version | head -n 1</version_command>
10 <command> 11 <command>
11 <![CDATA[ 12 <![CDATA[
12 cp $__tool_directory__/sort-header ./ && 13 cp '$__tool_directory__/sort-header' ./ &&
13 chmod +x sort-header && 14 chmod +x sort-header &&
14 perl $__tool_directory__/easyjoin 15 perl '$__tool_directory__/easyjoin'
15 $jointype 16 $jointype
16 -t $'\t' 17 -t $'\t'
17 $header 18 $header
18 -e '$empty_string_filler' 19 -e '$empty_string_filler'
19 -o auto 20 -o auto
20 $ignore_case 21 $ignore_case
21 -1 '$column1' 22 -1 '$column1'
22 -2 '$column2' 23 -2 '$column2'
23 "$infile1" 24 '$infile1'
24 "$infile2" 25 '$infile2'
25 > '$output' 26 > '$output'
26 ]]> 27 ]]>
27 </command> 28 </command>
28 <inputs> 29 <inputs>
29 <param name="infile1" format="tabular" type="data" label="1st file" /> 30 <param name="infile1" format="tabular" type="data" label="1st file" />
107 108
108 * Input files need not be sorted. 109 * Input files need not be sorted.
109 * The header line (**Fruit Color Price**) was joined and kept as first line. 110 * The header line (**Fruit Color Price**) was joined and kept as first line.
110 * Missing values ( Avocado's color, missing from the first file ) are replaced with a period character. 111 * Missing values ( Avocado's color, missing from the first file ) are replaced with a period character.
111 112
112 @REFERENCES@
113 ]]> 113 ]]>
114 </help> 114 </help>
115 <expand macro="citations" /> 115 <expand macro="citations" />
116 </tool> 116 </tool>