Closed maxulysse closed 4 years ago
Octopus resolves symbolic links, and since the resolved index file lives in a different directory to the reference file, you get the error. I'm unsure whether or not to change this behaviour. I've never seen a reference index file appear in a different directory to the reference file. What is your reason for this setup?
I do have a totally legitimate reason for that actually. Most of the time fasta and index is in the same place, but sometimes I only have fasta, so I automatically generate the index. And as it's done within a Nextflow process, the source file is link, so the index is created in a different folder.
Fair enough. This is a simple enough change. I'm just wondering if there are any reasons against not resolving symlinks (e.g. any performance implications). I can add a command line option either way.
Any solution would be fantastic as long as I can use it with an install from bioconda of course ;-) But I can probably help with that issue
The default behaviour for resolving symlinks was changed in 5f1990882c7da31b9c3b664e265aad0e0f501153. Use the new option --resolve-symlinks
to get previous behaviour. I believe this resolves this issue but please re-open if not.
Describe the bug Using symbolic links and Index file is not recognized. A symbolic link for the fasta and index files are in the folder, but both files are originally in different folder, and octopus seems to read the target and not the link itself.
Error message:
Command Command line to run octopus:
Desktop (please complete the following information):
Additional context