-
Notifications
You must be signed in to change notification settings - Fork 7
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
ChildIOException: File/directory is a child to another output #29
Comments
Thank you for writing. I am adding @lassemaretty who wrote the Snakemake pipeline. Hopefully he can help. |
Any update on this? Thanks. |
Same issue for me with the snakemake workflow I'm currently writing. I never had this before, but, on the other hand, I had rarely had rules whose output was a |
@Parsoa Thank you for your patience. I have reached out to the author of the Snakemake pipeline again. He is really busy, but hopefully I will hear from him soon. |
For information, I found that my issue doesn't happen with snakemake version 5.7.4, and happens since at least version 5.8.2. I'm curious to know whether this is the same here. |
Hi blaiseli, Sorry for the late reply. I am the author of the Snakemake workflow. I am currently on leave and not able to fix the issue right now. I expect to be back in a few weeks and will take a look at your issue as soon as I am back. I am. really sorry for the inconvenience. Best, Lasse |
@lassemaretty This is not really my issue: my issue was with my own workflow, and I commented here in case it could help understanding the problem, because it looked similar. For your information, the author of snakemake just made a change that might fix the issue reported in the case of your workflow: As I understand it, now it should be OK to have a directory and some files within that directory as output of a single rule, but not OK to have the files as output of a different rule than the one having the directory as output. |
With checkpoint and output have the directory() function, I got the same error. |
I found a way to circumvent this error: Just provide your output directory as params instead of output. Then ofc you will need to create the folder if it does not exist. Additionally you will need another output file in that rule instead of the directory. |
I have installed the latest version along with all the dependencies and have configured it to test run on a single sample using all three tools (Manta, GATK, Platypus). It fails on start with the following error:
Seems like an error internal to Snakemake. I tried replacing all
mkdir
command withmkdir -p
as suggest here but no such commands are executed by the jobs in the snakefiles. Removing MantaThe text was updated successfully, but these errors were encountered: