You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ifelse(grepl("[GACT]#",names(readGrgList[[counter]])), # a checkpoint to see whether UMI is contained in the name, with specific format BC_UMI#READNAME
mcols(readGrgList[[counter]])$BC<- case_when(grepl("^[^_]+_[^#]+#", names(readGrgList[[counter]]), perl=TRUE) ~ sub("_.*", "", names(readGrgList[[counter]])), # a checkpoint to see whether BC is contained in the name, with specific format BC_UMI#READNAME,
mcols(readGrgList[[counter]])$UMI<- case_when(grepl("^[^_]+_[^#]+#", names(readGrgList[[counter]]), perl=TRUE) ~ sub("^[^_]+_([^#]+)#.*$", "\\1", names(readGrgList[[counter]])), # a checkpoint to see whether UMI is contained in the name, with specific format BC_UMI#READNAME,
0 commit comments