Krona icon indicating copy to clipboard operation
Krona copied to clipboard

KtImportText: Can't locate KronaTools.pm

Open Viola-TA opened this issue 2 years ago • 1 comments

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

Viola-TA avatar Sep 22 '23 06:09 Viola-TA

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

dgslos avatar Dec 22 '23 16:12 dgslos