Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DerrickWood/kraken2
/ functions
Functions
299 in github.com/DerrickWood/kraken2
⨍
Functions
299
◇
Types & classes
37
↓ 107 callers
Method
size
src/hyperloglogplus.cc:790
↓ 42 callers
Function
asn1_indefinite_tag_end
src/blast_defline.c:82
↓ 30 callers
Function
get_explicit_tag
src/blast_defline.c:139
↓ 18 callers
Method
nodes
src/taxonomy.h:70
↓ 17 callers
Method
insert
src/hyperloglogplus.cc:472
↓ 13 callers
Function
asn1_get_byte
src/blast_defline.c:49
↓ 12 callers
Function
alloc_memory
src/blast_utils.c:38
↓ 12 callers
Function
asn1_peek_byte
src/blast_defline.c:62
↓ 12 callers
Function
get_text_seq_id
src/blast_defline.c:244
↓ 11 callers
Function
asn1_sequence_start
src/blast_defline.c:71
↓ 11 callers
Function
string_append_char
src/blast_to_fasta.c:96
↓ 10 callers
Function
asn1_get_optional_visible_string_field
src/blast_defline.c:146
↓ 9 callers
Method
value
src/compact_hash.h:22
↓ 8 callers
Method
GetInternalID
src/taxonomy.h:81
↓ 8 callers
Function
MurmurHash3
src/kv_store.h:23
↓ 8 callers
Function
asn1_get_optional_integer_field
src/blast_defline.c:156
↓ 7 callers
Method
NextSequence
src/seqreader.h:113
↓ 7 callers
Method
readCount
src/readcounts.h:23
↓ 7 callers
Function
read_into_buffer
src/blast_utils.c:69
↓ 7 callers
Function
string_append_str
src/blast_to_fasta.c:117
↓ 6 callers
Method
LoadSequence
src/mmscanner.cc:98
↓ 6 callers
Method
LowestCommonAncestor
Logic here depends on higher nodes having smaller IDs Idea: track two nodes, advance lower tracker up tree, trackers meet @ LCA
src/taxonomy.cc:262
↓ 6 callers
Function
asn1_get_integer
src/blast_defline.c:123
↓ 6 callers
Function
asn1_get_mandatory_visible_string_field
src/blast_defline.c:172
↓ 6 callers
Method
fptr
src/mmap_file.cc:109
↓ 6 callers
Function
free_string
src/blast_to_fasta.c:168
↓ 6 callers
Function
omp_get_max_threads
src/omp_hack.cc:20
↓ 6 callers
Function
omp_set_num_threads
src/omp_hack.cc:21
↓ 6 callers
Function
read_int
src/blast_to_fasta.c:192
↓ 6 callers
Function
string_data
src/blast_to_fasta.c:87
↓ 6 callers
Function
usage
src/build_db.cc:587
↓ 5 callers
Method
NextMinimizer
src/mmscanner.cc:114
↓ 5 callers
Function
OpenOutputStream
src/classify.cc:939
↓ 5 callers
Function
getIndex
src/hyperloglogplus.cc:102
↓ 5 callers
Method
push
src/threadpool.h:24
↓ 4 callers
Function
RemoveBlocking
src/classify.cc:138
↓ 4 callers
Function
asn1_get_mandatory_integer_field
src/blast_defline.c:166
↓ 4 callers
Method
close
src/gzstream.h:98
↓ 4 callers
Method
filesize
src/mmap_file.cc:113
↓ 4 callers
Function
getEncodedRank
src/hyperloglogplus.cc:138
↓ 4 callers
Function
getRank
src/hyperloglogplus.cc:117
↓ 4 callers
Function
get_internal_taxid
src/libtax.cc:38
↓ 4 callers
Function
init_string
src/blast_to_fasta.c:76
↓ 4 callers
Method
is_ambiguous
src/mmscanner.h:47
↓ 4 callers
Function
linearCounting
* Gives the estimated cardinality for m bins, v of which are non-zero * using linear counting of Whang et al., 1990: n_hat = -m ln(v) * @param m num
src/hyperloglogplus.cc:260
↓ 4 callers
Function
load_more_data
src/blast_defline.c:32
↓ 4 callers
Method
name_data
src/taxonomy.h:71
↓ 4 callers
Function
next_power_of_2
src/blast_utils.c:34
↓ 4 callers
Function
omp_set_lock
src/omp_hack.cc:24
↓ 4 callers
Function
omp_unset_lock
src/omp_hack.cc:25
↓ 4 callers
Function
open_file
src/blast_utils.c:56
↓ 4 callers
Method
size
src/threadpool.h:104
↓ 4 callers
Function
string_reserve
src/blast_to_fasta.c:153
↓ 4 callers
Function
to_c_string
src/blast_to_fasta.c:89
↓ 3 callers
Method
IsAAncestorOfB
Logic here depends on higher nodes having smaller IDs Idea: advance B tracker up tree, A is ancestor iff B tracker hits A
src/taxonomy.cc:251
↓ 3 callers
Method
LoadBatch
src/seqreader.h:138
↓ 3 callers
Method
LoadBlock
src/seqreader.h:93
↓ 3 callers
Method
OpenFile
src/mmap_file.cc:20
↓ 3 callers
Function
ProcessFiles
src/classify.cc:463
↓ 3 callers
Function
SplitString
src/utilities.cc:29
↓ 3 callers
Function
extractHighBits
src/hyperloglogplus.cc:93
↓ 3 callers
Function
getEstimateBias
* Estimate the bias of raw estimate using empirically determined values. * Uses weighted average of the two cells between which the estimate falls.
src/hyperloglogplus.cc:291
↓ 3 callers
Function
get_ints
src/blast_defline.c:454
↓ 3 callers
Method
hashed_key
src/compact_hash.h:18
↓ 3 callers
Function
load_index
src/classify.cc:243
↓ 3 callers
Function
omp_destroy_lock
src/omp_hack.cc:23
↓ 3 callers
Function
omp_init_lock
src/omp_hack.cc:22
↓ 3 callers
Method
open
src/gzstream.h:87
↓ 3 callers
Function
printFasta
src/k2mask.cc:226
↓ 3 callers
Method
rank_data
src/taxonomy.h:72
↓ 3 callers
Function
read_array
src/blast_to_fasta.c:219
↓ 3 callers
Function
read_string
src/blast_to_fasta.c:206
↓ 3 callers
Function
string_append_int
src/blast_to_fasta.c:105
↓ 3 callers
Function
string_clear
src/blast_to_fasta.c:85
↓ 3 callers
Function
usage
src/classify.cc:1116
↓ 3 callers
Function
usage
src/estimate_capacity.cc:170
↓ 3 callers
Function
usage
src/k2mask.cc:92
↓ 2 callers
Function
ClassifySequence
src/classify.cc:757
↓ 2 callers
Method
CompareAndSet
src/compact_hash.cc:151
↓ 2 callers
Method
ConvertToKrakenTaxonomy
src/taxonomy.cc:123
↓ 2 callers
Function
ExpandSpacedSeedMask
src/utilities.cc:14
↓ 2 callers
Function
ExtractNCBISequenceIDs
This function exists to deal with NCBI's use of \x01 characters to denote the start of a new FASTA header in the same line (for non-redundant DBs). We
src/build_db.cc:266
↓ 2 callers
Method
GenerateExternalToInternalIDMap
src/taxonomy.cc:289
↓ 2 callers
Method
MarkNode
Mark the given taxonomy node and all its unmarked ancestors
src/taxonomy.cc:116
↓ 2 callers
Function
MaskLowQualityBases
src/classify.cc:1007
↓ 2 callers
Function
ParseCommandLine
src/classify.cc:1019
↓ 2 callers
Function
PrintKrakenStyleReportLine
src/reports.cc:130
↓ 2 callers
Function
ReportKrakenStyle
src/reports.cc:241
↓ 2 callers
Function
ReportMpaStyle
src/reports.cc:117
↓ 2 callers
Method
WriteToDisk
Dump binary data to file
src/taxonomy.cc:275
↓ 2 callers
Function
asn1_backtrack
src/blast_defline.c:58
↓ 2 callers
Function
asn1_get_visible_string
src/blast_defline.c:97
↓ 2 callers
Function
calculateRawEstimate
* calculate the raw estimate as harmonic mean of the ranks in the register */
src/hyperloglogplus.cc:271
↓ 2 callers
Function
classify
src/classify.cc:264
↓ 2 callers
Function
clz
src/hyperloglogplus.cc:52
↓ 2 callers
Function
countZeros
src/hyperloglogplus.cc:279
↓ 2 callers
Function
defline_to_header
src/blast_to_fasta.c:352
↓ 2 callers
Function
get_object_id
src/blast_defline.c:268
↓ 2 callers
Function
ks_getuntil
src/kseq.h:144
↓ 2 callers
Function
mask2str
src/dump_table.cc:36
next →
1–100 of 299, ranked by callers