Skip to content

Commit

Permalink
fix rc assignment bug (multi-sample bambu-sc)
Browse files Browse the repository at this point in the history
  • Loading branch information
lingminhao committed Feb 17, 2025
1 parent 4725911 commit 69d2bf8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/bambu-processReads.R
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,9 @@ bambu.processReads <- function(reads, annotations, genomeSequence,
readGrgList <- do.call(c, readGrgList)
mcols(readGrgList)$id <- seq_along(readGrgList)
if(!isFALSE(demultiplexed)){
mcols(readGrgList[[i]])$sampleID <- as.numeric(mcols(readGrgList[[i]])$BC)
mcols(readGrgList)$sampleID <- as.numeric(mcols(readGrgList)$BC)
} else {
mcols(readGrgList[[i]])$sampleID <- i
mcols(readGrgList)$sampleID <- i
}
readClassList <- constructReadClasses(readGrgList, genomeSequence = genomeSequence,annotations = annotations,
stranded = stranded, min.readCount = min.readCount,
Expand Down

0 comments on commit 69d2bf8

Please sign in to comment.