-
Notifications
You must be signed in to change notification settings - Fork 1
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
There are multiple input files for each of the following file names: null, null.bai. #2
Comments
Hi @dakomura , thanks for using our pipeline, and sorry for the delay in answering. Could it be that the input file is not tab-separated (e.g., the sample and tumor columns are separated by two spaces instead of a tabulation)? That is the only way I could reproduce this error. It looks like there are too many input files named "null" and "null.bai". It is not unexpected that you would have one of each, given that there is no normal column so nextflow should create dead symlinks named "null" and "null.bai" instead, but it shouldn't raise an issue unless there is also one of the other inputs (probably the tumor column) which is also not recognized. Can you try adding a column "normal" to your input file, with any entry except "null" (for example none in each row)? This should force nextflow to name the nonexistent normal files none and none.bai and lift the error. You will then probably have another error because AMBER will miss one input file, but can you then look at the nextflow work directory of the failed job and see what is in there. Normally, you should have symbolic links to the fasta reference, fai index, tumor bam and bai, and then the invalid links none and none.bai, Whatever is not present and is replaced by a symlink named "null" should be your missing input. My guess is that it is the tumor column that is not recognized in your input file but unless there is a formatting issue, in which case the code will not find the tumor column and thus just put null for all rows, the reason escapes me... Hope that helps, and good luck! Best, Nicolas |
Hi @nalcala , Thank you for your kind reply. I'm sorry for bothering you about such a careless mistake. Best, Daisuke |
Perfect! Don't mention it, it could totally have happened to me too (probably has actually...). I will add this in the "common errors" section, others will certainly have the same issue. Best, Nicolas |
Hi there,
I tried to apply purple-nf to my WGS bam files with tumor-only mode.
But when I ran the command below, an error occurred.
The error message was as follows.
The input file list was like this.
It seems the names of the bam file were not properly processed.
How should I fix the problem?
The text was updated successfully, but these errors were encountered: