Skip to content

samtools index did not end, shell script did NOT end!  #12

@houruiyan

Description

@houruiyan

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions