Skip to content

Commit

Permalink
minor comment cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
holtjma committed Jan 22, 2025
1 parent 6bb93f7 commit 14fa824
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/data_types/variants.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,17 +64,17 @@ pub enum VariantError {
/// It currently assumes that chromosome is fixed and that the variant is a SNP.
#[derive(Clone, Debug, Eq, PartialEq)]
pub struct Variant {
/// The vcf index from the input datasets
/// The vcf index from the input datasets, use 0 if unneeded
vcf_index: usize,
/// The type of variant represented by this entry
variant_type: VariantType,
/// The coordinate of the event in the VCF file, 0-based
position: i64,
/// The length of the reference allele
ref_len: usize,
/// the start position of the allele (0-based), will be <= position
/// the length of additional sequence stored before the core alleles
prefix_len: usize,
/// the end position (0-based, exclusive), will be >= position+ref_len
/// the length of additional sequence stored after the core alleles
postfix_len: usize,
/// the first allele value
allele0: Vec<u8>,
Expand All @@ -88,7 +88,7 @@ pub struct Variant {
index_allele1: u8,

// auxiliary booleans
/// if true, flags this is a variant to ignore for _some_ reason
/// if true, flags this as a variant to ignore for _some_ reason
is_ignored: bool
}

Expand Down

0 comments on commit 14fa824

Please sign in to comment.