Skip to content

Commit

Permalink
Update strand information in read.modkit.R
Browse files Browse the repository at this point in the history
  • Loading branch information
yixuan-chen-elisa authored Apr 18, 2024
1 parent 94069c4 commit 39ac79f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/read.modkit.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ read.modkit <- function(files,
for (i in seq_along(files)){
data <- read.table(files[i], header = FALSE, sep="\t",
stringsAsFactors=FALSE, quote="")
data$V6[data$V6 == "."] <- "*"

if (length(unique(data$V4)) == 2){
gr <- GRanges(seqnames = data[data$V4 == "m", ]$V1,
Expand Down

0 comments on commit 39ac79f

Please sign in to comment.