-
Notifications
You must be signed in to change notification settings - Fork 45
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
Error During findorfs, the following command failed with return code 2: #250
Comments
First, you can ignore errors in run pipeline, those are cleanup steps to ensure intermediate failed outputs aren't in the way of a current run. metAMOS will ignore those failed commands and keep going. Have you modified run_pipeline_test.sh or are you using a different test script? run_pipeline_test.sh would not use Prokka. The only way to enable Prokka is to run with --isolate mode (iMetAMOS) (test cases like test_ima.sh or test_gage.sh) That said, prokka should still work on this sample. The error in FindORFS is coming from one of the Prokka subcommands. That binary (rnammer) is not packaged with Prokka and not downloaded by metAMOS so it must be installed in your path somewhere and is producing an error. It could be a version incompatible with Prokka, I would suggest removing it from your path and trying again. |
I think the problem was that I added the -W imetamos flag at the end of the initPipeline.sh line in the run_pipeline_test.sh. I removed it and ran it and it went through to the Postprocess stage now. But it still doesn’t give me the summary.html file in the Postprocess/out/html folder. The Postprocess/out/html folder has the following: Does that still mean it worked ? From: Sergey Koren [mailto:notifications@github.com] _CAUTION:_ This email is not from a BCM Source. Only click links or open attachments you know are safe. First, you can ignore errors in run pipeline, those are cleanup steps to ensure intermediate failed outputs aren't in the way of a current run. metAMOS will ignore those failed commands and keep going. Have you modified run_pipeline_test.sh or are you using a different test script? run_pipeline_test.sh would not use Prokka. The only way to enable Prokka is to run with --isolate mode (iMetAMOS) (test cases like test_ima.sh or test_gage.sh) That said, pork should still work on this sample. The error in FindORFS is coming from one of the Prokka subcommands. That binary (rnammer) is not packaged with Prokka and not downloaded by metAMOS so it must be installed in your path somewhere and is producing an error. It could be a version incompatible with Prokka, I would suggest removing it from your path and trying again. — |
Did you make sure you have perl's Statistics::Descriptive package installed (see issue #248) |
Oh yes, yes I did thanks .. I installed it using CPAN That error flag is gone now.. PHEW ! I also did download the DataAnalysis package from Roche which has newbler in it but I cannot figure out where to put the symbolic link to the executable so that the newbler warning goes away as well. The only one left then will be SignalP+ but I’m assuming both tese are optional and not critical for metAMOS or iMetAMOS to run correctly. I’m running runPipeline.py right now with a small genome that we’ve sequenced. Keeping fingers crossed. I’ll let you know what happens once it’s run through. Thanks for all your help & advice. Sabeen From: Sergey Koren [mailto:notifications@github.com] _CAUTION:_ This email is not from a BCM Source. Only click links or open attachments you know are safe. Did you make sure you have perl's Statistics::Descriptive package installed (see issue #248https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_marbl_metAMOS_issues_248&d=DQMCaQ&c=ZQs-KZ8oxEw0p81sqgiaRA&r=xtM6GPkkLyIR9otuERCXkg&m=RLEmaZlPBovuqEXV8-rgX39EMl6z4PKoAArOxxdcEvo&s=_oHHqM6Jj1Hl5usKguNCZRkAoL2jng0EPWvP8UlAWSI&e=) — |
OK the process was completed but with errors: The Postprocess/out/html directory has the following in it: [root@tcmc_sandbox2 metAMOS-1.5rc3]# ls -l /home/jspinler/iMetAMOS_initpipeline/Postprocess/out/html/ *** metAMOS running command: ln /home/jspinler/iMetAMOS_initpipeline/FunctionalAnnotation/out/ec.krona.html /home/jspinler/iMetAMOS_initpipeline/Postprocess/out/html/FunctionalAnnotation.html *** metAMOS running command: perl -I /home/AnalysisTools/metAMOS-1.5rc3/AMOS/Linux-x86_64/lib /home/AnalysisTools/metAMOS-1.5rc3/Utilities/perl/statistics.pl /home/jspinler/iMetAMOS_initpipeline/Postprocess/out/proba.scf.fa > /home/jspinler/iMetAMOS_initpipeline/Postprocess/out/html/asmstats.out Oops, MetAMOS finished with errors! see text in red above for details.
What did I do wrong ? From: Sergey Koren [mailto:notifications@github.com] _CAUTION:_ This email is not from a BCM Source. Only click links or open attachments you know are safe. Did you make sure you have perl's Statistics::Descriptive package installed (see issue #248https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_marbl_metAMOS_issues_248&d=DQMCaQ&c=ZQs-KZ8oxEw0p81sqgiaRA&r=xtM6GPkkLyIR9otuERCXkg&m=RLEmaZlPBovuqEXV8-rgX39EMl6z4PKoAArOxxdcEvo&s=_oHHqM6Jj1Hl5usKguNCZRkAoL2jng0EPWvP8UlAWSI&e=) — |
For newbler, you can add whatever direction runProject contains to your path. You can also create a folder in metAMOS named newbler/Linux-amd64/ and link newAssembly, addRun, and runProject in that folder. Your other error is an incompatible matplotlib. metAMOS requires matplotlib 1.3.0, newer versions don't work. You need to remove your system matplotlib from your python environment and let metAMOS install it's own or install 1.3.0 yourself. Alternatively, you'd have to edit the metAMOS create_plots.py code to remove the histogram creation (essentially lines 157-257) |
Thank you so very much Sergey. I removed the metplotlib directory from the python path and it WORKED !! no more errors ☺ From: Sergey Koren [mailto:notifications@github.com] _CAUTION:_ This email is not from a BCM Source. Only click links or open attachments you know are safe. For newbler, you can add whatever direction runProject contains to your path. You can also create a folder in metAMOS named newbler/Linux-amd64/ and link newAssembly, addRun, and runProject in that folder. Your other error is an incompatible matplotlib. metAMOS requires matplotlib 1.3.0, newer versions don't work. You need to remove your system matplotlib from your python environment and let metAMOS install it's own or install 1.3.0 yourself. Alternatively, you'd have to edit the metAMOS create_plots.py code to remove the histogram creation (essentially lines 157-257) — |
Hello,
So I've been trying to work through the various errors that get generated while running the ./run_pipline.test.sh
I'm attaching 3 files:
1 - FINDORFS-Errors.pdf
2 - RUNPIPELINE.log.pdf
3 - FINDORFS.log.pdf
How can I resolve this ?
Thanks a bunch
Sabeen
The text was updated successfully, but these errors were encountered: