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

KtImportText: Can't locate KronaTools.pm #187

Open
Viola-TA opened this issue Sep 22, 2023 · 1 comment
Open

KtImportText: Can't locate KronaTools.pm #187

Viola-TA opened this issue Sep 22, 2023 · 1 comment

Comments

@Viola-TA
Copy link

Hello all,

Until two days ago, I worked with Krona without any problems.
Kaiju > Kaiju2Krona > ktImportText

Then I installed a new pipeline (PhytoPipe), a pipeline with many tools, including Kaiju and Krona.

However, I would like to continue running Kaiju and Krona as standalone tools. But since I have the Piepline on my computer, KtImportText gives me an error message:

ktImportText -o /path/to/my/file.html /path/to/my/file
Can't locate KronaTools.pm: /mnt/Data3/PhytoPipe/KronaTools-2.8.1/scripts/../lib/KronaTools.pm: Permission denied at /usr/local/bin/ktImportText line 17.
BEGIN failed--compilation aborted at /usr/local/bin/ktImportText line 17.

It looks to me like KtImportText is now trying to access the new KronaTools.pm file from PhytoPipe, but it's not working. Can I somehow specify to the standalone Krona tool that it should use the original KronaTools.pm file?
Or is that not the problem at all?

Does anyone have any ideas and can help me?

Greetings
Viola

@dgslos
Copy link

dgslos commented Dec 22, 2023

Check the file permissions on /usr/local/bin/ktImportTest: ls -l /usr/local/bin/ktImportText
If it is not executable, do a chmod on /usr/local/bin/ktImportText

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

2 participants