Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
houruiyan opened this issue Jan 8, 2024 · 1 comment
Open

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

houruiyan opened this issue Jan 8, 2024 · 1 comment

Comments

@houruiyan
Copy link

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

@liaobinhong
Copy link

Hello, I meet a similar problem in the previous step.

Warning message:
In system(command = FilterBAM.command, wait = T) : error in running command
Error: FilterBAM did not end, shell script did NOT end!
Execution halted

I don't know the logic behind this error. I wonder if you meet the same problem when you run this code. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants