Skip to content

Commit

Permalink
Remove the mate_status filter.
Browse files Browse the repository at this point in the history
  • Loading branch information
NMNS93 committed Jan 4, 2024
1 parent 2ba1a8b commit e5e5ea9
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions R/allele_counts.R
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,6 @@ get_reads_in_segments <- function(bam_file, segments, min_mapq, paired_end = FAL
bam_dt$rname <- paste0("chr", bam_dt$rname)
}

# For paired end reads, ensure that only reads with proper mates are returned
if (paired_end) {
return(bam_dt[mate_status == "mated"])
} else {
return(bam_dt)
}
}

format_bam_for_loci_overlap <- function(bam_dt, paired_end = FALSE) {
Expand Down

0 comments on commit e5e5ea9

Please sign in to comment.