-
Notifications
You must be signed in to change notification settings - Fork 10
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
Update ProphET_standalone.pl to use RealBin #39
Comments
Oddly, I think this might be related to: #38 |
I use |
Hi @tseemann, thanks for the reply! You are correct FindBin::RealScrip will follow symlinks as you would expect. However, ProphET_standalone.pl uses FindBin::Bin not FindBin::RealBin. As such it wont find the shipped GFFLib as it is looking in a path relative to the symlink not the concrete file. In ProphET_standalone.pl, change:
to:
This way you dont need to add: For the purpose of others coming across this, the following docs explain the difference https://metacpan.org/pod/FindBin::Real
I hope this helps clarify my problem :) |
Yep - i use the same system in all my tools.
|
Hi Guys, thought I would make an issue for this PR: #37
Changed GFFLib import to look in the physical location of the ProphET_standalone.pl script using FindBin::RealBin. Currently the code uses FindBin::Bin which will not follow symbolic links if, for example, you symlink /opt/prophet/ProphET_standalone.pl to: /usr/local/bin/ProphET_standalone.pl
I have checked this change with ProphET_standalone.pl -h but not much further...
Cheers,
Jon
The text was updated successfully, but these errors were encountered: