Mercurial > repos > bgruening > join_files_on_column_fuzzy
annotate join_files_on_column_fuzzy.xml @ 2:f2068690addc draft
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit 73ccf407098f84351a1bd18438b80023d362b91f
author | bgruening |
---|---|
date | Fri, 13 Apr 2018 03:30:12 -0400 |
parents | 8750c3125ec5 |
children | 22ec3c1a20cd |
rev | line source |
---|---|
2
f2068690addc
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit 73ccf407098f84351a1bd18438b80023d362b91f
bgruening
parents:
1
diff
changeset
|
1 <tool id="join_files_on_column_fuzzy" name="Join two files" version="1.0.1"> |
0
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
2 <description> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
3 on column allowing a small difference |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
4 </description> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
5 <requirements> |
1
8750c3125ec5
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit b1763d10a1c39bc6651be891a993989c5a5617ff
bgruening
parents:
0
diff
changeset
|
6 <requirement type="package" version="3.6">python</requirement> |
0
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
7 </requirements> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
8 <command> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
9 <![CDATA[ |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
10 python '$__tool_directory__/join_files_on_column_fuzzy.py' |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
11 --f1 '$f1' |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
12 --f2 '$f2' |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
13 --c1 $c1 |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
14 --c2 $c2 |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
15 --outfile '$merged_file' |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
16 $header |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
17 $add_distance |
1
8750c3125ec5
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit b1763d10a1c39bc6651be891a993989c5a5617ff
bgruening
parents:
0
diff
changeset
|
18 #if $merge_mode_select == 'closest': |
0
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
19 --closest |
1
8750c3125ec5
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit b1763d10a1c39bc6651be891a993989c5a5617ff
bgruening
parents:
0
diff
changeset
|
20 #end if: |
8750c3125ec5
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit b1763d10a1c39bc6651be891a993989c5a5617ff
bgruening
parents:
0
diff
changeset
|
21 --distance $distance |
8750c3125ec5
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit b1763d10a1c39bc6651be891a993989c5a5617ff
bgruening
parents:
0
diff
changeset
|
22 --unit $units |
8750c3125ec5
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit b1763d10a1c39bc6651be891a993989c5a5617ff
bgruening
parents:
0
diff
changeset
|
23 |
0
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
24 ]]> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
25 </command> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
26 <inputs> |
1
8750c3125ec5
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit b1763d10a1c39bc6651be891a993989c5a5617ff
bgruening
parents:
0
diff
changeset
|
27 <param argument="--f1" type="data" optional="true" format="tabular" label="1st file" |
0
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
28 help=""/> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
29 <param argument="--c1" type="data_column" data_ref="f1" label="Column to use from 1st file" help="The file needs to be sorted by this column, ascending."/> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
30 <param argument="--f2" type="data" optional="true" format="tabular" label="2nd file" |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
31 help=""/> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
32 <param argument="--c2" type="data_column" data_ref="f2" label="Column to use from 2nd file" help="The file needs to be sorted by this column, ascending."/> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
33 |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
34 <param argument="--header" type="boolean" checked="false" truevalue="--header" falsevalue="" label="Does the input files contain a header line" /> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
35 <param argument="--add_distance" type="boolean" checked="false" truevalue="--add_distance" falsevalue="" label="Add an addional column with the calculated distance." /> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
36 |
1
8750c3125ec5
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit b1763d10a1c39bc6651be891a993989c5a5617ff
bgruening
parents:
0
diff
changeset
|
37 <param name="merge_mode_select" type="select" label="Choose the mode of merging."> |
8750c3125ec5
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit b1763d10a1c39bc6651be891a993989c5a5617ff
bgruening
parents:
0
diff
changeset
|
38 <option value="closest" selected="True">Best match (in case of multiple best matches, only the first one is reported)</option> |
8750c3125ec5
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit b1763d10a1c39bc6651be891a993989c5a5617ff
bgruening
parents:
0
diff
changeset
|
39 <option value="distance">Matching with a defined distance</option> |
8750c3125ec5
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit b1763d10a1c39bc6651be891a993989c5a5617ff
bgruening
parents:
0
diff
changeset
|
40 </param> |
8750c3125ec5
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit b1763d10a1c39bc6651be891a993989c5a5617ff
bgruening
parents:
0
diff
changeset
|
41 <param name="units" display="radio" type="select" value="ppm_value" label="Choose the metrics of your distance" |
8750c3125ec5
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit b1763d10a1c39bc6651be891a993989c5a5617ff
bgruening
parents:
0
diff
changeset
|
42 help="ppm is useful for very small differences"> |
8750c3125ec5
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit b1763d10a1c39bc6651be891a993989c5a5617ff
bgruening
parents:
0
diff
changeset
|
43 <option value="absolute" selected="True">Absolute distance</option> |
8750c3125ec5
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit b1763d10a1c39bc6651be891a993989c5a5617ff
bgruening
parents:
0
diff
changeset
|
44 <option value="ppm" >Distance in ppm</option> |
8750c3125ec5
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit b1763d10a1c39bc6651be891a993989c5a5617ff
bgruening
parents:
0
diff
changeset
|
45 </param> |
8750c3125ec5
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit b1763d10a1c39bc6651be891a993989c5a5617ff
bgruening
parents:
0
diff
changeset
|
46 <param name="distance" value="0.2" type="float" label="Allowed distance between the two values that will trigger a merge" help=""/> |
0
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
47 </inputs> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
48 <outputs> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
49 <data name="merged_file" format="tabular" /> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
50 </outputs> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
51 |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
52 <tests> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
53 <test> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
54 <param name="f1" value="file1.tab" ftype="tabular"/> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
55 <param name="f2" value="file2.tab" ftype="tabular"/> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
56 <param name="c1" value="1"/> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
57 <param name="c2" value="1"/> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
58 <param name="merge_mode_select" value="distance"/> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
59 <param name="distance" value="0.1"/> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
60 <param name="units" value="absolute"/> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
61 <output name="merged_file" file="no_header_result1.tab" /> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
62 </test> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
63 <test> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
64 <param name="f1" value="file1_header.tab" ftype="tabular"/> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
65 <param name="f2" value="file2_header.tab" ftype="tabular"/> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
66 <param name="c1" value="1"/> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
67 <param name="c2" value="1"/> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
68 <param name="merge_mode_select" value="distance"/> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
69 <param name="distance" value="0.2"/> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
70 <param name="units" value="absolute"/> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
71 <param name="header" value="true"/> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
72 <output name="merged_file" file="header_result2.tab" /> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
73 </test> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
74 <test> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
75 <param name="f1" value="file1_header.tab" ftype="tabular"/> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
76 <param name="f2" value="file2_header.tab" ftype="tabular"/> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
77 <param name="c1" value="1"/> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
78 <param name="c2" value="1"/> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
79 <param name="header" value="true"/> |
1
8750c3125ec5
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit b1763d10a1c39bc6651be891a993989c5a5617ff
bgruening
parents:
0
diff
changeset
|
80 <param name="merge_mode_select" value="closest"/> |
0
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
81 <output name="merged_file" file="header_closest_result3.tab" /> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
82 </test> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
83 <test> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
84 <param name="f1" value="file1_ppm.tab" ftype="tabular"/> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
85 <param name="f2" value="file2_ppm.tab" ftype="tabular"/> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
86 <param name="c1" value="1"/> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
87 <param name="c2" value="1"/> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
88 <param name="header" value="false"/> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
89 <param name="merge_mode_select" value="distance"/> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
90 <param name="distance" value="100"/> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
91 <param name="units" value="ppm"/> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
92 <output name="merged_file" file="no_header_ppm_result4.tab" /> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
93 </test> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
94 <test> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
95 <param name="f1" value="file1_header.tab" ftype="tabular"/> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
96 <param name="f2" value="file2_header.tab" ftype="tabular"/> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
97 <param name="c1" value="1"/> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
98 <param name="c2" value="1"/> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
99 <param name="header" value="true"/> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
100 <param name="closest" value="true"/> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
101 <param name="add_distance" value="true"/> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
102 <output name="merged_file" file="header_closest_result5.tab" /> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
103 </test> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
104 <test> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
105 <param name="f1" value="file1_ppm.tab" ftype="tabular"/> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
106 <param name="f2" value="file2_ppm.tab" ftype="tabular"/> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
107 <param name="c1" value="1"/> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
108 <param name="c2" value="1"/> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
109 <param name="header" value="false"/> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
110 <param name="merge_mode_select" value="distance"/> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
111 <param name="distance" value="100"/> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
112 <param name="units" value="ppm"/> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
113 <param name="add_distance" value="true"/> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
114 <output name="merged_file" file="no_header_ppm_result6.tab" /> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
115 </test> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
116 </tests> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
117 <help> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
118 <![CDATA[ |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
119 |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
120 Join two files on a common column. It is possible to provide an allowed difference between both values (currently only numbers) |
1
8750c3125ec5
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit b1763d10a1c39bc6651be891a993989c5a5617ff
bgruening
parents:
0
diff
changeset
|
121 as the absolute differece or as PPM. |
0
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
122 |
1
8750c3125ec5
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit b1763d10a1c39bc6651be891a993989c5a5617ff
bgruening
parents:
0
diff
changeset
|
123 Two modes are available: |
0
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
124 |
1
8750c3125ec5
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit b1763d10a1c39bc6651be891a993989c5a5617ff
bgruening
parents:
0
diff
changeset
|
125 1. In the **best match** mode only the rows are merged for the most similar (or identical) values. In case of multiple best matches, only the first one is reported. |
0
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
126 |
1
8750c3125ec5
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit b1763d10a1c39bc6651be891a993989c5a5617ff
bgruening
parents:
0
diff
changeset
|
127 2. The **Matching with a defined distance** option will offer you the possibility |
8750c3125ec5
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit b1763d10a1c39bc6651be891a993989c5a5617ff
bgruening
parents:
0
diff
changeset
|
128 to provide a distance between the two values of the columns. Is the calculates distance smaller or equal than the given distance the columns will be joined. You can specify the allowed distance as an absolute distance or as PPM. |
0
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
129 |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
130 |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
131 ]]> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
132 </help> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
133 <citations> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
134 </citations> |
64469e7ecf9f
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/text_processing/join_files_on_column_fuzzy commit fd2bc86108994c9eda731b305ca6a8c71554cfaa
bgruening
parents:
diff
changeset
|
135 </tool> |