Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/PacificBiosciences/trgt
/ functions
Functions
837 in github.com/PacificBiosciences/trgt
⨍
Functions
837
◇
Types & classes
113
↓ 280 callers
Method
iter
(&self)
src/merge/field_registry.rs:408
↓ 145 callers
Method
len
(&self)
src/trgt/locus_group.rs:75
↓ 84 callers
Method
len
(&self)
src/hmm/spans.rs:9
↓ 65 callers
Method
path
(&self)
src/utils/test_util.rs:57
↓ 48 callers
Method
get
(&self, field_id: &[u8])
src/merge/field_registry.rs:388
↓ 47 callers
Method
pos
(mut self, pos: i64)
src/utils/test_util.rs:187
↓ 40 callers
Method
sample
(mut self, name: S)
src/utils/test_util.rs:290
↓ 39 callers
Method
contig
(mut self, name: S, length: u64)
src/utils/test_util.rs:285
↓ 37 callers
Method
empty_record
(&self)
src/merge/vcf_reader.rs:50
↓ 35 callers
Method
build
Build the WFAligner with the configured settings
src/wfaligner.rs:360
↓ 33 callers
Method
alleles
(mut self, alleles: &[T])
src/utils/test_util.rs:207
↓ 33 callers
Method
read
(&mut self, record: &mut Record)
src/trgt/genotype_reader.rs:35
↓ 31 callers
Method
filter
(mut self, filter: S)
src/utils/test_util.rs:202
↓ 28 callers
Method
record
(mut self, record: TestVcfRecord)
src/utils/test_util.rs:295
↓ 27 callers
Function
make_cigar
(ref_pos: i64, encoding: &str)
src/trgt/reads/test_utils.rs:22
↓ 27 callers
Function
make_read
(bases: &str, meths: Vec<u8>, cigar: Cigar)
src/trgt/reads/test_utils.rs:4
↓ 25 callers
Method
info_string
(mut self, key: K, value: V)
src/utils/test_util.rs:217
↓ 25 callers
Method
is_empty
(&self)
src/hmm/spans.rs:13
↓ 25 callers
Method
len
(&self)
src/merge/vcf_reader.rs:507
↓ 22 callers
Method
add_info
(mut self, id: S, num: &str, type_: &str, desc: &str)
src/utils/test_util.rs:305
↓ 22 callers
Function
create_test_locus
(id: &str, contig: &str, start: u32, end: u32)
src/trgt/locus_group.rs:214
↓ 21 callers
Method
add_format
(mut self, id: S, num: &str, type_: &str, desc: &str)
src/utils/test_util.rs:316
↓ 21 callers
Method
affine
Configure for gap-affine penalties (Smith-Waterman-Gotoh) with match_ = 0
src/wfaligner.rs:292
↓ 21 callers
Method
align_end_to_end
(&mut self, pattern: &[u8], text: &[u8])
src/wfaligner.rs:489
↓ 20 callers
Method
as_slice
(&self)
src/utils/input_source.rs:106
↓ 18 callers
Method
genotype
(mut self, genotypes: &[GenotypeAllele])
src/utils/test_util.rs:212
↓ 16 callers
Method
add_line
(&mut self, line: &str)
crates/pipeplot/src/svg.rs:59
↓ 16 callers
Function
create_indexed_bam
(records: &[(&str, &str, i64)])
src/utils/test_util.rs:66
↓ 16 callers
Method
fetch
(&mut self, region: (&str, u32, u32))
src/trgt/genotype_reader.rs:31
↓ 16 callers
Method
is_empty
(&self)
src/trgt/locus_group.rs:81
↓ 16 callers
Method
set_trans
(&mut self, target_state: usize, in_states: Vec<usize>, in_probs: Vec<f64>)
src/hmm/hmm_model.rs:44
↓ 15 callers
Method
cmp
(&self, other: &Self)
src/merge/vcf_processor.rs:58
↓ 15 callers
Method
set_ems
(&mut self, target_state: usize, ems: Vec<f64>)
src/hmm/hmm_model.rs:49
↓ 14 callers
Function
build_hmm
(motifs: &[Vec<u8>])
src/hmm/builder.rs:4
↓ 14 callers
Method
clear
(&mut self)
src/merge/field_registry.rs:92
↓ 14 callers
Function
validate
(sources: &BamSources, sample_name: Option<&str>)
src/utils/bam_utils.rs:190
↓ 14 callers
Method
write
(&mut self)
src/merge/vcf_writer.rs:68
↓ 13 callers
Method
build
(allele_lists: &[Vec<&'a [u8]>])
src/merge/genotype_types.rs:36
↓ 13 callers
Method
matching
( &self, pattern: &[u8], text: &[u8], flank_len: Option<usize>, )
src/wfaligner.rs:1064
↓ 13 callers
Method
set_heuristic
(&mut self, heuristic: Heuristic)
src/wfaligner.rs:707
↓ 12 callers
Method
dummy_record_mut
(&mut self)
src/merge/vcf_writer.rs:64
↓ 12 callers
Method
label
(&self, query: &[u8])
src/hmm/hmm_model.rs:144
↓ 12 callers
Method
required
(mut self)
src/merge/field_registry.rs:198
↓ 12 callers
Method
to_x
(&self, x: u32)
crates/pipeplot/src/svg.rs:302
↓ 12 callers
Method
url
(&self)
src/utils/input_source.rs:36
↓ 11 callers
Function
bam_sources
(primary: &TestBam, supplemental: Option<&TestBam>)
src/utils/bam_utils.rs:186
↓ 11 callers
Method
build
(self)
src/utils/locus.rs:140
↓ 11 callers
Method
build
(self)
src/utils/test_util.rs:357
↓ 11 callers
Method
build_header
(&self)
src/utils/test_util.rs:336
↓ 11 callers
Method
get_query_len
(&self)
src/trgt/reads/cigar.rs:20
↓ 10 callers
Function
parse_cigar_string
(cigar_string: &str)
src/trgt/reads/snp.rs:162
↓ 10 callers
Function
redact_url
(u: &Url)
src/utils/input_source.rs:13
↓ 9 callers
Method
clip_to_region
Clips the `HiFiRead` to the specified reference region. # Arguments `region` - A tuple `(i64, i64)` representing the start and end positions of the r
src/trgt/reads/clip_region.rs:20
↓ 9 callers
Method
format_integer
(mut self, key: K, values: &[i32])
src/utils/test_util.rs:234
↓ 9 callers
Method
get_ref_len
(&self)
src/trgt/reads/cigar.rs:9
↓ 9 callers
Method
info_integer
(mut self, key: K, values: &[i32])
src/utils/test_util.rs:223
↓ 8 callers
Method
affine2p
Configure for gap-affine dual-cost penalties (concave 2-pieces) with match_ = 0
src/wfaligner.rs:312
↓ 8 callers
Method
align_ends_free
( &mut self, pattern: &[u8], pattern_begin_free: i32, pattern_end_free: i32,
src/wfaligner.rs:503
↓ 8 callers
Method
format_float
(mut self, key: K, values: &[f32])
src/utils/test_util.rs:240
↓ 7 callers
Function
clip_meth
( bases: &[u8], meth_profile: Option<&[u8]>, left_len: usize, right_len: usize, )
src/trgt/reads/clip_bases.rs:38
↓ 7 callers
Method
format_error
Use this when wrapping errors from htslib that might leak URLs
src/utils/input_source.rs:194
↓ 7 callers
Method
get_alignment
TODO: Refactor TODO: THIS DOES NOT WORK WITH BIWFA
src/wfaligner.rs:784
↓ 7 callers
Method
merge_variants
(&mut self)
src/merge/vcf_processor.rs:451
↓ 7 callers
Method
to_y
(&self, y: u32)
crates/pipeplot/src/svg.rs:306
↓ 6 callers
Method
add_locus_unchecked
(&mut self, locus: Locus)
src/trgt/locus_group.rs:59
↓ 6 callers
Method
build_with_compression
(self, compress: bool)
src/utils/test_util.rs:361
↓ 6 callers
Function
calc_purity
(query: &[u8], hmm: &Hmm, motifs: &[Vec<u8>], states: &[usize])
src/hmm/purity.rs:6
↓ 6 callers
Method
format_string
(mut self, key: K, values: &[V])
src/utils/test_util.rs:246
↓ 6 callers
Function
genotype
(sizes: &[usize], counts: &[usize])
src/trgt/genotype/haploid.rs:3
↓ 6 callers
Function
get_alleles
(vcf_src: &InputSource, locus: &InputLocus)
src/utils/input.rs:21
↓ 6 callers
Function
get_field
(fields: &HashMap<&str, &str>, key: &str)
src/trgt/locus.rs:239
↓ 6 callers
Method
header_line
(mut self, line: S)
src/utils/test_util.rs:300
↓ 6 callers
Method
label_motifs
(&self, states: &[usize])
src/hmm/hmm_model.rs:158
↓ 6 callers
Function
merge_args_for_test
(vcfs: Vec<PathBuf>, output: PathBuf, no_index: bool)
src/merge/vcf_processor.rs:1441
↓ 6 callers
Method
preflight_checks
(&self)
src/utils/input_source.rs:282
↓ 6 callers
Function
repair_consensus
(reference: &[u8], seqs: &[&[u8]], aligns: &[Vec<CigarOp>])
src/trgt/genotype/consensus.rs:5
↓ 6 callers
Function
run_repair
(reference: &str, reads: &[&str], cigars: &[Vec<CigarOp>])
src/trgt/genotype/consensus.rs:178
↓ 6 callers
Method
with_heuristic
Set a heuristic for the aligner
src/wfaligner.rs:354
↓ 6 callers
Method
with_trgt_defaults
(self)
src/utils/test_util.rs:420
↓ 6 callers
Function
write_trgt_vcf_with_records
( records: Vec<TestVcfRecord>, path: &Path, sample: &str, )
src/utils/test_util.rs:475
↓ 5 callers
Function
create_mock_processor
()
src/merge/vcf_processor.rs:1382
↓ 5 callers
Function
create_record
(bases: &[u8], mm: &str, ml: &[u8], reverse: bool)
src/trgt/reads/read.rs:234
↓ 5 callers
Method
edit
Configure for edit penalties (Levenshtein)
src/wfaligner.rs:273
↓ 5 callers
Method
emits_base
(&self, state: usize)
src/hmm/hmm_model.rs:202
↓ 5 callers
Function
extract_mismatch_positions
Collect all mismatch positions from a CIGAR alignment. # Arguments `cigar` - The CIGAR object of the read alignment. # Returns Returns a `Vec<u32>`
src/trgt/reads/snp.rs:13
↓ 5 callers
Function
extract_snps
(cigar: &Cigar, region: &GenomicRegion)
src/trgt/reads/snp.rs:75
↓ 5 callers
Function
genotype
( reads: &[&LocusRead], tr_seqs: &[&[u8]], region: &GenomicRegion, )
src/trgt/genotype/genotype_flank.rs:9
↓ 5 callers
Method
get_alignment_span
TODO: Deprecate and use get_alignment? TODO: THIS DOES NOT WORK WITH BIWFA
src/wfaligner.rs:864
↓ 5 callers
Function
get_profiles
(reads: &[&LocusRead], snvs: &[u32], region: &GenomicRegion)
src/trgt/genotype/genotype_flank.rs:262
↓ 5 callers
Function
get_record_from_builder
(builder: TestVcfBuilder)
src/merge/field_registry.rs:618
↓ 5 callers
Method
get_sam_cigar
TODO: Possibly remove safety checks?
src/wfaligner.rs:932
↓ 5 callers
Function
handle_error_and_exit
(err: String)
src/utils/util.rs:5
↓ 5 callers
Method
len
(&self)
src/merge/field_registry.rs:463
↓ 5 callers
Function
make_consensus
( num_seqs: usize, trs: &[&[u8]], dists: &[f64], group: &[usize], )
src/trgt/genotype/genotype_cluster.rs:41
↓ 5 callers
Function
make_reads
(specs: &[TestRead])
src/trgt/genotype/genotype_flank.rs:369
↓ 5 callers
Function
multi_reader
(sources: &[(&str, &NamedTempFile)])
src/trgt/genotype_reader.rs:239
↓ 5 callers
Function
open_genome_reader
(genome_src: &InputSource)
src/utils/readers/genome.rs:5
↓ 5 callers
Method
partial_cmp
(&self, other: &Self)
src/merge/vcf_processor.rs:52
↓ 5 callers
Method
preflight
(&self)
src/cli.rs:339
↓ 5 callers
Method
push_missing_and_end
(&mut self)
src/merge/field_registry.rs:102
next →
1–100 of 837, ranked by callers