Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DerrickWood/kraken
/ functions
Functions
74 in github.com/DerrickWood/kraken
⨍
Functions
74
◇
Types & classes
9
↓ 15 callers
Method
size
src/quickfile.cpp:111
↓ 10 callers
Method
ptr
src/quickfile.cpp:107
↓ 9 callers
Function
usage
src/classify.cpp:590
↓ 5 callers
Method
get_k
Simple accessors/convenience methods
src/krakendb.cpp:121
↓ 5 callers
Method
is_valid
src/seqreader.cpp:83
↓ 4 callers
Method
at
Convenience method, allows for testing guard
src/krakendb.cpp:312
↓ 4 callers
Method
close_file
src/quickfile.cpp:123
↓ 4 callers
Method
next_sequence
src/seqreader.cpp:34
↓ 4 callers
Function
usage
src/set_lcas.cpp:259
↓ 3 callers
Method
ambig_kmer
src/krakenutil.cpp:178
↓ 3 callers
Method
next_kmer
src/krakenutil.cpp:147
↓ 3 callers
Function
usage
src/db_shrink.cpp:158
↓ 3 callers
Function
usage
src/db_sort.cpp:176
↓ 3 callers
Function
usage
src/kmer_estimator.cpp:132
↓ 2 callers
Function
build_parent_map
Build a node->parent map from NCBI Taxonomy nodes.dmp file
src/krakenutil.cpp:27
↓ 2 callers
Method
canonical_representation
Lexicographically smallest of k-mer and reverse comp. of k-mer
src/krakendb.cpp:188
↓ 2 callers
Method
get_key_ct
src/krakendb.cpp:125
↓ 2 callers
Method
get_key_len
src/krakendb.cpp:123
↓ 2 callers
Method
get_val_len
src/krakendb.cpp:124
↓ 2 callers
Method
header_size
src/krakendb.cpp:127
↓ 2 callers
Method
indexed_nt
How long are bin keys (i.e., what is minimizer length in bp?)
src/krakendb.cpp:302
↓ 2 callers
Method
kmer_query
perform search over last range to speed up queries NOTE: retry_on_failure implies all pointer params are non-NULL
src/krakendb.cpp:200
↓ 2 callers
Function
lca
Return lowest common ancestor of a and b LCA(0,x) = LCA(x,0) = x Default ancestor is 1 (root of tree)
src/krakenutil.cpp:50
↓ 2 callers
Method
load_file
src/quickfile.cpp:74
↓ 2 callers
Method
open_file
src/quickfile.cpp:38
↓ 2 callers
Method
set_index
Associates the index with this database
src/krakendb.cpp:116
↓ 2 callers
Function
set_lcas
src/set_lcas.cpp:176
↓ 1 callers
Function
bin_and_sort_data
src/db_sort.cpp:77
↓ 1 callers
Method
bin_key
Bin key: each k-mer is made of several overlapping m-mers, m < k The bin key is the m-mer whose canonical representation is "smallest" ("smallest" can
src/krakendb.cpp:132
↓ 1 callers
Function
classify_sequence
src/classify.cpp:264
↓ 1 callers
Function
fill_request_map
src/make_seqid_to_taxid_map.cpp:92
↓ 1 callers
Method
get_array
Return start of index array (skips header)
src/krakendb.cpp:307
↓ 1 callers
Function
hash_code
MurmurHash3 finalizer
src/kmer_estimator.cpp:38
↓ 1 callers
Function
hitlist_string
src/classify.cpp:432
↓ 1 callers
Method
index_type
Index version (v2 uses different minimizer sort order)
src/krakendb.cpp:297
↓ 1 callers
Method
make_index
Creates an index, indicating starting positions of each bin Bins contain k-mer/taxon pairs with k-mers that share a bin key
src/krakendb.cpp:73
↓ 1 callers
Function
obtain_estimated_kmer_ct
src/kmer_estimator.cpp:61
↓ 1 callers
Function
parse_command_line
src/classify.cpp:479
↓ 1 callers
Function
parse_command_line
src/db_shrink.cpp:122
↓ 1 callers
Function
parse_command_line
src/db_sort.cpp:125
↓ 1 callers
Function
parse_command_line
src/kmer_estimator.cpp:92
↓ 1 callers
Function
parse_command_line
src/set_lcas.cpp:197
↓ 1 callers
Function
process_file
src/classify.cpp:188
↓ 1 callers
Function
process_file
src/set_lcas.cpp:163
↓ 1 callers
Function
process_files
src/set_lcas.cpp:134
↓ 1 callers
Function
process_single_file
src/set_lcas.cpp:91
↓ 1 callers
Function
report_stats
src/classify.cpp:163
↓ 1 callers
Function
report_taxo_numbers
src/make_seqid_to_taxid_map.cpp:56
↓ 1 callers
Function
resolve_tree
Tree resolution: take all hit taxa (plus ancestors), then return leaf of highest weighted leaf-to-root path.
src/krakenutil.cpp:71
Method
FastaReader
src/seqreader.cpp:26
Method
FastqReader
src/seqreader.cpp:87
Method
KmerScanner
Create a scanner for the string over the interval [start, finish)
src/krakenutil.cpp:118
Method
KrakenDB
Basic constructor
src/krakendb.cpp:46
Method
KrakenDBIndex
src/krakendb.cpp:278
Method
QuickFile
src/quickfile.cpp:27
Function
get_ancestry
src/classify.cpp:469
Method
get_index
Simple accessor
src/krakendb.cpp:111
Method
get_k
src/krakenutil.cpp:135
Method
get_key_bits
src/krakendb.cpp:122
Method
get_pair_ptr
Returns start of k-mer/taxon pair array (skips header)
src/krakendb.cpp:106
Method
get_ptr
Simple accessor
src/krakendb.cpp:101
Function
main
src/classify.cpp:68
Function
main
src/db_shrink.cpp:35
Function
main
src/db_sort.cpp:40
Function
main
src/kmer_estimator.cpp:47
Function
main
src/set_lcas.cpp:49
Function
main
src/make_seqid_to_taxid_map.cpp:42
Function
pair_cmp
src/db_sort.cpp:113
Method
pair_size
src/krakendb.cpp:126
Method
reverse_complement
Code mostly from Jellyfish 1.6 source
src/krakendb.cpp:168
Method
set_k
src/krakenutil.cpp:137
Method
sync_file
src/quickfile.cpp:119
Method
~DNASequenceReader
src/seqreader.hpp:37
Method
~QuickFile
src/quickfile.cpp:115