Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Illumina/hap.py
/ functions
Functions
854 in github.com/Illumina/hap.py
⨍
Functions
854
◇
Types & classes
237
↓ 431 callers
Method
size
Number of values in array or object
external/jsoncpp/jsoncpp.cpp:2327
↓ 424 callers
Method
c_str
external/jsoncpp/jsoncpp.cpp:1709
↓ 234 callers
Method
count
src/c++/lib/quantify/BlockQuantify.cpp:270
↓ 160 callers
Method
empty
external/jsoncpp/jsoncpp.cpp:2357
↓ 109 callers
Method
end
src/c++/lib/diploidgraphs/Haplotype.cpp:173
↓ 97 callers
Function
error
src/c++/include/Error.hh:96
↓ 89 callers
Method
get
Read variants from a block into a list */
src/c++/lib/variant/VariantInput.cpp:216
↓ 57 callers
Method
clear
external/jsoncpp/jsoncpp.cpp:2366
↓ 56 callers
Method
begin
external/jsoncpp/jsoncpp.cpp:2779
↓ 44 callers
Method
close
(self)
src/python/Tools/__init__.py:196
↓ 44 callers
Method
query
src/c++/lib/tools/Fasta.cpp:421
↓ 41 callers
Method
add
add observations from second ROC
src/c++/lib/tools/Roc.cpp:155
↓ 41 callers
Method
set
src/c++/lib/tools/Table.cpp:147
↓ 39 callers
Method
add
src/c++/main/roc.cpp:57
↓ 39 callers
Method
resize
src/c++/include/helpers/IntervalList.hh:79
↓ 37 callers
Method
seq
get the full haplotype sequence */
src/c++/lib/diploidgraphs/Haplotype.cpp:208
↓ 36 callers
Function
_S
src/c++/lib/tools/RocOutput.cpp:138
↓ 34 callers
Method
addSample
* @brief Add a sample to read from * @param filename file name * @param sname name of sample to read from * @return sample number to retrieve rec
src/c++/lib/variant/VariantReader.cpp:179
↓ 34 callers
Function
runBcftools
Wraps runShellCommand for compatibility. :param args: :return:
src/python/Tools/bcftools.py:57
↓ 31 callers
Method
addStep
set up processing */
src/c++/lib/variant/VariantProcessor.cpp:258
↓ 31 callers
Function
split
* @brief Split a string along separators */
src/c++/include/helpers/StringUtil.hh:49
↓ 30 callers
Method
asUInt64
external/jsoncpp/jsoncpp.cpp:2193
↓ 28 callers
Method
setInfo
src/c++/lib/variant/Variant.cpp:277
↓ 27 callers
Method
isCovered
* @brief Check if interval is fully covered in a given lane */
src/c++/lib/tools/IntervalBuffer.cpp:137
↓ 21 callers
Method
advance
src/c++/test/test_diploidreference.cpp:133
↓ 21 callers
Method
getCigar
* @brief Get a cigar string */
src/c++/lib/align/Klib.cpp:116
↓ 20 callers
Function
getFormatString
read a format field as a single double. result will not be overwritten on failure */
src/c++/lib/tools/BCFHelpers.cpp:639
↓ 18 callers
Method
addInterval
* @brief Add an interval to a lane * * @param start interval coordinates * @param end interval coordinates * @param lane lane to a
src/c++/lib/tools/IntervalBuffer.cpp:102
↓ 18 callers
Method
addVar
add variant */
src/c++/lib/diploidgraphs/Haplotype.cpp:127
↓ 18 callers
Function
snvIsTransversion
* @brief Report SNV type * * @param refBase the reference base * @param altBase the variant base * * Return true if SNV is tr
src/c++/include/helpers/Genetics.hh:84
↓ 18 callers
Function
to_underlying
src/c++/include/helpers/Roc.hh:44
↓ 17 callers
Function
appendToVarList
* Helper to aggregate reference variants base by base * * Refpos must be > vars.back().end * */
src/c++/lib/align/RefVar.cpp:651
↓ 17 callers
Method
end
external/jsoncpp/jsoncpp.cpp:2809
↓ 17 callers
Method
run
* Compare all buffered variants */
src/c++/lib/scmp/BlockAlleleCompare.cpp:178
↓ 17 callers
Method
setRef
* @brief set target sequence */
src/c++/lib/align/Klib.cpp:77
↓ 16 callers
Function
formatPos
* Format genomic coordinates */
src/c++/include/helpers/StringUtil.hh:149
↓ 15 callers
Function
getGTType
* @brief Classify a variant's GT type * */
src/c++/lib/variant/Variant.cpp:52
↓ 15 callers
Function
valueToString
external/jsoncpp/jsoncpp.cpp:3088
↓ 14 callers
Method
dump
* @brief Debug dump, optional */
src/c++/include/Alignment.hh:121
↓ 14 callers
Method
isHomref
src/c++/include/Variant.hh:101
↓ 14 callers
Method
isNocall
src/c++/include/Variant.hh:84
↓ 14 callers
Function
parsePos
* @brief Parse coordinates * * @param input input string, e.g. "chr1:1,000-2000" * @param chr the contig name, e.g. "chr1" * @para
src/c++/include/helpers/StringUtil.hh:190
↓ 13 callers
Method
addHeader
src/c++/lib/variant/VariantWriter.cpp:100
↓ 13 callers
Method
asInt
external/jsoncpp/jsoncpp.cpp:2126
↓ 13 callers
Method
setQuery
* @brief set query sequence */
src/c++/lib/align/Klib.cpp:88
↓ 13 callers
Function
trimLeft
src/c++/lib/align/RefVar.cpp:51
↓ 13 callers
Function
trimRight
src/c++/lib/align/RefVar.cpp:71
↓ 12 callers
Function
getInfoString
* @brief Retrieve an info field as an integer * * @param result the default to return if the field is not present */
src/c++/lib/tools/BCFHelpers.cpp:375
↓ 12 callers
Method
hasComment
external/jsoncpp/jsoncpp.cpp:2756
↓ 12 callers
Method
isMember
external/jsoncpp/jsoncpp.cpp:2585
↓ 12 callers
Method
reset
* reset/initialize an assignment */
src/c++/lib/scmp/HapSetMatcher.cpp:200
↓ 12 callers
Method
write
(self, *args, **kwargs)
src/python/Tools/__init__.py:203
↓ 11 callers
Method
advance
* @brief Advance buffer, discarding all intervals with start < to * * @param to interval minimum end position */
src/c++/lib/tools/IntervalBuffer.cpp:120
↓ 11 callers
Method
asFloat
external/jsoncpp/jsoncpp.cpp:2253
↓ 11 callers
Function
classifyAlleleString
src/c++/lib/tools/BCFHelpers.cpp:926
↓ 11 callers
Method
collectFeatures
(vcfname, tag, features, processor=None)
src/python/Somatic/__init__.py:70
↓ 11 callers
Function
endsWith
* @brief Test if string has given suffix * * @return true if str ends with suffix */
src/c++/include/helpers/StringUtil.hh:110
↓ 11 callers
Method
getAlignment
src/c++/lib/diploidgraphs/HaploCompare.cpp:120
↓ 11 callers
Function
getChrom
shortcut to get chromosome name */
src/c++/include/helpers/BCFHelpers.hh:88
↓ 11 callers
Function
makeAlignment
src/c++/lib/align/Alignment.cpp:63
↓ 11 callers
Method
register
(name, xclass)
src/python/Somatic/__init__.py:39
↓ 10 callers
Method
get
src/c++/lib/tools/Fasta.cpp:207
↓ 10 callers
Method
rewind
* @brief Rewind / set region to read * * @param chr chromosome/contig name * @param startpos start position on chr (or -1 for entire chr) */
src/c++/lib/variant/VariantReader.cpp:297
↓ 10 callers
Function
setFormatStrings
update format string for a single sample. */
src/c++/lib/tools/BCFHelpers.cpp:745
↓ 10 callers
Method
setOffsetLimit
external/jsoncpp/jsoncpp.cpp:2768
↓ 10 callers
Method
setOffsetStart
external/jsoncpp/jsoncpp.cpp:2766
↓ 9 callers
Function
getGT
* @brief Read the GT field */
src/c++/lib/tools/BCFHelpers.cpp:468
↓ 9 callers
Function
isRealBase
* @brief Is base a valid uppercase non-N base? * * @param base the base * */
src/c++/include/helpers/Genetics.hh:51
↓ 9 callers
Method
register
Register a ROC calculator :param name: the name of the calculator :param ftname: the features / feature table name
src/python/Tools/roc.py:102
↓ 9 callers
Method
repr
src/c++/include/RefVar.hh:78
↓ 9 callers
Method
setReader
process a Variant Reader */
src/c++/lib/variant/VariantProcessor.cpp:271
↓ 9 callers
Function
tableROC
Compute ROC table from TP/FP/FN classification table. :param tbl: table with label and feature :type tbl: pandas.DataFrame :param label_c
src/python/Tools/roc.py:20
↓ 8 callers
Method
collect
Return a data frame with features collected from the given VCF, tagged by given type
src/python/Somatic/__init__.py:32
↓ 8 callers
Method
contigNonNSize
* return the non-N padded size of a contig. This is calculated * as the size of the contig minus any N's at the beginning or * at the end. * * Ret
src/c++/lib/tools/Fasta.cpp:470
↓ 8 callers
Function
duplicateStringValue
Duplicates the specified string value. * @param value Pointer to the string to duplicate. Must be zero-terminated if * length is "unkno
external/jsoncpp/jsoncpp.cpp:1582
↓ 8 callers
Method
getInfoFlag
src/c++/lib/variant/Variant.cpp:263
↓ 8 callers
Method
getMemberNames
external/jsoncpp/jsoncpp.cpp:2600
↓ 8 callers
Method
getScore
* @brief Get the alignment score */
src/c++/lib/align/Klib.cpp:104
↓ 8 callers
Method
hasOverlap
* @brief Check if interval is partially covered in a given lane */
src/c++/lib/tools/IntervalBuffer.cpp:165
↓ 8 callers
Method
isArray
external/jsoncpp/jsoncpp.cpp:2742
↓ 8 callers
Function
next_permutation
http://graphics.stanford.edu/~seander/bithacks.html#NextBitPermutation
src/c++/include/helpers/Popcount.hh:45
↓ 8 callers
Function
replaceAll
* @brief Replace all instances of find with replace in str */
src/c++/include/helpers/StringUtil.hh:122
↓ 8 callers
Method
repr
* @brief Canonical representation w.r.t. reference */
src/c++/lib/diploidgraphs/Haplotype.cpp:305
↓ 8 callers
Method
resize
external/jsoncpp/jsoncpp.cpp:2391
↓ 8 callers
Function
runShellCommand
Run a shell command (e.g. bcf tools), and return output
src/python/Tools/bcftools.py:27
↓ 8 callers
Function
vcfExtract
Given a list of VCF features, get tab-separated list from VCF file :param vcfname: the vcf file name :param features: list of features to ex
src/python/Tools/vcfextract.py:78
↓ 7 callers
Method
add
src/c++/lib/quantify/BlockQuantify.cpp:265
↓ 7 callers
Method
contigSize
* return the size of a contig. Sum of all contig sizes if contig == 0 * @param contig name of contig, or empty * @return number of bases in the cont
src/c++/lib/tools/Fasta.cpp:456
↓ 7 callers
Method
fp
src/c++/include/helpers/Roc.hh:142
↓ 7 callers
Method
getFilename
src/c++/lib/tools/Fasta.cpp:398
↓ 7 callers
Function
getFormatFloat
read a format field as a single float. default return value is NaN */
src/c++/lib/tools/BCFHelpers.cpp:608
↓ 7 callers
Function
leftShift
src/c++/include/RefVar.hh:155
↓ 7 callers
Function
parseStats
Parse BCFTOOLS Stats Output
src/python/Tools/bcftools.py:67
↓ 7 callers
Method
setAlt
src/c++/lib/diploidgraphs/HaploCompare.cpp:135
↓ 7 callers
Method
setApplyFilters
src/c++/lib/variant/VariantReader.cpp:107
↓ 7 callers
Method
setReference
* @brief Reference for shifting * */
src/c++/lib/variant/VariantLeftPadding.cpp:110
↓ 7 callers
Method
tp
src/c++/include/helpers/Roc.hh:140
↓ 7 callers
Method
tp2
src/c++/include/helpers/Roc.hh:141
↓ 7 callers
Method
unk
src/c++/include/helpers/Roc.hh:147
↓ 7 callers
Method
write
src/c++/lib/tools/RocOutput.cpp:271
next →
1–100 of 854, ranked by callers