Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why is Snakemake not seeing symbol link files?

I have a rule whose output files are symbolic link files. Even though the link files are being made, Snakemake exits with a MissingOutputException and lists the output files as being missing. If instead of making a symlink with "ln -s" I copy the files with "cp -p" it works. I tried increasing the --latency-wait but it made no difference.

like image 310
tedtoal Avatar asked Oct 29 '25 09:10

tedtoal


1 Answers

Sounds like you are using relative path for source file when symlinking. Use absolute path.

like image 51
Manavalan Gajapathy Avatar answered Oct 31 '25 11:10

Manavalan Gajapathy



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!