-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathMinHash.capnp
59 lines (51 loc) · 1.18 KB
/
MinHash.capnp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# Copyright © 2015, Battelle National Biodefense Institute (BNBI);
# all rights reserved. Authored by: Brian Ondov, Todd Treangen,
# Sergey Koren, and Adam Phillippy
#
# See the LICENSE.txt file included with this software for license information.
#using Cxx = import "/capnp/c++.capnp";
#$Cxx.namespace("capnp");
@0xc4c8b1ada05e7704;
struct MinHash
{
struct ReferenceList
{
struct Reference
{
sequence @0 : Text;
quality @1 : Text;
length @2 : UInt32;
length64 @ 7 : UInt64;
name @3 : Text;
comment @4 : Text;
hashes32 @5 : List(UInt32);
hashes64 @6 : List(UInt64);
counts32 @8 : List(UInt32);
counts32Sorted @9 : Bool;
}
references @0 : List(Reference);
}
struct LocusList
{
struct Locus
{
sequence @0 : UInt32;
position @1 : UInt32;
hash32 @2 : UInt32;
hash64 @3 : UInt64;
}
loci @0 : List(Locus);
}
kmerSize @0 : UInt32;
windowSize @1 : UInt32;
minHashesPerWindow @2 : UInt32;
concatenated @3 : Bool;
error @6 : Float32;
noncanonical @7 : Bool;
alphabet @8 : Text;
preserveCase @9 : Bool;
hashSeed @10 : UInt32 = 42;
referenceListOld @4 : ReferenceList;
referenceList @11 : ReferenceList;
locusList @5 : LocusList;
}