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

Use of Cwd::abs_path breaks Galaxy wrapper by resolving symlinks #157

Open
pvanheus opened this issue Sep 10, 2021 · 0 comments
Open

Use of Cwd::abs_path breaks Galaxy wrapper by resolving symlinks #157

pvanheus opened this issue Sep 10, 2021 · 0 comments

Comments

@pvanheus
Copy link

pvanheus commented Sep 10, 2021

Shovill 1.0.9 switched to using Cwd::abs_path() instead of File::Spec->rel2abs() that was used previously. The Galaxy wrapper uses symbolic links to link the ".dat" files from the Galaxy data store to filenames used for shovill. One particular reason for this is that a number of bioinformatics tools use the file extension to "determine" if a file is compressed or not. One of these tools is kmc, used in shovill.

As detailed in this bug report, abs_path() resolves symbolic links whereas rel2abs() does not. This means that the kmc step is fed the path to the .dat filenames and fails.

I don't know the reasoning behind using abs_path (the change was made in this commit) but can it be reverted to avoid the behaviour described above?

Thanks, Peter

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

1 participant