Mercurial > repos > mheinzl > hd
comparison test-data/hd_output.tab @ 25:9e384b0741f1 draft
planemo upload for repository https://github.com/monikaheinzl/duplexanalysis_galaxy/tree/master/tools/hd commit b8a2f7b7615b2bcd3b602027af31f4e677da94f6-dirty
author | mheinzl |
---|---|
date | Tue, 14 May 2019 03:29:37 -0400 |
parents | |
children | 6b15b3b6405c |
comparison
equal
deleted
inserted
replaced
24:3bc67ac46740 | 25:9e384b0741f1 |
---|---|
1 hd_data.tab | |
2 number of tags per file 20 (from 20) against 20 | |
3 | |
4 Hamming distance separated by family size | |
5 FS=1 FS=2 FS=3 FS=4 FS=5-10 FS>10 sum | |
6 HD=1 5 1 1 1 1 0 9 | |
7 HD=6 3 0 0 0 0 0 3 | |
8 HD=7 4 0 0 0 1 0 5 | |
9 HD=8 2 0 0 1 0 0 3 | |
10 sum 14 1 1 2 2 0 20 | |
11 | |
12 Family size distribution separated by Hamming distance | |
13 HD=1 HD=2 HD=3 HD=4 HD=5-8 HD>8 sum | |
14 FS=1 5 0 0 0 9 0 14 | |
15 FS=2 1 0 0 0 0 0 1 | |
16 FS=3 1 0 0 0 0 0 1 | |
17 FS=4 1 0 0 0 1 0 2 | |
18 FS=6 1 0 0 0 0 0 1 | |
19 FS=7 0 0 0 0 1 0 1 | |
20 sum 9 0 0 0 11 0 20 | |
21 | |
22 | |
23 max. family size in sample: 7 | |
24 absolute frequency: 1 | |
25 relative frequency: 0.05 | |
26 | |
27 The Hamming distances were calculated by comparing the first halve against all halves and selected the minimum value (HD a). | |
28 For the second half of the tag, we compared them against all tags which resulted in the minimum HD of the previous step and selected the maximum value (HD b'). | |
29 Finally, it was possible to calculate the absolute and relative differences between the HDs (absolute and relative delta HD). | |
30 These calculations were repeated, but starting with the second half in the first step to find all possible chimeras in the data (HD b and HD For simplicity we used the maximum value between the delta values in the end. | |
31 When only tags that can form DCS were allowed in the analysis, family sizes for the forward and reverse (ab and ba) will be included in the plots. | |
32 length of one part of the tag = 12 | |
33 | |
34 Hamming distance of each half in the tag | |
35 HD a HD b' HD b HD a' HD a+b sum | |
36 HD=0 20 0 8 1 0 29 | |
37 HD=1 0 0 1 19 8 28 | |
38 HD=2 0 0 0 0 1 1 | |
39 HD=5 0 0 3 0 0 3 | |
40 HD=6 0 0 2 0 3 5 | |
41 HD=7 0 1 6 0 4 11 | |
42 HD=8 0 2 0 0 7 9 | |
43 HD=9 0 1 0 0 1 2 | |
44 HD=10 0 2 0 0 2 4 | |
45 HD=11 0 7 0 0 7 14 | |
46 HD=12 0 7 0 0 7 14 | |
47 sum 20 20 20 20 40 120 | |
48 | |
49 Absolute delta Hamming distances within the tag | |
50 FS=1 FS=2 FS=3 FS=4 FS=5-10 FS>10 sum | |
51 diff=7 1 0 0 0 0 0 1 | |
52 diff=8 1 0 0 0 1 0 2 | |
53 diff=9 1 0 0 0 0 0 1 | |
54 diff=10 2 0 0 0 0 0 2 | |
55 diff=11 4 0 1 1 1 0 7 | |
56 diff=12 5 1 0 1 0 0 7 | |
57 sum 14 1 1 2 2 0 20 | |
58 | |
59 Chimera analysis: relative delta Hamming distances | |
60 FS=1 FS=2 FS=3 FS=4 FS=5-10 FS>10 sum | |
61 diff=1.0 14 1 1 2 2 0 20 | |
62 sum 14 1 1 2 2 0 20 | |
63 | |
64 Chimeras: | |
65 All tags were filtered: only those tags where at least one half was identical (HD=0) and therefore, had a relative delta of 1 were kept. These tags are considered as chimeric. | |
66 So the Hamming distances of the chimeric tags are shown. | |
67 Hamming distances of chimeras | |
68 FS=1 FS=2 FS=3 FS=4 FS=5-10 FS>10 sum | |
69 HD=7 1 0 0 0 0 0 1 | |
70 HD=8 1 0 0 0 1 0 2 | |
71 HD=9 1 0 0 0 0 0 1 | |
72 HD=10 2 0 0 0 0 0 2 | |
73 HD=11 4 0 1 1 1 0 7 | |
74 HD=12 5 1 0 1 0 0 7 | |
75 sum 14 1 1 2 2 0 20 | |
76 | |
77 |