R/convert_bam_to_json.R

Defines functions convert_bam_to_json

#+

convert_bam_to_json <- function(path, bam_dir){
  require(dplyr)
  system(paste0("/home/adam/sambamba view --nthreads=8 --format=json ", bam_dir, "/", path, " -o ", path,".json"))
  df = data_frame(path = unlist(path))
}
cgrlab/TypeSeqHPV documentation built on Jan. 11, 2023, 9:21 p.m.