Skip to content

Commit

Permalink
added strand to countnonSplicedReads
Browse files Browse the repository at this point in the history
  • Loading branch information
vyepez88 authored Feb 15, 2024
1 parent 9d9d394 commit c6f5c72
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/countRNAseqData.R
Original file line number Diff line number Diff line change
Expand Up @@ -864,6 +864,7 @@ countNonSplicedReads <- function(sampleID, splitCountRanges, fds,
# unstranded case: for counting only non spliced reads we
# skip this information
isPairedEnd <- pairedEnd(fds[,samples(fds) == sampleID])[[1]]
strand <- strandSpecific(fds[,samples(fds) == sampleID])[[1]]
doAutosort <- isPairedEnd

# check cache if available
Expand Down Expand Up @@ -905,7 +906,7 @@ countNonSplicedReads <- function(sampleID, splitCountRanges, fds,
allowMultiOverlap=TRUE,
checkFragLength=FALSE,
minMQS=bamMapqFilter(scanBamParam(fds)),
strandSpecific=strandSpecific(fds),
strandSpecific=strand,

# activating long read mode
isLongRead=longRead,
Expand Down

0 comments on commit c6f5c72

Please sign in to comment.