annotate compute.xml @ 1:16903bd2bb5b draft default tip

Update to version 1.0.4
author Assaf Gordon <assafgordon@gmail.com>
date Fri, 11 Apr 2014 20:35:15 -0400
parents e91a07e82d96
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
16903bd2bb5b Update to version 1.0.4
Assaf Gordon <assafgordon@gmail.com>
parents: 0
diff changeset
1 <tool id="GroupCompute" name="Group and Compute" version="1.0.4">
0
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
2 <description>operations on tabular data.</description>
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
3
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
4 <requirements>
1
16903bd2bb5b Update to version 1.0.4
Assaf Gordon <assafgordon@gmail.com>
parents: 0
diff changeset
5 <requirement type="package" version="1.0.4">compute</requirement>
0
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
6 </requirements>
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
7
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
8 <command>
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
9 compute
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
10 $header_in
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
11 $header_out
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
12 $need_sort
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
13 $print_full_line
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
14 $ignore_case
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
15 #if str($grouping)>0
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
16 --group '$grouping'
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
17 #end if
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
18 #for $oper in $operations
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
19 ${oper.op_name}
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
20 ${oper.op_column}
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
21 #end for
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
22 &lt; $in_file &gt; $out_file
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
23 </command>
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
24 <inputs>
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
25 <param format="tabular" name="in_file" type="data" label="Select Input Data" help=""/>
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
26
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
27 <param name="grouping" label="Group by fields" type="text" help="Example: 1,4 - To group by the first and fourth fields. Leave empty to perform operation on entire file as one group."/>
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
28
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
29 <param name="header_in" type="boolean" truevalue="--header-in" falsevalue=""
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
30 label="Input file has a header line" help="Mark this if the input file's first line is a header line" />
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
31
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
32 <param name="header_out" type="boolean" truevalue="--header-out" falsevalue=""
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
33 label="Print header line" help="Mark this if you want the first line to show the field names" />
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
34
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
35 <param name="need_sort" type="boolean" truevalue="--sort" falsevalue=""
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
36 label="Sort input" help="Mark if the input file is not sorted. If the input file is already sorted, unmark this option to reduce computing time." />
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
37
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
38 <param name="print_full_line" type="boolean" truevalue="--full" falsevalue=""
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
39 label="Print all fields from input file" help="If set, all input fields will be printed. If unset, only fields used for grouping will be printed." />
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
40
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
41 <param name="ignore_case" type="boolean" truevalue="--ignore-case" falsevalue=""
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
42 label="Ignore case when grouping" help="If set, upper/lowercase differences will be ignored when grouping fields." />
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
43
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
44 <repeat name="operations" title="Operation to perform on each group">
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
45 <param name="op_name" type="select" label="Type">
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
46 <option value="count">count</option>
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
47 <option value="sum">sum</option>
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
48 <option value="min">minimum</option>
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
49 <option value="max">maximum</option>
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
50 <option value="absmin">Absolute minimum</option>
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
51 <option value="absmax">Absolute maximum</option>
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
52 <option value="mean">Mean</option>
1
16903bd2bb5b Update to version 1.0.4
Assaf Gordon <assafgordon@gmail.com>
parents: 0
diff changeset
53 <option value="pstdev">Population Standard deviantion</option>
16903bd2bb5b Update to version 1.0.4
Assaf Gordon <assafgordon@gmail.com>
parents: 0
diff changeset
54 <option value="sstdev">Sample Standard deviantion</option>
0
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
55 <option value="median">Median</option>
1
16903bd2bb5b Update to version 1.0.4
Assaf Gordon <assafgordon@gmail.com>
parents: 0
diff changeset
56 <option value="q1">1st quartile</option>
16903bd2bb5b Update to version 1.0.4
Assaf Gordon <assafgordon@gmail.com>
parents: 0
diff changeset
57 <option value="q3">3rd quartile</option>
16903bd2bb5b Update to version 1.0.4
Assaf Gordon <assafgordon@gmail.com>
parents: 0
diff changeset
58 <option value="iqr">Inter-quartile range</option>
16903bd2bb5b Update to version 1.0.4
Assaf Gordon <assafgordon@gmail.com>
parents: 0
diff changeset
59 <option value="mad">Median Absolute Deviation</option>
16903bd2bb5b Update to version 1.0.4
Assaf Gordon <assafgordon@gmail.com>
parents: 0
diff changeset
60 <option value="pvar">Variance (population)</option>
16903bd2bb5b Update to version 1.0.4
Assaf Gordon <assafgordon@gmail.com>
parents: 0
diff changeset
61 <option value="svar">Variance (sample)</option>
16903bd2bb5b Update to version 1.0.4
Assaf Gordon <assafgordon@gmail.com>
parents: 0
diff changeset
62 <option value="sskew">Skewness (sample)</option>
16903bd2bb5b Update to version 1.0.4
Assaf Gordon <assafgordon@gmail.com>
parents: 0
diff changeset
63 <option value="pskew">Skewness (population)</option>
16903bd2bb5b Update to version 1.0.4
Assaf Gordon <assafgordon@gmail.com>
parents: 0
diff changeset
64 <option value="skurt">Kurtosis (sample)</option>
16903bd2bb5b Update to version 1.0.4
Assaf Gordon <assafgordon@gmail.com>
parents: 0
diff changeset
65 <option value="pkurt">Kurtosis (population)</option>
16903bd2bb5b Update to version 1.0.4
Assaf Gordon <assafgordon@gmail.com>
parents: 0
diff changeset
66 <option value="jarque">Jarque-Bera Normality test</option>
16903bd2bb5b Update to version 1.0.4
Assaf Gordon <assafgordon@gmail.com>
parents: 0
diff changeset
67 <option value="dpo">DAgostino-Pearson Omnibus Normality Test</option>
0
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
68 <option value="mode">Mode</option>
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
69 <option value="antimode">Anti-Mode</option>
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
70 <option value="unique">Combine all unique values</option>
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
71 <option value="collapse">Combine all values</option>
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
72 <option value="countunique">Count Unique values</option>
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
73 </param>
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
74 <param name="op_column" label="On column" type="data_column" data_ref="in_file" />
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
75 </repeat>
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
76 </inputs>
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
77
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
78 <outputs>
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
79 <data format="tabular" name="out_file" />
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
80 </outputs>
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
81
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
82 <tests>
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
83 <test>
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
84 <param name="in_file" value="group_compute_input.txt" />
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
85 <param name="grouping" value="2" />
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
86 <param name="header_in" value="true" />
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
87 <param name="header_out" value="true" />
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
88 <param name="need_sort" value="true" />
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
89 <param name="print_full_line" value="false" />
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
90 <param name="op_column" value="3" />
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
91 <param name="op_name" value="sum" />
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
92 <param name="ignore_case" value="false" />
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
93 <output name="out_file" file="group_compute_output.txt" />
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
94 </test>
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
95 </tests>
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
96 <help>
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
97
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
98 .. class:: infomark
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
99
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
100 **TIP:** Input data must be TAB delimited. If the desired dataset does not appear in the input list, use *Text Manipulation-&gt;Convert* to convert it to **Tabular** type.
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
101
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
102 -----
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
103
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
104 **Syntax**
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
105
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
106 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.
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
107
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
108 -----
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
109
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
110 **Example 1**
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
111
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
112 - 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::
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
113
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
114 Name Major Score
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
115 Bryan Arts 68
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
116 Isaiah Arts 80
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
117 Gabriel Health-Medicine 100
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
118 Tysza Business 92
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
119 Zackery Engineering 54
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
120 ...
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
121 ...
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
122
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
123 - Grouping the input by the second column (*Major*), and performing operations **mean** and **sample standard deviation** on the third column (*Score*), gives::
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
124
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
125 GroupBy(Major) mean(Score) sstdev(Score)
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
126 Arts 68.9474 10.4215
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
127 Business 87.3636 5.18214
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
128 Engineering 66.5385 19.8814
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
129 Health-Medicine 90.6154 9.22441
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
130 Life-Sciences 55.3333 20.606
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
131 Social-Sciences 60.2667 17.2273
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
132
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
133 This sample file is available at http://agordon.github.io/compute/examples.html .
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
134
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
135 **Example 2**
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
136
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
137 - Using the UCSC RefSeq Human Gene Track, available at: http://hgdownload.soe.ucsc.edu/goldenPath/hg38/database/refGene.txt.gz
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
138
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
139 - 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::
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
140
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
141 GroupBy(field-13) count(field-2) collapse(field-2)
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
142 A1BG 1 NM_130786
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
143 A1BG-AS1 1 NR_015380
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
144 A1CF 6 NM_001198818,NM_001198819,NM_001198820,NM_014576,NM_138932,NM_138933
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
145 A2M 1 NM_000014
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
146 A2M-AS1 1 NR_026971
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
147 A2ML1 2 NM_001282424,NM_144670
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
148 ...
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
149
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
150 - 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::
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
151
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
152 GroupBy(field-3) GroupBy(field-4) count(field-2)
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
153 chr1 + 2456
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
154 chr1 - 2431
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
155 chr2 + 1599
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
156 chr2 - 1419
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
157 chr3 + 1287
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
158 chr3 - 1249
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
159 ...
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
160
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
161 -----
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
162
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
163 **Compute** is an open-sourced program, see more details on the Compute_ Website.
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
164
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
165 **Compute** is also available as a command-line program, see http://agordon.github.io/compute/examples.html .
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
166
1
16903bd2bb5b Update to version 1.0.4
Assaf Gordon <assafgordon@gmail.com>
parents: 0
diff changeset
167 For more details about supported statistical operations, see http://agordon.github.io/compute/example_stats.html .
16903bd2bb5b Update to version 1.0.4
Assaf Gordon <assafgordon@gmail.com>
parents: 0
diff changeset
168
0
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
169 .. _Compute: http://agordon.github.io/compute/
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
170
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
171 </help>
e91a07e82d96 First Galaxy Version
Assaf Gordon <assafgordon@gmail.com>
parents:
diff changeset
172 </tool>