Hello, Thank you for your developing for this tools.
But here I cannot understand the logic behind. You set this judge sentence.
if (!all(file.exists(paste0("./temp/UB.", samples.vector, ".bam.bai")))) { write_log(stage = "samtools index", success = F) stop("samtools index did not end, shell script did NOT end!") }
I do not know why should I always run two times then it can detect the .bam.bai file ? Thanks you
Hello, Thank you for your developing for this tools.
But here I cannot understand the logic behind. You set this judge sentence.
if (!all(file.exists(paste0("./temp/UB.", samples.vector, ".bam.bai")))) { write_log(stage = "samtools index", success = F) stop("samtools index did not end, shell script did NOT end!") }I do not know why should I always run two times then it can detect the .bam.bai file ? Thanks you