Mercurial > repos > iuc > datamash_ops
annotate datamash-ops.xml @ 5:4c07ddedc198 draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 9edd054251bc74685d627360bb0fbe8ea60fa6a2
author | iuc |
---|---|
date | Thu, 23 Mar 2023 20:47:09 +0000 |
parents | 746e8e4bf929 |
children |
rev | line source |
---|---|
3
419027d822d6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 206ac70388ea11b168366f1e30bb44157e371c6e"
iuc
parents:
2
diff
changeset
|
1 <tool id="datamash_ops" name="Datamash" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@"> |
0
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
2 <description>(operations on tabular data)</description> |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
3 <macros> |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
4 <import>macros.xml</import> |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
5 </macros> |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
6 <expand macro="requirements" /> |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
7 <expand macro="stdio" /> |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
8 <command> |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
9 <![CDATA[ |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
10 datamash |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
11 $header_in |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
12 $header_out |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
13 $need_sort |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
14 $print_full_line |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
15 $ignore_case |
4
746e8e4bf929
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 384736acb5d2ae31d796c53031fad0e5da5424e3
iuc
parents:
3
diff
changeset
|
16 $narm |
3
419027d822d6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 206ac70388ea11b168366f1e30bb44157e371c6e"
iuc
parents:
2
diff
changeset
|
17 @FIELD_SEPARATOR@ |
419027d822d6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 206ac70388ea11b168366f1e30bb44157e371c6e"
iuc
parents:
2
diff
changeset
|
18 #if str($grouping) != '' |
419027d822d6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 206ac70388ea11b168366f1e30bb44157e371c6e"
iuc
parents:
2
diff
changeset
|
19 --group '$grouping' |
0
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
20 #end if |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
21 #for $oper in $operations |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
22 ${oper.op_name} |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
23 ${oper.op_column} |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
24 #end for |
2
562f3c677828
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit e0cd7ae10ce97bed51594e7cc0b969a803d698b7
iuc
parents:
1
diff
changeset
|
25 < $in_file > '$out_file' |
0
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
26 ]]> |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
27 </command> |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
28 <expand macro="inputs_outputs"> |
3
419027d822d6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 206ac70388ea11b168366f1e30bb44157e371c6e"
iuc
parents:
2
diff
changeset
|
29 <param argument="--group" name="grouping" type="text" label="Group by fields" help="Group consecutive rows with equal values in the chosen fields. If no columns are specified, each operation is performed in the entire input file. Comma separated list of column indices, e.g. 1,5"> |
419027d822d6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 206ac70388ea11b168366f1e30bb44157e371c6e"
iuc
parents:
2
diff
changeset
|
30 <sanitizer invalid_char=""> |
419027d822d6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 206ac70388ea11b168366f1e30bb44157e371c6e"
iuc
parents:
2
diff
changeset
|
31 <valid initial="string.digits"> |
419027d822d6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 206ac70388ea11b168366f1e30bb44157e371c6e"
iuc
parents:
2
diff
changeset
|
32 <add value="," /> |
419027d822d6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 206ac70388ea11b168366f1e30bb44157e371c6e"
iuc
parents:
2
diff
changeset
|
33 </valid> |
419027d822d6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 206ac70388ea11b168366f1e30bb44157e371c6e"
iuc
parents:
2
diff
changeset
|
34 <mapping initial="none"> |
419027d822d6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 206ac70388ea11b168366f1e30bb44157e371c6e"
iuc
parents:
2
diff
changeset
|
35 <add source=" " target=""/> |
419027d822d6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 206ac70388ea11b168366f1e30bb44157e371c6e"
iuc
parents:
2
diff
changeset
|
36 </mapping> |
419027d822d6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 206ac70388ea11b168366f1e30bb44157e371c6e"
iuc
parents:
2
diff
changeset
|
37 </sanitizer> |
419027d822d6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 206ac70388ea11b168366f1e30bb44157e371c6e"
iuc
parents:
2
diff
changeset
|
38 <validator message="Invalid value in field. Allowed is a comma separated list of integer values or the empty string" type="regex">(^$)|(^\s*\d+\s*(,\s*\d+\s*)*$)</validator> |
0
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
39 </param> |
3
419027d822d6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 206ac70388ea11b168366f1e30bb44157e371c6e"
iuc
parents:
2
diff
changeset
|
40 <param argument="--sort" name="need_sort" type="boolean" truevalue="--sort" falsevalue="" label="Sort input" help="Input file must be sorted by the grouping columns. Enable this option to automatically sort the input."/> |
419027d822d6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 206ac70388ea11b168366f1e30bb44157e371c6e"
iuc
parents:
2
diff
changeset
|
41 <param argument="--header-in" type="boolean" truevalue="--header-in" falsevalue="" label="Input file has a header line" /> |
419027d822d6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 206ac70388ea11b168366f1e30bb44157e371c6e"
iuc
parents:
2
diff
changeset
|
42 <param argument="--header-out" type="boolean" truevalue="--header-out" falsevalue="" label="Print header line" /> |
419027d822d6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 206ac70388ea11b168366f1e30bb44157e371c6e"
iuc
parents:
2
diff
changeset
|
43 <param argument="--full" name="print_full_line" type="boolean" truevalue="--full" falsevalue="" label="Print all fields from input file" /> |
419027d822d6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 206ac70388ea11b168366f1e30bb44157e371c6e"
iuc
parents:
2
diff
changeset
|
44 <param argument="--ignore-case" type="boolean" truevalue="--ignore-case" falsevalue="" label="Ignore case when grouping" /> |
4
746e8e4bf929
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 384736acb5d2ae31d796c53031fad0e5da5424e3
iuc
parents:
3
diff
changeset
|
45 <param argument="--narm" type="boolean" truevalue="--narm" falsevalue="" label="Skip NA or NaN values" /> |
3
419027d822d6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 206ac70388ea11b168366f1e30bb44157e371c6e"
iuc
parents:
2
diff
changeset
|
46 <repeat name="operations" default="1" min="1" title="Operation to perform on each group"> |
1
2f3c6f2dcf39
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 5a6df0b54ca66fb588886b4610bbd837cd624fed
iuc
parents:
0
diff
changeset
|
47 <param name="op_name" type="select" label="Type"> |
0
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
48 <option value="count">count</option> |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
49 <option value="sum">sum</option> |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
50 <option value="min">minimum</option> |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
51 <option value="max">maximum</option> |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
52 <option value="absmin">Absolute minimum</option> |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
53 <option value="absmax">Absolute maximum</option> |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
54 <option value="mean">Mean</option> |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
55 <option value="pstdev">Population Standard deviantion</option> |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
56 <option value="sstdev">Sample Standard deviantion</option> |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
57 <option value="median">Median</option> |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
58 <option value="q1">1st quartile</option> |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
59 <option value="q3">3rd quartile</option> |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
60 <option value="iqr">Inter-quartile range</option> |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
61 <option value="mad">Median Absolute Deviation</option> |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
62 <option value="pvar">Variance (population)</option> |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
63 <option value="svar">Variance (sample)</option> |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
64 <option value="sskew">Skewness (sample)</option> |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
65 <option value="pskew">Skewness (population)</option> |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
66 <option value="skurt">Kurtosis (sample)</option> |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
67 <option value="pkurt">Kurtosis (population)</option> |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
68 <option value="jarque">Jarque-Bera Normality test</option> |
2
562f3c677828
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit e0cd7ae10ce97bed51594e7cc0b969a803d698b7
iuc
parents:
1
diff
changeset
|
69 <option value="dpo">D Agostino-Pearson Omnibus Normality Test</option> |
0
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
70 <option value="mode">Mode</option> |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
71 <option value="antimode">Anti-Mode</option> |
2
562f3c677828
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit e0cd7ae10ce97bed51594e7cc0b969a803d698b7
iuc
parents:
1
diff
changeset
|
72 <option value="rand">One random value from the group</option> |
0
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
73 <option value="unique">Combine all unique values</option> |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
74 <option value="collapse">Combine all values</option> |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
75 <option value="countunique">Count Unique values</option> |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
76 </param> |
1
2f3c6f2dcf39
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 5a6df0b54ca66fb588886b4610bbd837cd624fed
iuc
parents:
0
diff
changeset
|
77 <param name="op_column" data_ref="in_file" label="On column" type="data_column" /> |
0
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
78 </repeat> |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
79 </expand> |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
80 <tests> |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
81 <test> |
1
2f3c6f2dcf39
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 5a6df0b54ca66fb588886b4610bbd837cd624fed
iuc
parents:
0
diff
changeset
|
82 <param name="in_file" value="group_compute_input.txt" ftype="tabular" /> |
0
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
83 <param name="grouping" value="2" /> |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
84 <param name="header_in" value="true" /> |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
85 <param name="header_out" value="true" /> |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
86 <param name="need_sort" value="true" /> |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
87 <param name="print_full_line" value="false" /> |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
88 <param name="ignore_case" value="false" /> |
1
2f3c6f2dcf39
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 5a6df0b54ca66fb588886b4610bbd837cd624fed
iuc
parents:
0
diff
changeset
|
89 <repeat name="operations"> |
2f3c6f2dcf39
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 5a6df0b54ca66fb588886b4610bbd837cd624fed
iuc
parents:
0
diff
changeset
|
90 <param name="op_name" value="sum" /> |
2f3c6f2dcf39
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 5a6df0b54ca66fb588886b4610bbd837cd624fed
iuc
parents:
0
diff
changeset
|
91 <param name="op_column" value="3" /> |
2f3c6f2dcf39
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 5a6df0b54ca66fb588886b4610bbd837cd624fed
iuc
parents:
0
diff
changeset
|
92 </repeat> |
2
562f3c677828
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit e0cd7ae10ce97bed51594e7cc0b969a803d698b7
iuc
parents:
1
diff
changeset
|
93 <output file="group_compute_output.txt" name="out_file" ftype="tabular" /> |
0
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
94 </test> |
3
419027d822d6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 206ac70388ea11b168366f1e30bb44157e371c6e"
iuc
parents:
2
diff
changeset
|
95 <test> |
419027d822d6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 206ac70388ea11b168366f1e30bb44157e371c6e"
iuc
parents:
2
diff
changeset
|
96 <param name="in_file" value="group_compute_input.txt" ftype="tsv" /> |
419027d822d6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 206ac70388ea11b168366f1e30bb44157e371c6e"
iuc
parents:
2
diff
changeset
|
97 <param name="grouping" value="2" /> |
419027d822d6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 206ac70388ea11b168366f1e30bb44157e371c6e"
iuc
parents:
2
diff
changeset
|
98 <param name="header_in" value="true" /> |
419027d822d6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 206ac70388ea11b168366f1e30bb44157e371c6e"
iuc
parents:
2
diff
changeset
|
99 <param name="header_out" value="true" /> |
419027d822d6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 206ac70388ea11b168366f1e30bb44157e371c6e"
iuc
parents:
2
diff
changeset
|
100 <param name="need_sort" value="true" /> |
419027d822d6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 206ac70388ea11b168366f1e30bb44157e371c6e"
iuc
parents:
2
diff
changeset
|
101 <param name="print_full_line" value="false" /> |
419027d822d6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 206ac70388ea11b168366f1e30bb44157e371c6e"
iuc
parents:
2
diff
changeset
|
102 <param name="ignore_case" value="false" /> |
419027d822d6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 206ac70388ea11b168366f1e30bb44157e371c6e"
iuc
parents:
2
diff
changeset
|
103 <repeat name="operations"> |
419027d822d6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 206ac70388ea11b168366f1e30bb44157e371c6e"
iuc
parents:
2
diff
changeset
|
104 <param name="op_name" value="sum" /> |
419027d822d6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 206ac70388ea11b168366f1e30bb44157e371c6e"
iuc
parents:
2
diff
changeset
|
105 <param name="op_column" value="3" /> |
419027d822d6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 206ac70388ea11b168366f1e30bb44157e371c6e"
iuc
parents:
2
diff
changeset
|
106 </repeat> |
419027d822d6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 206ac70388ea11b168366f1e30bb44157e371c6e"
iuc
parents:
2
diff
changeset
|
107 <output file="group_compute_output.txt" name="out_file" ftype="tsv" /> |
419027d822d6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 206ac70388ea11b168366f1e30bb44157e371c6e"
iuc
parents:
2
diff
changeset
|
108 </test> |
419027d822d6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 206ac70388ea11b168366f1e30bb44157e371c6e"
iuc
parents:
2
diff
changeset
|
109 <test> |
419027d822d6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 206ac70388ea11b168366f1e30bb44157e371c6e"
iuc
parents:
2
diff
changeset
|
110 <param name="in_file" value="group_compute_input.csv" ftype="csv" /> |
419027d822d6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 206ac70388ea11b168366f1e30bb44157e371c6e"
iuc
parents:
2
diff
changeset
|
111 <param name="grouping" value="2" /> |
419027d822d6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 206ac70388ea11b168366f1e30bb44157e371c6e"
iuc
parents:
2
diff
changeset
|
112 <param name="header_in" value="true" /> |
419027d822d6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 206ac70388ea11b168366f1e30bb44157e371c6e"
iuc
parents:
2
diff
changeset
|
113 <param name="header_out" value="true" /> |
419027d822d6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 206ac70388ea11b168366f1e30bb44157e371c6e"
iuc
parents:
2
diff
changeset
|
114 <param name="need_sort" value="true" /> |
419027d822d6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 206ac70388ea11b168366f1e30bb44157e371c6e"
iuc
parents:
2
diff
changeset
|
115 <param name="print_full_line" value="false" /> |
419027d822d6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 206ac70388ea11b168366f1e30bb44157e371c6e"
iuc
parents:
2
diff
changeset
|
116 <param name="ignore_case" value="false" /> |
419027d822d6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 206ac70388ea11b168366f1e30bb44157e371c6e"
iuc
parents:
2
diff
changeset
|
117 <repeat name="operations"> |
419027d822d6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 206ac70388ea11b168366f1e30bb44157e371c6e"
iuc
parents:
2
diff
changeset
|
118 <param name="op_name" value="sum" /> |
419027d822d6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 206ac70388ea11b168366f1e30bb44157e371c6e"
iuc
parents:
2
diff
changeset
|
119 <param name="op_column" value="3" /> |
419027d822d6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 206ac70388ea11b168366f1e30bb44157e371c6e"
iuc
parents:
2
diff
changeset
|
120 </repeat> |
419027d822d6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 206ac70388ea11b168366f1e30bb44157e371c6e"
iuc
parents:
2
diff
changeset
|
121 <output name="out_file" ftype="csv"> |
419027d822d6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 206ac70388ea11b168366f1e30bb44157e371c6e"
iuc
parents:
2
diff
changeset
|
122 <assert_contents> |
419027d822d6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 206ac70388ea11b168366f1e30bb44157e371c6e"
iuc
parents:
2
diff
changeset
|
123 <has_n_lines n="7"/> |
419027d822d6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 206ac70388ea11b168366f1e30bb44157e371c6e"
iuc
parents:
2
diff
changeset
|
124 <has_line line="Arts,1310"/> |
419027d822d6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 206ac70388ea11b168366f1e30bb44157e371c6e"
iuc
parents:
2
diff
changeset
|
125 </assert_contents> |
419027d822d6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 206ac70388ea11b168366f1e30bb44157e371c6e"
iuc
parents:
2
diff
changeset
|
126 </output> |
419027d822d6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 206ac70388ea11b168366f1e30bb44157e371c6e"
iuc
parents:
2
diff
changeset
|
127 </test> |
4
746e8e4bf929
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 384736acb5d2ae31d796c53031fad0e5da5424e3
iuc
parents:
3
diff
changeset
|
128 <test><!-- test with a file containing NA and NaN values and the -narm parameter " --> |
746e8e4bf929
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 384736acb5d2ae31d796c53031fad0e5da5424e3
iuc
parents:
3
diff
changeset
|
129 <param name="in_file" value="na_values_input.tsv" ftype="tabular" /> |
746e8e4bf929
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 384736acb5d2ae31d796c53031fad0e5da5424e3
iuc
parents:
3
diff
changeset
|
130 <param name="grouping" value="2" /> |
746e8e4bf929
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 384736acb5d2ae31d796c53031fad0e5da5424e3
iuc
parents:
3
diff
changeset
|
131 <param name="header_in" value="true" /> |
746e8e4bf929
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 384736acb5d2ae31d796c53031fad0e5da5424e3
iuc
parents:
3
diff
changeset
|
132 <param name="print_full_line" value="false" /> |
746e8e4bf929
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 384736acb5d2ae31d796c53031fad0e5da5424e3
iuc
parents:
3
diff
changeset
|
133 <param name="need_sort" value="true" /> |
746e8e4bf929
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 384736acb5d2ae31d796c53031fad0e5da5424e3
iuc
parents:
3
diff
changeset
|
134 <param name="narm" value="true" /> |
746e8e4bf929
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 384736acb5d2ae31d796c53031fad0e5da5424e3
iuc
parents:
3
diff
changeset
|
135 <repeat name="operations"> |
746e8e4bf929
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 384736acb5d2ae31d796c53031fad0e5da5424e3
iuc
parents:
3
diff
changeset
|
136 <param name="op_name" value="mean" /> |
746e8e4bf929
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 384736acb5d2ae31d796c53031fad0e5da5424e3
iuc
parents:
3
diff
changeset
|
137 <param name="op_column" value="3" /> |
746e8e4bf929
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 384736acb5d2ae31d796c53031fad0e5da5424e3
iuc
parents:
3
diff
changeset
|
138 </repeat> |
746e8e4bf929
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 384736acb5d2ae31d796c53031fad0e5da5424e3
iuc
parents:
3
diff
changeset
|
139 <output name="out_file" ftype="tabular"> |
746e8e4bf929
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 384736acb5d2ae31d796c53031fad0e5da5424e3
iuc
parents:
3
diff
changeset
|
140 <assert_contents> |
746e8e4bf929
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 384736acb5d2ae31d796c53031fad0e5da5424e3
iuc
parents:
3
diff
changeset
|
141 <has_n_lines n="2"/> |
746e8e4bf929
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 384736acb5d2ae31d796c53031fad0e5da5424e3
iuc
parents:
3
diff
changeset
|
142 <has_line_matching expression="DE\t173.5"/> |
746e8e4bf929
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 384736acb5d2ae31d796c53031fad0e5da5424e3
iuc
parents:
3
diff
changeset
|
143 <has_line_matching expression="NL\t177.5"/> |
746e8e4bf929
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 384736acb5d2ae31d796c53031fad0e5da5424e3
iuc
parents:
3
diff
changeset
|
144 </assert_contents> |
746e8e4bf929
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 384736acb5d2ae31d796c53031fad0e5da5424e3
iuc
parents:
3
diff
changeset
|
145 </output> |
746e8e4bf929
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 384736acb5d2ae31d796c53031fad0e5da5424e3
iuc
parents:
3
diff
changeset
|
146 </test> |
0
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
147 </tests> |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
148 <help> |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
149 <![CDATA[ |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
150 @HELP_HEADER@ |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
151 |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
152 **Syntax** |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
153 |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
154 This tools performs common operations (such as summing, counting, mean, standard-deviation) on input file, based on tabular data. The tool can also optionaly group the input based on a given field. |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
155 |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
156 ----- |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
157 |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
158 **Example 1** |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
159 |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
160 - Find the average score in statistics course of college students, grouped by their college major. The input file has three fields (Name,Major,Score) and a header line:: |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
161 |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
162 Name Major Score |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
163 Bryan Arts 68 |
3
419027d822d6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 206ac70388ea11b168366f1e30bb44157e371c6e"
iuc
parents:
2
diff
changeset
|
164 Gabriel Health-Medicine 100 |
0
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
165 Isaiah Arts 80 |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
166 Tysza Business 92 |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
167 Zackery Engineering 54 |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
168 ... |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
169 ... |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
170 |
3
419027d822d6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 206ac70388ea11b168366f1e30bb44157e371c6e"
iuc
parents:
2
diff
changeset
|
171 - Grouping the input by the second column (*Major*), sorting the input, and performing operations **mean** and **sample standard deviation** on the third column (*Score*), gives:: |
0
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
172 |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
173 GroupBy(Major) mean(Score) sstdev(Score) |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
174 Arts 68.9474 10.4215 |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
175 Business 87.3636 5.18214 |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
176 Engineering 66.5385 19.8814 |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
177 Health-Medicine 90.6154 9.22441 |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
178 Life-Sciences 55.3333 20.606 |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
179 Social-Sciences 60.2667 17.2273 |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
180 |
3
419027d822d6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 206ac70388ea11b168366f1e30bb44157e371c6e"
iuc
parents:
2
diff
changeset
|
181 Note that input needs sorting here, since the column used for grouping (*Major*) is not sorted. |
419027d822d6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 206ac70388ea11b168366f1e30bb44157e371c6e"
iuc
parents:
2
diff
changeset
|
182 |
0
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
183 This sample file is available at http://www.gnu.org/software/datamash . |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
184 |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
185 **Example 2** |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
186 |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
187 - Using the UCSC RefSeq Human Gene Track, available at: http://hgdownload.soe.ucsc.edu/goldenPath/hg38/database/refGene.txt.gz |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
188 |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
189 - List the number and identifiers of isoforms per gene. The gene identifier is in column 13, the isoform/transcript identifier is in column 2. Grouping by column 13 and performing **count** and **Combine all values** on column 2, gives:: |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
190 |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
191 GroupBy(field-13) count(field-2) collapse(field-2) |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
192 A1BG 1 NM_130786 |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
193 A1BG-AS1 1 NR_015380 |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
194 A1CF 6 NM_001198818,NM_001198819,NM_001198820,NM_014576,NM_138932,NM_138933 |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
195 A2M 1 NM_000014 |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
196 A2M-AS1 1 NR_026971 |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
197 A2ML1 2 NM_001282424,NM_144670 |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
198 ... |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
199 |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
200 - Count how many transcripts are listed for each chromosome and strand. Chromosome is on column 3, Strand is in column 4. Transcript identifiers are in column 2. Grouping by columns **3,4** and performing operation **count** on column 2, gives:: |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
201 |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
202 GroupBy(field-3) GroupBy(field-4) count(field-2) |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
203 chr1 + 2456 |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
204 chr1 - 2431 |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
205 chr2 + 1599 |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
206 chr2 - 1419 |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
207 chr3 + 1287 |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
208 chr3 - 1249 |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
209 ... |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
210 |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
211 @HELP_FOOTER@ |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
212 ]]> |
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
213 </help> |
5
4c07ddedc198
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 9edd054251bc74685d627360bb0fbe8ea60fa6a2
iuc
parents:
4
diff
changeset
|
214 <expand macro="citation"/> |
0
c4611129661b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/datamash commit 8a7a779896ce1b9b296557a2c31bd93f5fbb5462
iuc
parents:
diff
changeset
|
215 </tool> |