Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/arq5x/bedtools2
/ functions
Functions
2,929 in github.com/arq5x/bedtools2
⨍
Functions
2,929
◇
Types & classes
454
↓ 1 callers
Function
cram_codec_decoder2encoder
* cram_codec structures are specialised for decoding or encoding. * Unfortunately this makes turning a decoder into an encoder (such as * when trans
src/utils/htslib/cram/cram_codecs.c:1918
↓ 1 callers
Function
cram_compress_slice
* Applies various compression methods to specific blocks, depending on * known observations of how data series compress. * * Returns 0 on success
src/utils/htslib/cram/cram_encode.c:771
↓ 1 callers
Function
cram_container_get_landmarks
Returns the landmarks[] array and the number of elements * in num_landmarks. */
src/utils/htslib/cram/cram_external.c:88
↓ 1 callers
Function
cram_container_get_length
*----------------------------------------------------------------------------- * cram_container */
src/utils/htslib/cram/cram_external.c:67
↓ 1 callers
Function
cram_container_set_length
src/utils/htslib/cram/cram_external.c:71
↓ 1 callers
Function
cram_container_size
MAXIMUM storage size needed for the container. */
src/utils/htslib/cram/cram_io.c:2942
↓ 1 callers
Function
cram_content_type2str
src/utils/htslib/cram/cram_io.c:1463
↓ 1 callers
Function
cram_copy_slice
* Copies the blocks representing the next num_slice slices from a * container from 'in' to 'out'. It is expected that the file pointer * is just af
src/utils/htslib/cram/cram_external.c:232
↓ 1 callers
Function
cram_decode_TD
* Decodes the Tag Dictionary record in the preservation map * Updates the cram compression header. * * Returns number of bytes decoded on success
src/utils/htslib/cram/cram_decode.c:67
↓ 1 callers
Function
cram_decode_aux
src/utils/htslib/cram/cram_decode.c:1982
↓ 1 callers
Function
cram_decode_aux_1_0
src/utils/htslib/cram/cram_decode.c:1935
↓ 1 callers
Function
cram_decode_estimate_sizes
* Attempts to estimate the size of some blocks so we can preallocate them * before decoding. Although decoding will automatically grow the blocks,
src/utils/htslib/cram/cram_decode.c:1029
↓ 1 callers
Function
cram_decode_seq
* Internal part of cram_decode_slice(). * Generates the sequence, quality and cigar components. */
src/utils/htslib/cram/cram_decode.c:1199
↓ 1 callers
Function
cram_decode_slice_mt
* Spawn a multi-threaded version of cram_decode_slice(). */
src/utils/htslib/cram/cram_decode.c:2796
↓ 1 callers
Function
cram_decode_slice_xref
Resolve mate pair cross-references between recs within this slice */
src/utils/htslib/cram/cram_decode.c:2043
↓ 1 callers
Function
cram_dependent_data_series
* Note we also need to scan through the record encoding map to * see which data series share the same block, either external or * CORE. For example
src/utils/htslib/cram/cram_decode.c:677
↓ 1 callers
Function
cram_encode_aux
* Encodes auxiliary data. Largely duplicated from above, but done so to * keep it simple and avoid a myriad of version ifs. * * Returns the read-gr
src/utils/htslib/cram/cram_encode.c:2074
↓ 1 callers
Function
cram_encode_aux_1_0
* Encodes auxiliary data, CRAM 1.0 format. * Returns the read-group parsed out of the BAM aux fields on success * NULL on failure or no rg p
src/utils/htslib/cram/cram_encode.c:1936
↓ 1 callers
Function
cram_encode_slice
* Encodes a single slice from a container * * Returns 0 on success * -1 on failure */
src/utils/htslib/cram/cram_encode.c:906
↓ 1 callers
Function
cram_encode_slice_header
* Encodes a slice compression header. * * Returns cram_block on success * NULL on failure */
src/utils/htslib/cram/cram_encode.c:518
↓ 1 callers
Function
cram_encode_slice_read
* Encodes a single read. * * Returns 0 on success * -1 on failure */
src/utils/htslib/cram/cram_encode.c:567
↓ 1 callers
Function
cram_first_slice
* Load first container. * Called when fd->ctr is NULL> * * Returns container on success * NULL on failure. */
src/utils/htslib/cram/cram_decode.c:2950
↓ 1 callers
Function
cram_get_refs
! * Returns the refs_t structure used by a cram file handle. * * This may be used in conjunction with option CRAM_OPT_SHARED_REF to * share refere
src/utils/htslib/cram/cram_external.c:388
↓ 1 callers
Function
cram_get_seq
* Read the next cram record and return it. * Note that to decode cram_record the caller will need to look up some data * in the current slice, point
src/utils/htslib/cram/cram_decode.c:3268
↓ 1 callers
Function
cram_header_to_bam
src/utils/htslib/cram/cram_samtools.c:130
↓ 1 callers
Function
cram_hfile
! * Returns the hFILE connected to a cram_fd. */
src/utils/htslib/cram/cram_io.h:911
↓ 1 callers
Function
cram_index_build
* Builds an index file. * * fd is a newly opened cram file that we wish to index. * fn_base is the filename of the associated CRAM file. * fn_idx
src/utils/htslib/cram/cram_index.c:585
↓ 1 callers
Function
cram_index_build_multiref
* A specialised form of cram_index_build (below) that deals with slices * having multiple references in this (ref_id -2). In this scenario we * deco
src/utils/htslib/cram/cram_index.c:529
↓ 1 callers
Function
cram_index_free_recurse
src/utils/htslib/cram/cram_index.c:313
↓ 1 callers
Function
cram_index_last
Return the index entry for last slice on a specific reference.
src/utils/htslib/cram/cram_index.c:438
↓ 1 callers
Function
cram_index_load
* Loads a CRAM .crai index into memory. * * Returns 0 for success * -1 for failure */
src/utils/htslib/cram/cram_index.c:139
↓ 1 callers
Function
cram_init_tables
* Initialises the lookup tables. These could be global statics, but they're * clumsy to setup in a multi-threaded environment unless we generate * v
src/utils/htslib/cram/cram_io.c:3963
↓ 1 callers
Function
cram_itr_query
src/utils/htslib/sam.c:797
↓ 1 callers
Function
cram_new_compression_header
* Creates a new blank container compression header * * Returns header ptr on success * NULL on failure */
src/utils/htslib/cram/cram_io.c:3250
↓ 1 callers
Function
cram_new_slice
* Creates a new empty slice in memory, for subsequent writing to * disk. * * Returns cram_slice ptr on success * NULL on failure */
src/utils/htslib/cram/cram_io.c:3414
↓ 1 callers
Function
cram_next_container
* Handles creation of a new container or new slice, flushing any * existing containers when appropriate. * * Really this is next slice, which may o
src/utils/htslib/cram/cram_encode.c:2432
↓ 1 callers
Function
cram_next_slice
src/utils/htslib/cram/cram_decode.c:3003
↓ 1 callers
Function
cram_populate_ref
* Queries the M5 string from the header and attempts to populate the * reference from this using the REF_PATH environment. * * Returns 0 on sucess
src/utils/htslib/cram/cram_io.c:2044
↓ 1 callers
Function
cram_put_bam_seq
* Write iterator: put BAM format sequences into a CRAM file. * We buffer up a containers worth of data at a time. * * Returns 0 on success *
src/utils/htslib/cram/cram_encode.c:3063
↓ 1 callers
Function
cram_read_SAM_hdr
* Reads the SAM header from the first CRAM data block. * Also performs minimal parsing to extract read-group * and sample information. * Returns S
src/utils/htslib/cram/cram_io.c:3624
↓ 1 callers
Function
cram_read_file_def
* Reads a CRAM file definition structure. * Returns file_def ptr on success * NULL on failure */
src/utils/htslib/cram/cram_io.c:3570
↓ 1 callers
Function
cram_ref_decr_locked
src/utils/htslib/cram/cram_io.c:2271
↓ 1 callers
Function
cram_ref_incr
src/utils/htslib/cram/cram_io.c:2265
↓ 1 callers
Function
cram_ref_load
* Load the entire reference 'id'. * This also increments the reference count by 1. * * Returns ref_entry on success; * NULL on failure */
src/utils/htslib/cram/cram_io.c:2379
↓ 1 callers
Function
cram_seek_to_refpos
* Skips to a container overlapping the start coordinate listed in * cram_range. * * In theory we call cram_index_query multiple times, once per sli
src/utils/htslib/cram/cram_index.c:472
↓ 1 callers
Function
cram_set_header
* Attaches a header to a cram_fd. * * This should be used when creating a new cram_fd for writing where * we have an SAM_hdr already constructed (e
src/utils/htslib/cram/cram_io.c:1902
↓ 1 callers
Function
cram_slice_hdr_get_num_blocks
*----------------------------------------------------------------------------- * cram_slice */
src/utils/htslib/cram/cram_external.c:186
↓ 1 callers
Function
cram_stats_create
src/utils/htslib/cram/cram_stats.c:46
↓ 1 callers
Function
cram_stats_dump
src/utils/htslib/cram/cram_stats.c:100
↓ 1 callers
Function
cram_stats_free
src/utils/htslib/cram/cram_stats.c:196
↓ 1 callers
Function
cram_to_bam
* Converts a cram in-memory record into a bam in-memory record. We * pass a pointer to a bam_seq_t pointer along with the a pointer to * the allocat
src/utils/htslib/cram/cram_decode.c:2844
↓ 1 callers
Function
cram_write_SAM_hdr
* Writes a CRAM SAM header. * Returns 0 on success * -1 on failure */
src/utils/htslib/cram/cram_io.c:3764
↓ 1 callers
Function
cram_write_file_def
* Writes a cram_file_def structure to cram_fd. * Returns 0 on success * -1 on failure */
src/utils/htslib/cram/cram_io.c:3603
↓ 1 callers
Function
debug_buffer
src/utils/htslib/synced_bcf_reader.c:380
↓ 1 callers
Function
debug_vbuf
src/utils/htslib/bcf_sr_sort.c:295
↓ 1 callers
Function
decompress_peek
Decompress up to ten or so bytes by peeking at the file, which must be positioned at the start of a GZIP block.
src/utils/htslib/hts.c:127
↓ 1 callers
Method
deleteRecord
src/utils/FileRecordTools/Records/RecordMgr.cpp:270
↓ 1 callers
Method
destory
src/utils/BamTools/include/SamHeader.hpp:111
↓ 1 callers
Method
diffNames
src/utils/Contexts/ContextClosest.h:31
↓ 1 callers
Function
doSweep
src/nekSandbox1/nekSandboxMain.cpp:272
↓ 1 callers
Function
double_to_le
Store a double value in little-endian byte order @param val The value to store * @param buf Where to store it (may be unaligned) */
src/utils/htslib/htslib/hts_endian.h:344
↓ 1 callers
Function
dump_char
src/utils/htslib/vcf.c:58
↓ 1 callers
Function
dump_index_
src/utils/htslib/cram/cram_index.c:70
↓ 1 callers
Function
ed_swap_2
src/utils/htslib/htslib/hts.h:842
↓ 1 callers
Method
end
src/utils/FileRecordTools/Records/RecordKeyVector.cpp:64
↓ 1 callers
Method
eof
src/utils/FileRecordTools/FileReaders/FileReader.cpp:31
↓ 1 callers
Method
errorEncountered
src/utils/Contexts/ContextBase.cpp:119
↓ 1 callers
Function
expand_main
src/expand/expand.cpp:46
↓ 1 callers
Function
expected_template_count
* Returns the number of expected read names for this record. */
src/utils/htslib/cram/cram_encode.c:1090
↓ 1 callers
Function
fai_build
src/utils/htslib/faidx.c:534
↓ 1 callers
Function
fai_build3
src/utils/htslib/faidx.c:529
↓ 1 callers
Function
fai_build_core
src/utils/htslib/faidx.c:103
↓ 1 callers
Function
fai_fetch
src/utils/htslib/faidx.c:813
↓ 1 callers
Function
fai_load
src/utils/htslib/faidx.c:671
↓ 1 callers
Function
fai_load3
src/utils/htslib/faidx.c:665
↓ 1 callers
Function
fai_load3_format
src/utils/htslib/faidx.c:677
↓ 1 callers
Function
fai_read
src/utils/htslib/faidx.c:352
↓ 1 callers
Function
fai_save
src/utils/htslib/faidx.c:324
↓ 1 callers
Function
faidx_fetch_seq
src/utils/htslib/faidx.c:894
↓ 1 callers
Function
faidx_iseq
src/utils/htslib/faidx.c:850
↓ 1 callers
Function
faidx_nseq
src/utils/htslib/faidx.c:845
↓ 1 callers
Function
faidx_seq_len
src/utils/htslib/faidx.c:855
↓ 1 callers
Function
fastafrombed_main
src/fastaFromBed/fastaFromBedMain.cpp:27
↓ 1 callers
Method
finalizeCalculations
src/fisher/fisher.cpp:33
↓ 1 callers
Method
findNext
src/jaccard/jaccard.cpp:21
↓ 1 callers
Function
find_chrom_header_line
src/utils/htslib/vcf.c:77
↓ 1 callers
Function
find_path
* As per open_path_mfile, but searching only for local filenames. * This is useful as we may avoid doing a full mfopen and loading * the entire file
src/utils/htslib/cram/open_trace_file.c:390
↓ 1 callers
Function
fisher_help
src/fisher/fisherHelp.cpp:3
↓ 1 callers
Function
flank_main
src/flankBed/flankBedMain.cpp:27
↓ 1 callers
Method
forceDownstream
src/utils/Contexts/ContextClosest.h:27
↓ 1 callers
Method
forceUpstream
src/utils/Contexts/ContextClosest.h:26
↓ 1 callers
Function
format_category
src/utils/htslib/hts.c:90
↓ 1 callers
Function
free_cache
src/utils/htslib/bgzf.c:650
↓ 1 callers
Function
fscan_string
src/utils/htslib/textutils.c:162
↓ 1 callers
Function
full_path
* Converts 'in' to a full pathname to store in out. * Out must be at least PATH_MAX bytes long. */
src/utils/htslib/cram/cram_io.c:3734
↓ 1 callers
Function
genomecoverage_main
src/genomeCoverageBed/genomeCoverageMain.cpp:27
↓ 1 callers
Method
getAbsMax
return the maximum absolute value of the vector
src/utils/KeyListOps/KeyListOpsMethods.cpp:178
↓ 1 callers
Method
getAbsMin
return the minimum absolute value of the vector
src/utils/KeyListOps/KeyListOpsMethods.cpp:166
↓ 1 callers
Method
getBamHeaderAndRefIdx
src/utils/Contexts/ContextBase.cpp:361
↓ 1 callers
Method
getBamReader
void getSavedData(string &str) const { str = _saveDataStr; }
src/utils/FileRecordTools/FileReaders/InputStreamMgr.h:43
← previous
next →
1,001–1,100 of 2,929, ranked by callers