Can´t locate Kraken module
When I ran HLA Profiler for the first time I got this error message:
Can't locate /modules/RunKraken.pm in @INC (you may need to install the ::modules::RunKraken module) (@INC contains: /Users/manuel/programs/miniconda3/lib/perl5/site_perl/5.22.0/darwin-thread-multi-2level /Users/manuel/programs/miniconda3/lib/perl5/site_perl/5.22.0 /Users/manuel/programs/miniconda3/lib/perl5/5.22.0/darwin-thread-multi-2level /Users/manuel/programs/miniconda3/lib/perl5/5.22.0 .) at /Users/manuel/programs/miniconda3/lib/perl5/5.22.0/Module/Load.pm line 71.
After talking with Martin Buchkovich he thought that the program was failing to detect the HLAProfiler directory automatically and he suggested several solutions. I solved the issue by modifying the HLAProfiler.pl file, adding a line to indicate the file location. After the lines:
(my $SCRIPTS_DIR = $0) =~ s/HLAProfiler.pl//; (my $SCRIPT_NAME = $0) =~ s/.*///;
I added:
$SCRIPTS_DIR=path_to_HLAProfiler.pl
The program ran smoothly after this change.
I used a Mac with OSX El capitan, version 10.11.6