Closed fwhelan closed 10 years ago
Hello,
can you verify that the following file is present on your system?
/home/fwhelan/software/metAMOS-1.5rc3/KronaTools/taxonomy.tab
Hi, thanks for your reply. I have /home/fwhelan/software/metAMOS-1.5rc3/KronaTools/taxonomy/taxonomy.tab
but not /home/fwhelan/software/metAMOS-1.5rc3/KronaTools/taxonomy.tab
Thanks for confirming that the file is present.
Could you also provide the output the following commands:
which ktGetLibPath
and
ktGetLibPath
That must be the problem- which ktGetLibPath
returns nothing. How do I resolve this?
First thing please try to check whether you have all these files in the directory ?
/home/fwhelan/software/metAMOS-1.5rc3/KronaTools/bin/
ktClassifyBLAST ktGetContigMagnitudes ktGetLibPath ktGetTaxIDFromGI ktImportAmphora ktImportBLAST ktImportDiskUsage ktImportEC ktImportFCP ktImportGalaxy ktImportMETAREP-BLAST ktImportMETAREP-EC ktImportMGRAST ktImportPHMMER ktImportPhymmBL ktImportRDP ktImportRDPComparison ktImportTaxonomy ktImportText ktImportXML
If not then i think you have the problem with the installation of Kronatools, and in that case you need to change your Kronatool version from the metAmos INSTALL.py script at line number 124
from kronaTools = "KronaTools-2.2" to kronaTools = "KronaTools-2.4"
Finally you rerun the metAmos INSTALL.py in your existing metAmos installation directory ....
//------------------------------------------------------------------------------------------------------------------------------ //__ If not, Try to check this folder
/home/fwhelan/software/metAMOS-1.5rc3/KronaTools/taxonomy/
and please give the name of all the files present this directory ......
hi Fiona,
That must be the problem- which ktGetLibPath returns nothing. How do I resolve this?
This was just to confirm you do not have a Krona installation outside of MetAMOS. Your ktGetLibPath should be present at:
/home/fwhelan/software/metAMOS-1.5rc3/KronaTools/bin/ktGetLibPath
MetAMOS knows about this path and found it, but it is unknown to your $PATH environment variable, explaining why it was not found with which.
This issue is proving difficult to debug as the error you are experiencing should only occur if the taxonomy.tab file is missing from /home/fwhelan/software/metAMOS-1.5rc3/KronaTools/taxonomy/.
Some additional information is required to get to the bottom of this:
Can you list the file permissions & size of your installed taxonomy.tab? As you have already confirmed taxonomy.tab is present, it is possible (although unlikely) that you do not have the necessary read permissions to open the file.
ls -la /home/fwhelan/software/metAMOS-1.5rc3/KronaTools/taxonomy/taxonomy.tab
Please add the following print statement before line 1042 in /home/fwhelan/software/metAMOS-1.5rc3/KronaTools/ lib/KronaTools.pm :
sub loadTaxonomy
{
print "$taxonomyDir/taxonomy.tab\n";
open INFO, "<$taxonomyDir/taxonomy.tab" or die
...
}
Once added, rerun MetAMOS. This will clarify where ImportKraken is expecting the taxonomy.tab file to be located on disk, which should be /home/fwhelan/software/metAMOS-1.5rc3/KronaTools/taxonomy/.
Regarding @dumaatravaie's comment, while I agree it would be helpful to confirm you have a valid KronaTools install, the Import script you are running (ImportKraken.pl) is located at:
/home/fwhelan/software/metAMOS-1.5rc3/Utilities/perl/ImportKraken.pl
But the ImportKraken.pl was found and it ran; it is returning an error as it is unable to locate/open/access your taxonomy.tab file; hopefully the previous two suggestions will help to elucidate why it is unable to locate/use the file.
-Todd
Thanks to both of you for your replies. Based on @dumaatravaie 's comment, I found I had issue #163. rm -r KronaTools/
wasn't enough, but I just finished a brand new install with the modification to INSTALL.py
listed above and I was able to pass ./run_pipeline_test.sh
, so I'll give it a go with my own data now.
Thank you both for your help!
Good afternoon,
I get an error with MetAMOS upon installation from source (as outlined here http://metamos.readthedocs.org/en/v1.5rc3/content/installation.html#automated-installation).
...
I can't install the frozen binary because, when I do, I encounter issue #147. I removed the Kronatools directory and re-installed based on advice in issue #124.
x86_64 GNU/Linux
Any advice greatly appreciated!