Mercurial > repos > rreumerman > snptools
comparison tablemerger.xml @ 4:bd5692103d5b draft
Uploaded
author | rreumerman |
---|---|
date | Fri, 05 Apr 2013 05:00:40 -0400 |
parents | |
children | b6786c2247b1 |
comparison
equal
deleted
inserted
replaced
3:a808647d7312 | 4:bd5692103d5b |
---|---|
1 <tool id="tablemerger" name="SNP table merger"> | |
2 | |
3 <description>merges any number of SNP tables into one</description> | |
4 | |
5 <command interpreter="python">tablemerger.py $output | |
6 #for $f in $inputs: | |
7 $f.in | |
8 #end for | |
9 </command> | |
10 | |
11 <inputs> | |
12 | |
13 <repeat name="inputs" title="Input files"> | |
14 | |
15 <param name="in" type="data" format="tabular" label="Input SNP table" /> | |
16 | |
17 </repeat> | |
18 | |
19 </inputs> | |
20 | |
21 <outputs> | |
22 | |
23 <data name="output" format="tabular" label="${tool.name} on various SNP tables" /> | |
24 | |
25 </outputs> | |
26 | |
27 <help> | |
28 | |
29 | |
30 | |
31 **What it does** | |
32 | |
33 | |
34 | |
35 This tool takes any number of tab-delimited SNP tables and merges them together.It puts SNPs at the same position on the same line and ignores bases that are the same in two strains. | |
36 | |
37 | |
38 **Example input 1**: | |
39 | |
40 | |
41 | |
42 ======== === ======= | |
43 Position Ref Strain1 | |
44 | |
45 123 A G | |
46 | |
47 125 C T | |
48 | |
49 ======== === ======= | |
50 | |
51 | |
52 | |
53 **Example input 2**: | |
54 | |
55 | |
56 | |
57 ======== === ======= | |
58 Position Ref Strain2 | |
59 | |
60 123 A T | |
61 | |
62 124 G C | |
63 | |
64 125 C T | |
65 | |
66 ======== === ======== | |
67 | |
68 | |
69 | |
70 | |
71 **Example output**: | |
72 | |
73 | |
74 | |
75 ======== === ======= ======= | |
76 | |
77 Position Ref Strain1 Strain2 | |
78 | |
79 123 A G T | |
80 | |
81 124 G C | |
82 | |
83 125 C T T | |
84 | |
85 ======== === ======= ======= | |
86 | |
87 </help> | |
88 | |
89 </tool> |