Debian Codegraph @

examples/count_in_file/README

raw
1 What is it?
2 ===========
3
4 Given a number of jellyfish databases, it outputs for all the k-mers
5 (in the union of the database) the number of occurrences in each of
6 the database.
7
8 LIMITATION: all the database must have been created with the same size
9 parameter to Jellyfish. It is adivsed to use the --disk switch of
10 'jellyfish count' to ensure that all the database are created with the
11 same size. For example: jellyfish count -s 100M --disk ...
12
13 The output is a column format where the first column is
14 the k-mer and the remaining columns are the counts in each of the
15 databases, in the same order as given on the command line.
16
17 For example:
18
19 $ ./count_in_file db1.jf db2.jf
20 GCCACGACTCGTGCA 1 0
21 CAAGCTGTGTGGCCG 0 2
22 CATAGAAATCGATAA 3 5
23 TACTATATAAGCAAA 2 0
24 ...
25
26 Some details
27 ============
28
29 The Jellyfish database are sorted list of k-mers. The sorting order is
30 based on the hash function (a random binary matrix). The program works
31 similarly to how merging sorted lists is done, but instead of summing
32 the count of each k-mers, it displays the count in each of the sorted
33 list.
34
35 Because all the files must be sorted according to the same criteria,
36 the size of the hash (and therefore the hash function) must be the
37 same for all the input files. See the LIMITATION paragraph above to
38 run Jellyfish properly. Note that the size passed to 'jellyfish count'
39 is NOT a limit on the number k-mers in the file (only a limit on the
40 number of mers in memory).