Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PacificBiosciences/trgt
/ functions
Functions
837 in github.com/PacificBiosciences/trgt
⨍
Functions
837
◇
Types & classes
113
↓ 1 callers
Function
trvz
(args: PlotArgs)
src/commands/plot.rs:11
↓ 1 callers
Function
uniform_downsample
(spanning_reads: &mut Vec<SpanningRead>, output_len: usize)
src/trgt/workflows/tr.rs:180
↓ 1 callers
Method
update_record_for_version
(&mut self)
src/merge/vcf_reader.rs:290
↓ 1 callers
Function
validate
(args: ValidateArgs)
src/commands/validate.rs:41
↓ 1 callers
Function
validate_indexed_vcf
(file: &Path)
src/merge/vcf_reader.rs:143
↓ 1 callers
Function
validate_reference_dictionary
( primary_source: &InputSource, source: &InputSource, primary_header: &bam::Header, header: &b
src/utils/bam_utils.rs:100
↓ 1 callers
Method
verify_identical_contig_order
(&self)
src/merge/vcf_reader.rs:426
↓ 1 callers
Function
wfa_cigar_to_htslib
Convert the WFA Cigar strings to the ones from rust_htslib
src/commands/deepdive.rs:31
↓ 1 callers
Function
with_analysis_thread_pool
( num_threads: usize, thread_context: ThreadContextParams, with_pool: F, )
src/commands/genotype.rs:434
↓ 1 callers
Method
with_trgt_format_values
(self)
src/utils/test_util.rs:261
↓ 1 callers
Method
with_trgt_merge_defaults
(self)
src/utils/test_util.rs:437
↓ 1 callers
Function
with_username_only
(mut url: Url, user: &str)
src/utils/input_source.rs:373
↓ 1 callers
Method
write_format_fields
(&mut self, out_gts: Vec<i32>)
src/merge/vcf_processor.rs:1179
↓ 1 callers
Function
write_test_bam
(path: &Path, contigs: &[(&str, u32)], samples: &[&str])
src/utils/test_util.rs:128
↓ 1 callers
Method
write_to_record
( &self, writer: &mut VcfWriter, descriptor: &FieldDescriptor<'static>, )
src/merge/vcf_processor.rs:1259
Method
add_allele_info
Adds allele information from genotyping results to a VCF record. # Arguments `locus` - `Locus` struct containing locus information. `results` - `Locu
src/trgt/writers/write_vcf.rs:210
Method
add_locus_info
Adds basic locus information to a VCF record. # Arguments `locus` - `Locus` struct containing locus information. `record` - Mutable `Record` struct w
src/trgt/writers/write_vcf.rs:135
Method
add_missing_allele_info
Adds allele information for missing genotypes to a VCF record. # Arguments `locus` - `Locus` struct containing locus information. `record` - Mutable
src/trgt/writers/write_vcf.rs:168
Method
add_version_info
(out_header: &mut bcf::Header)
src/merge/vcf_processor.rs:226
Method
advance_reader
(reader: &mut R, record: &mut bcf::Record)
src/merge/vcf_reader.rs:268
Function
align
(backbone: &[u8], seqs: &[&[u8]])
src/utils/align.rs:14
Function
analyze
(mut locus: Locus, params: &Params)
src/trgt/workflows/tr.rs:25
Function
annotate_imperfect_repeat_run
()
src/hmm/builder.rs:243
Function
annotate_motif_runs_separated_by_insertion
()
src/hmm/builder.rs:219
Function
annotate_two_perfect_motif_runs
()
src/hmm/builder.rs:209
Method
as_parts
(&self)
src/utils/region.rs:63
Method
assign_to_i32
(assign: AlleleAssign)
src/trgt/writers/write_bam.rs:72
Function
attach_to_writer_is_callable
()
src/merge/tpool.rs:251
Function
bam_sources_preserve_primary_and_supplemental_order
()
src/utils/input_source.rs:436
Method
base
()
src/hmm/spans.rs:29
Function
buffered_source_reader_caches_record_key_and_uses_caller_source_index
()
src/trgt/genotype_reader.rs:367
Function
build_read
(id: usize, hp: Option<u8>, ps: Option<u32>)
src/trgt/workflows/tr.rs:531
Method
builder
Create a builder for configuring a WFAligner
src/wfaligner.rs:393
Method
builder
()
src/utils/locus.rs:36
Method
builtin
( id: &'a [u8], category: FieldCategory, vcf_type: VcfType, number: FieldNumbe
src/merge/field_registry.rs:157
Method
builtin_with_aliases
( id: &'a [u8], category: FieldCategory, vcf_type: VcfType, number: FieldNumbe
src/merge/field_registry.rs:177
Function
calculate_purity_of_empty_query
()
src/hmm/purity.rs:89
Function
calculate_purity_of_imperfect_repeats
()
src/hmm/purity.rs:58
Function
calculate_purity_of_perfect_repeats
()
src/hmm/purity.rs:49
Function
calculate_purity_of_polyalanine_repeat
()
src/hmm/purity.rs:78
Function
calculate_purity_of_repeats_with_skip_states
()
src/hmm/purity.rs:68
Function
check_file_exists
(s: &str)
src/cli.rs:755
Function
check_image_path
(s: &str)
src/cli.rs:735
Method
check_required_info_fields
( record: &Record, reader_file_path: &str, info_fields: &[FieldDescriptor<'static>],
src/merge/vcf_processor.rs:1003
Function
check_sample_name_nonempty
(s: &str)
src/cli.rs:764
Function
cigar_generated_even_if_clipped_alignment_has_no_query_len
()
src/trgt/reads/clip_bases.rs:213
Method
cigar_operations
(&self)
src/wfaligner.rs:910
Method
cigar_score
(&mut self)
src/wfaligner.rs:1002
Method
cigar_score_clipped
(&self, flank_len: usize)
src/wfaligner.rs:595
Method
cigar_score_edit_get_operations_score
(operation: char, op_length: i32)
src/wfaligner.rs:534
Method
cigar_score_gap_affine2p_get_operations_score
( operation: char, op_length: i32, penalties: &wfa2::affine2p_penalties_t, )
src/wfaligner.rs:578
Method
cigar_score_gap_affine_get_operations_score
( operation: char, op_length: i32, penalties: &wfa2::affine_penalties_t, )
src/wfaligner.rs:565
Method
cigar_score_gap_linear_get_operations_score
( operation: char, op_length: i32, penalties: &wfa2::linear_penalties_t, )
src/wfaligner.rs:552
Method
cigar_score_indel_get_operations_score
Note: Indel distance (LCS) is usually about maximizing matches, not minimizing penalties. For scoring purposes, we treat it like Edit distance in a co
src/wfaligner.rs:544
Method
cigar_string
(&self, flank_len: Option<usize>)
src/wfaligner.rs:1029
Function
clean_het_tr
()
src/trgt/genotype/diploid.rs:110
Function
clean_tr
()
src/trgt/genotype/haploid.rs:37
Function
collect_qnames
(reader: &mut BamReader)
src/trgt/genotype_reader.rs:261
Function
collect_records
(reader: &mut BamReader)
src/trgt/genotype_reader.rs:248
Function
convert_am_field_converts_integer
()
src/merge/field_descriptors.rs:368
Method
create_header
(sample_name: &str, bam_header: &bam::Header)
src/trgt/writers/write_vcf.rs:80
Method
create_header
Creates a BAM header based on a template, including additional program information. # Arguments `template_header` - BAM header to be used as templat
src/trgt/writers/write_bam.rs:56
Method
create_output_header
(vcf_readers: &VcfReaders, args: &MergeArgs)
src/merge/vcf_processor.rs:206
Function
create_thread_local_ed
()
src/commands/genotype.rs:54
Function
create_thread_local_ga_aligner
()
src/commands/genotype.rs:48
Function
create_thread_local_ga_aligner_with_scoring
()
src/commands/genotype.rs:32
Function
create_unindexed_test_bam
(name: &str, contigs: &[(&str, u32)], samples: &[&str])
src/utils/test_util.rs:114
Function
decode_fields_accepts_unrecognized_catalog_info_fields
()
src/trgt/locus.rs:310
Method
decode_sam_cigar
(sam_cigar_buffer: &[u32])
src/wfaligner.rs:961
Method
default
()
src/wfaligner.rs:167
Method
default
()
src/utils/io_utils.rs:27
Method
default
()
src/utils/locus.rs:154
Method
default
()
src/utils/readers/bam.rs:20
Method
default
()
crates/pipeplot/src/pipeplot.rs:53
Function
default_output_type_is_compressed_vcf
()
src/utils/io_utils.rs:127
Method
default_trgt
(trid: S, pos: i64, end: i32)
src/utils/test_util.rs:272
Function
display_formats_as_region_label
()
src/utils/region.rs:86
Method
drop
(&mut self)
src/wfaligner.rs:455
Method
drop
(&mut self)
src/merge/tpool.rs:177
Function
dummy_converter
(_record: &Record, _field_id: &[u8])
src/merge/field_registry.rs:886
Function
dummy_record_helpers_write_and_clear
()
src/merge/vcf_writer.rs:154
Function
duplicate_bam_sources_are_rejected_before_opening
()
src/utils/bam_utils.rs:195
Method
empty
(mode: VcfReadMode)
src/merge/vcf_reader.rs:516
Method
empty
()
src/trgt/workflows/locus_result.rs:38
Method
encode_al
(genotype: &Genotype)
src/trgt/writers/write_vcf.rs:323
Method
encode_allr
(genotype: &Genotype)
src/trgt/writers/write_vcf.rs:333
Method
encode_am
(genotype: &Genotype)
src/trgt/writers/write_vcf.rs:401
Method
encode_ap
(genotype: &Genotype)
src/trgt/writers/write_vcf.rs:391
Method
encode_hd
(genotype: &Genotype)
src/trgt/writers/write_vcf.rs:344
Method
encode_mc
(genotype: &Genotype)
src/trgt/writers/write_vcf.rs:354
Method
encode_ms
(genotype: &Genotype)
src/trgt/writers/write_vcf.rs:370
Function
ensure_unit_float
(s: &str)
src/cli.rs:772
Method
eq
(&self, other: &Self)
src/merge/vcf_processor.rs:44
Function
exposes_region_parts
()
src/utils/region.rs:93
Method
extract_trid
(record: &Record, contig: &str, pos: i64)
src/merge/vcf_processor.rs:932
Method
field_exists_in_header
( header: &bcf::header::HeaderView, descriptor: &FieldDescriptor<'static>, )
src/merge/vcf_processor.rs:410
Method
first_locus
(&self)
src/trgt/locus_group.rs:65
Method
flatten_genotypes
(out_gts: &[Vec<Vec<GenotypeAllele>>])
src/merge/vcf_processor.rs:1189
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
src/wfaligner.rs:137
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
src/merge/vcf_reader.rs:36
← previous
next →
401–500 of 837, ranked by callers